[perl-Sub-WrapPackages] Correctly filter perl(lib) and clean up spec file
Emmanuel Seyman
eseyman at fedoraproject.org
Sun Jan 29 11:04:27 UTC 2012
commit 0984b03ba7c3dada4ee2821e6693c8f73f399f63
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date: Sun Jan 29 12:04:22 2012 +0100
Correctly filter perl(lib) and clean up spec file
perl-Sub-WrapPackages.spec | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/perl-Sub-WrapPackages.spec b/perl-Sub-WrapPackages.spec
index 68dac98..666bcc4 100644
--- a/perl-Sub-WrapPackages.spec
+++ b/perl-Sub-WrapPackages.spec
@@ -1,12 +1,11 @@
Name: perl-Sub-WrapPackages
Version: 2.0
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Add wrappers around all the subroutines in packages
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Sub-WrapPackages/
Source0: http://www.cpan.org/authors/id/D/DC/DCANTRELL/Sub-WrapPackages-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Hook::LexWrap)
@@ -15,8 +14,8 @@ BuildRequires: perl(Sub::Prototype)
BuildRequires: perl(Devel::Caller::IgnoreNamespaces)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-%filter_from_provides /perl(lib)/d;
%{?perl_default_filter}
+%global __provides_exclude %{?__provides_exclude}|perl\\(lib\\)
%description
This is mostly a wrapper around Damian Conway's Hook::LexWrap module. This
@@ -31,8 +30,6 @@ choice.
make %{?_smp_mflags}
%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 {} \;
@@ -43,16 +40,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Sun Jan 29 2012 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 2.0-8
+- Correctly filter perl(lib)
+- Clean up spec file
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the perl-devel
mailing list