Author: pghmcfc Update of /cvs/pkgs/rpms/perl-Digest-MD4/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5712 Modified Files: perl-Digest-MD4.spec Log Message: Filter out unwanted provides for perl shared objects Index: perl-Digest-MD4.spec =================================================================== RCS file: /cvs/pkgs/rpms/perl-Digest-MD4/devel/perl-Digest-MD4.spec,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- perl-Digest-MD4.spec 26 Feb 2009 15:23:33 -0000 1.8 +++ perl-Digest-MD4.spec 7 Mar 2009 20:31:11 -0000 1.9 @@ -1,6 +1,6 @@ Name: perl-Digest-MD4 Version: 1.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Perl interface to the MD4 Algorithm Group: Development/Libraries License: GPL+ or Artistic @@ -10,6 +10,12 @@ BuildRequires: perl(ExtUtils::MakeMaker), db4-devel, gdbm-devel Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# 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 The Digest::MD4 module allows you to use the RSA Data Security Inc. MD4 Message Digest algorithm from within Perl programs. The algorithm takes as input a @@ -28,7 +34,7 @@ %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} /usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';' /usr/bin/find %{buildroot} -type f -name '*.bs' -empty -exec %{__rm} -f {} ';' -/usr/bin/find %{buildroot} -depth -type d -exec %{__rmdir} {} 2>/dev/null ';' +/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';' %{__chmod} -R u+w %{buildroot}/* %check @@ -45,6 +51,9 @@ %{_mandir}/man3/*.3pm* %changelog +* Sat Mar 7 2009 Paul Howarth <paul@xxxxxxxxxxxx> - 1.5-8 +- Filter out unwanted provides for perl shared objects + * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list