From b26058ca3d8dc94ef400fdddfba686265493bb2e Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sun, 24 May 2009 01:04:19 +0000 Subject: [PATCH] - Stripping bad provides of private Perl extension libs --- perl-Devel-GlobalDestruction.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/perl-Devel-GlobalDestruction.spec b/perl-Devel-GlobalDestruction.spec index 1bd2f62..486785b 100644 --- a/perl-Devel-GlobalDestruction.spec +++ b/perl-Devel-GlobalDestruction.spec @@ -1,6 +1,6 @@ Name: perl-Devel-GlobalDestruction Version: 0.02 -Release: 4%{?dist} +Release: 5%{?dist} # see lib/Devel/GlobalDestruction.pm License: GPL+ or Artistic Group: Development/Libraries @@ -15,6 +15,12 @@ BuildRequires: perl(Scope::Guard) BuildRequires: perl(Sub::Exporter) +# don't "provide" private Perl libs +%global _use_internal_dependency_generator 0 +%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u +%global __find_provides /bin/sh -c "%{__grep} -v '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}" +%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}" + %description Perl's global destruction is a little tricky to deal with with respect to finalizers because it's not ordered and objects can sometimes disappear. @@ -57,6 +63,9 @@ rm -rf %{buildroot} %{_mandir}/man3/*.3* %changelog +* Sat May 23 2009 Chris Weyl - 0.02-5 +- Stripping bad provides of private Perl extension libs + * Thu Feb 26 2009 Fedora Release Engineering - 0.02-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild