Author: iburrell Update of /cvs/pkgs/rpms/perl-CPANPLUS/EL-5 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13362 Modified Files: .cvsignore perl-CPANPLUS.spec sources Added Files: CPANPLUS-filter-provides.sh Log Message: copy from F-8 --- NEW FILE CPANPLUS-filter-provides.sh --- #!/bin/sh @@PERL_PROV@@ "$@" | sed -e '/^perl(Log::Message::Handlers)$/d' Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-CPANPLUS/EL-5/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- .cvsignore 17 Oct 2006 00:07:26 -0000 1.5 +++ .cvsignore 22 Sep 2008 21:03:06 -0000 1.6 @@ -1 +1 @@ -CPANPLUS-0.076.tar.gz +CPANPLUS-0.82.tar.gz Index: perl-CPANPLUS.spec =================================================================== RCS file: /cvs/pkgs/rpms/perl-CPANPLUS/EL-5/perl-CPANPLUS.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- perl-CPANPLUS.spec 30 Jan 2007 15:37:23 -0000 1.6 +++ perl-CPANPLUS.spec 22 Sep 2008 21:03:06 -0000 1.7 @@ -1,6 +1,6 @@ Name: perl-CPANPLUS -Version: 0.076 -Release: 2%{?dist} +Version: 0.82 +Release: 1%{?dist} Summary: API & CLI access to the CPAN mirrors License: GPL or Artistic Group: Development/Libraries @@ -9,6 +9,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Archive::Extract) >= 0.07 +BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Fetch) >= 0.07 BuildRequires: perl(IPC::Cmd) >= 0.24 BuildRequires: perl(IPC::Run) >= 0.79 @@ -21,8 +22,13 @@ BuildRequires: perl(Object::Accessor) >= 0.03 BuildRequires: perl(Params::Check) >= 0.22 BuildRequires: perl(Term::UI) >= 0.05 -%{?_with_check:BuildRequires: perl(Package::Constants)} +%{?_with_check:BuildRequires: perl(Archive::Tar) >= 1.23} +%{?_with_check:BuildRequires: perl(IO::Zlib) >= 1.04} %{?_with_check:BuildRequires: perl(Module::CoreList)} +%{?_with_check:BuildRequires: perl(Package::Constants)} +%{?_with_check:BuildRequires: perl(Test::Harness)} +%{?_with_check:BuildRequires: perl(Test::More) >= 0.47} +%{?_with_check:BuildRequires: perl(version)} Requires: perl(IPC::Run) >= 0.79 Requires: perl(Module::Pluggable) >= 2.4 Requires: perl(Module::CoreList) @@ -32,6 +38,10 @@ %global real_perl_requires %{__perl_requires} %define __perl_requires %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-requires +Source99: CPANPLUS-filter-provides.sh +%global real_perl_provides %{__perl_provides} +%define __perl_provides %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-provides + %description The CPANPLUS library is an API to the CPAN mirrors and a collection of interactive shells, commandline programs, etc, that use this API. @@ -42,10 +52,13 @@ sed -e 's,@@PERL_REQ@@,%{real_perl_requires},' %{SOURCE98} > %{__perl_requires} chmod +x %{__perl_requires} +sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides} +chmod +x %{__perl_provides} + perl -pi -e 'print "#!/usr/bin/perl\n\n" if ($. == 1)' bin/cpanp-run-perl %build -%{__perl} Makefile.PL INSTALLDIRS=vendor AUTOINSTALL=1 +%{__perl} Makefile.PL INSTALLDIRS=vendor #AUTOINSTALL=1 make %{?_smp_mflags} %install @@ -54,7 +67,6 @@ 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 -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* @@ -63,7 +75,7 @@ %{?_with_check:make test} %clean -rm -rf $RPM_BUILD_ROOT %{__perl_requires} +rm -rf $RPM_BUILD_ROOT %{__perl_requires} %{__perl_provides} %files %defattr(-,root,root,-) @@ -74,6 +86,20 @@ %{_mandir}/man3/* %changelog +* Thu Aug 23 2007 Steven Pritchard <steve@xxxxxxxxx> 0.82-1 +- Update to 0.82. + +* Tue Jun 26 2007 Steven Pritchard <steve@xxxxxxxxx> 0.80-1 +- Update to 0.80. +- BR Test::Harness, Test::More, and version when running tests. + +* Wed Apr 04 2007 Steven Pritchard <steve@xxxxxxxxx> 0.78-1 +- Update to 0.78. +- BR Archive::Tar, ExtUtils::MakeMaker, and IO::Zlib. +- Drop the AUTOINSTALL=1. It isn't necessary anymore. +- Drop the find -size 0. That shouldn't be necessary for noarch packages. +- Filter out Log::Message::Handlers auto-provides. + * Tue Jan 30 2007 Steven Pritchard <steve@xxxxxxxxx> 0.076-2 - Add missing explicit dependencies on IPC::Run, Module::CoreList, and Module::Pluggable (#225357). Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-CPANPLUS/EL-5/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 17 Oct 2006 00:07:26 -0000 1.5 +++ sources 22 Sep 2008 21:03:06 -0000 1.6 @@ -1 +1 @@ -a301bb6240ded8eea9f33ce7c8f969fb CPANPLUS-0.076.tar.gz +370acee7b7538c4ca85d3dc3c199ad90 CPANPLUS-0.82.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list