- Stripping bad provides of private Perl extension libs

This commit is contained in:
Chris Weyl 2009-05-24 01:04:19 +00:00
parent da269df46d
commit b26058ca3d

View File

@ -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 <cweyl@alumni.drew.edu> - 0.02-5
- Stripping bad provides of private Perl extension libs
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild