Author: iarnell Update of /cvs/pkgs/rpms/perl-Data-Dump-Streamer/devel In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29705 Modified Files: .cvsignore perl-Data-Dump-Streamer.spec sources Log Message: * Mon Jun 14 2010 Iain Arnell <iarnell@xxxxxxxxx> 2.18-1 - update to latest upstream - convert to Module::Build - use filtering macros Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-Data-Dump-Streamer/devel/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- .cvsignore 6 Apr 2010 14:28:03 -0000 1.5 +++ .cvsignore 14 Jun 2010 15:37:04 -0000 1.6 @@ -1 +1 @@ -Data-Dump-Streamer-2.13.tar.gz +Data-Dump-Streamer-2.18.tar.gz Index: perl-Data-Dump-Streamer.spec =================================================================== RCS file: /cvs/pkgs/rpms/perl-Data-Dump-Streamer/devel/perl-Data-Dump-Streamer.spec,v retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- perl-Data-Dump-Streamer.spec 30 Apr 2010 13:31:03 -0000 1.9 +++ perl-Data-Dump-Streamer.spec 14 Jun 2010 15:37:04 -0000 1.10 @@ -1,26 +1,30 @@ Name: perl-Data-Dump-Streamer -Version: 2.13 -Release: 2%{?dist} +Version: 2.18 +Release: 1%{?dist} Summary: Accurately serialize a data structure as Perl code License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Data-Dump-Streamer/ -Source0: http://search.cpan.org/CPAN/authors/id/J/JJ/JJORE/Data-Dump-Streamer-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/J/JJ/JJORE/Data-Dump-Streamer-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: perl(B::Utils) >= 0.05 +BuildRequires: perl(Algorithm::Diff) +BuildRequires: perl(B::Utils) BuildRequires: perl(Compress::Zlib) -BuildRequires: perl(Data::Dumper) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(MIME::Base64) -BuildRequires: perl(PadWalker) +BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(Module::Build) +BuildRequires: perl(PadWalker) >= 0.99 BuildRequires: perl(Test::More) BuildRequires: perl(Text::Balanced) -Requires: perl(B::Utils) >= 0.05 Requires: perl(Compress::Zlib) -Requires: perl(MIME::Base64) -Requires: perl(PadWalker) +Requires: perl(PadWalker) >= 0.99 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%{?perl_default_filter: +%filter_from_requires /::_::/d +%filter_from_provides /::_::/d +%perl_default_filter} + %description Given a list of scalars or reference variables, writes out their contents in perl syntax. The references can also be objects. The contents of each @@ -32,41 +36,21 @@ output correctly. %setup -q -n Data-Dump-Streamer-%{version} find . -type f | xargs chmod -x -# Strip out private provides/requires -cat << \EOF > %{name}-prov -#!/bin/sh -%{__perl_provides} $* |\ -sed -e '/perl(Data::Dump::Streamer::_::/d' -EOF -%define __perl_provides %{_builddir}/Data-Dump-Streamer-%{version}/%{name}-prov -chmod +x %{__perl_provides} - -cat << \EOF > %{name}-req -#!/bin/sh -%{__perl_requires} $* |\ -sed -e '/perl(Data::Dump::Streamer::_::/d' -EOF -%define __perl_requires %{_builddir}/Data-Dump-Streamer-%{version}/%{name}-req -chmod +x %{__perl_requires} - - %build -%{__perl} Makefile.PL NODDS INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" -make %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" +./Build %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 {} \; +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check -make test +./Build test %clean rm -rf $RPM_BUILD_ROOT @@ -79,8 +63,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog -* Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 2.13-2 -- Mass rebuild with perl-5.12.0 +* Mon Jun 14 2010 Iain Arnell <iarnell@xxxxxxxxx> 2.18-1 +- update to latest upstream +- convert to Module::Build +- use filtering macros * Tue Apr 06 2010 Iain Arnell <iarnell@xxxxxxxxx> 2.13-1 - update to latest upstream Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-Data-Dump-Streamer/devel/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- sources 6 Apr 2010 14:28:04 -0000 1.5 +++ sources 14 Jun 2010 15:37:04 -0000 1.6 @@ -1 +1 @@ -f42763c5a704440d6e9043ce318ac93d Data-Dump-Streamer-2.13.tar.gz +78caf536f7bbc885e89074c63a70383b Data-Dump-Streamer-2.18.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