[perl-Glib/el6] 1.280

Tom Callaway spot at fedoraproject.org
Wed Oct 23 17:19:24 UTC 2013


commit 130f41f9f8dd23922e11116e86852c0f7c839d7c
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Wed Oct 23 18:19:26 2013 +0100

    1.280

 perl-Glib.spec |   99 +++++++++++++++++++++++++++++++++++++++++---------------
 sources        |    2 +-
 2 files changed, 74 insertions(+), 27 deletions(-)
---
diff --git a/perl-Glib.spec b/perl-Glib.spec
index 8457cd2..2f440b7 100644
--- a/perl-Glib.spec
+++ b/perl-Glib.spec
@@ -1,21 +1,37 @@
 Name:           perl-Glib
-Version:        1.223
-Release:        1%{?dist}
+Version:        1.280
+Release:        4%{?dist}
 Summary:        Perl interface to GLib
-
 Group:          Development/Libraries
 License:        LGPLv2+
 URL:            http://search.cpan.org/dist/Glib/
-Source0:        http://www.cpan.org/authors/id/T/TS/TSCH/Glib-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+Source0:        http://www.cpan.org/authors/id/X/XA/XAOC/Glib-%{version}.tar.gz
 BuildRequires:  perl >= 2:5.8.0
 BuildRequires:  glib2-devel
-BuildRequires:  perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::Depends) >= 0.300
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::PkgConfig) >= 1.00
+BuildRequires:  perl(File::Spec)
+# Run-time
+BuildRequires:  perl(base)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(Storable)
+# Tests
+BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Tie::Hash)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+# Do not export private modules and libraries
+%{?perl_default_filter}
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(MY\\)
+
 %description
 This module provides perl access to GLib and GLib's GObject libraries.
 GLib is a portability and utility library; GObject provides a generic
@@ -25,9 +41,9 @@ that make up the Gnome environment, and are used in many unrelated
 projects.
 
 %package devel
-Summary:	Development part of Perl interface to GLib
-Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Summary:    Development part of Perl interface to GLib
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
 
 %description devel
 Development part of package perl-Glib, the Perl module providing interface
@@ -35,21 +51,17 @@ to GLib and GObject libraries.
 
 %prep
 %setup -q -n Glib-%{version}
-
-# Provides: exclude perl(MY)
-cat <<__EOF__ > %{name}-perl.prov
-#!/bin/sh
-/usr/lib/rpm/perl.prov \$* | grep -v '^perl(MY)$'
-__EOF__
-%define __perl_provides %{_builddir}/Glib-%{version}/%{name}-perl.prov
-chmod +x %{__perl_provides}
+for F in AUTHORS; do
+    iconv -f ISO-8859-1 -t UTF-8 < "$F" > "${F}.utf8"
+    touch -r "$F" "${F}.utf8"
+    mv "${F}.utf8" "$F"
+done
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
@@ -61,11 +73,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 %endif
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog.pre-git LICENSE NEWS README TODO
 %{perl_vendorarch}/auto/Glib/
 %{perl_vendorarch}/Glib*
@@ -78,9 +86,7 @@ rm -rf $RPM_BUILD_ROOT
 %exclude %{_mandir}/man3/Glib::devel.3pm.gz
 %exclude %{_mandir}/man3/Glib::xsapi.3pm.gz
 
-
 %files devel
-%defattr(-,root,root,-)
 %{perl_vendorarch}/Glib/*/*.h
 %{perl_vendorarch}/Glib/MakeHelper.pm
 %{perl_vendorarch}/Glib/devel.pod
@@ -89,8 +95,49 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/Glib::devel.3pm.gz
 %{_mandir}/man3/Glib::xsapi.3pm.gz
 
-
 %changelog
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.280-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Jul 18 2013 Petr Pisar <ppisar at redhat.com> - 1.280-3
+- Perl 5.18 rebuild
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.280-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Mon Dec 10 2012 Tom Callaway <spot at fedoraproject.org> - 1.280-1
+- update to 1.280
+
+* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.260-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Thu Jun 21 2012 Petr Pisar <ppisar at redhat.com> - 1.260-2
+- Perl 5.16 rebuild
+
+* Wed Jun 20 2012 Petr Pisar <ppisar at redhat.com> - 1.260-1
+- 1.260 bump
+
+* Tue Jun 12 2012 Petr Pisar <ppisar at redhat.com> - 1.241-4
+- Perl 5.16 rebuild
+
+* Thu May 31 2012 Petr Pisar <ppisar at redhat.com> - 1.241-3
+- Do not export private modules and libraries
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.241-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Nov 23 2011 Tom Callaway <spot at fedoraproject.org> - 1.241-1
+- update to 1.241
+
+* Thu Oct 20 2011 Tom Callaway <spot at fedoraproject.org> - 1.240-1
+- update to 1.240
+
+* Sun Jun 19 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.223-3
+- Perl mass rebuild
+
+* Thu Dec 16 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.223-2
+- 661697 rebuild for fixing problems with vendorach/lib
+
 * Thu Jul 01 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 1.223-1
 - update to 1.223
 
diff --git a/sources b/sources
index 5bad526..0fe6735 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cfdeaa8c95448f86c30b505e4701abf1  Glib-1.223.tar.gz
+1d81a8aec5f7f1182a96cfaaf119d866  Glib-1.280.tar.gz


More information about the scm-commits mailing list