rpms/perl-Module-Info/devel Module-Info-filter-provides.sh, NONE, 1.1 perl-Module-Info.spec, 1.7, 1.8
Steven Pritchard
steve at fedoraproject.org
Wed Dec 17 17:25:37 UTC 2008
- Previous message (by thread): rpms/eog/devel .cvsignore, 1.73, 1.74 eog.spec, 1.131, 1.132 sources, 1.73, 1.74
- Next message (by thread): rpms/jd/F-10 .cvsignore, 1.330, 1.331 jd.spec, 1.381, 1.382 sources, 1.331, 1.332
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: steve
Update of /cvs/pkgs/rpms/perl-Module-Info/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17786
Modified Files:
perl-Module-Info.spec
Added Files:
Module-Info-filter-provides.sh
Log Message:
BR Test::Pod::Coverage.
Filter B::Utils auto-provides.
--- NEW FILE Module-Info-filter-provides.sh ---
#!/bin/sh
@@PERL_PROV@@ "$@" | sed -e '/^perl(B::Utils)/d'
Index: perl-Module-Info.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Module-Info/devel/perl-Module-Info.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- perl-Module-Info.spec 28 Feb 2008 13:11:10 -0000 1.7
+++ perl-Module-Info.spec 17 Dec 2008 17:25:07 -0000 1.8
@@ -1,6 +1,6 @@
Name: perl-Module-Info
Version: 0.31
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Information about Perl modules
License: GPL+ or Artistic
Group: Development/Libraries
@@ -10,10 +10,15 @@
BuildArch: noarch
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(version)
Requires: perl(version)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Source99: Module-Info-filter-provides.sh
+%global real_perl_provides %{__perl_provides}
+%define __perl_provides %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-provides
+
%description
Module::Info gives you information about Perl modules without actually
loading the module. It actually isn't specific to modules and should work
@@ -22,6 +27,9 @@
%prep
%setup -q -n Module-Info-%{version}
+sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides}
+chmod +x %{__perl_provides}
+
%build
%{__perl} Build.PL installdirs=vendor
./Build
@@ -30,6 +38,7 @@
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
@@ -37,7 +46,7 @@
./Build test
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT %{__perl_provides}
%files
%defattr(-,root,root,-)
@@ -48,6 +57,10 @@
%{_mandir}/man3/*
%changelog
+* Wed Dec 17 2008 Steven Pritchard <steve at kspei.com> 0.31-4
+- BR Test::Pod::Coverage.
+- Filter B::Utils auto-provides.
+
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.31-3
- Rebuild for perl 5.10 (again)
- Previous message (by thread): rpms/eog/devel .cvsignore, 1.73, 1.74 eog.spec, 1.131, 1.132 sources, 1.73, 1.74
- Next message (by thread): rpms/jd/F-10 .cvsignore, 1.330, 1.331 jd.spec, 1.381, 1.382 sources, 1.331, 1.332
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list