Fix bad auto-provides of private Perl extension libs

This commit is contained in:
Chris Weyl 2009-03-27 04:54:12 +00:00
parent e5c25f6d93
commit eea77853b2
1 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: perl-Devel-LexAlias
Version: 0.04
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Alias lexical variables
License: GPL+ or Artistic
Group: Development/Libraries
@ -13,6 +13,12 @@ BuildRequires: perl(Devel::Caller) >= 0.03
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
# 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 '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
%global __find_requires /bin/sh -c "%{__deploop R}"
%description
Devel::LexAlias provides the ability to alias a lexical variable in a
subroutines scope to one of your choosing.
@ -51,6 +57,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
* Thu Mar 26 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-4
- Stripping bad provides of private Perl extension libs
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild