commit 16c04603d6dbe8a95420f772414f0809fe4052f3 Author: Jason Tibbitts <tibbs@xxxxxxxxxxx> Date: Tue Jan 25 19:13:02 2011 -0600 Update to current version and clean up. - Update to current upstream version. - Use new Source0 URL. - Convert to less screamy macros. - Conform to modern packaging guidelines. .gitignore | 1 + perl-PHP-Serialization.spec | 26 +++++++++++++------------- sources | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) --- diff --git a/.gitignore b/.gitignore index b0e7afa..2981c2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ PHP-Serialization-0.27.tar.gz +/PHP-Serialization-0.34.tar.gz diff --git a/perl-PHP-Serialization.spec b/perl-PHP-Serialization.spec index f260cd1..b04bdfc 100644 --- a/perl-PHP-Serialization.spec +++ b/perl-PHP-Serialization.spec @@ -1,12 +1,11 @@ Name: perl-PHP-Serialization -Version: 0.27 -Release: 6%{?dist} +Version: 0.34 +Release: 1%{?dist} Summary: Converts between PHP's serialize() output and the equivalent Perl structure License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/PHP-Serialization/ -Source0: http://www.cpan.org/authors/id/J/JB/JBROWN/php-serialization/PHP-Serialization-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/PHP-Serialization-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -24,21 +23,16 @@ access, and vice versa. make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=%{buildroot} -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} %{buildroot}/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) %doc Changes README @@ -46,6 +40,12 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Tue Jan 25 2011 Jason L Tibbitts III <tibbs@xxxxxxxxxxx> - 0.34-1 +- Update to current upstream version. +- Use new Source0 URL. +- Convert to less screamy macros. +- Conform to modern packaging guidelines. + * Tue Dec 21 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.27-6 - 661697 rebuild for fixing problems with vendorach/lib diff --git a/sources b/sources index f5d935d..3e02586 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2fb3f63071c5c2119b4eebe39b329684 PHP-Serialization-0.27.tar.gz +333af0848ad79931875a35cc61dc22e0 PHP-Serialization-0.34.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel