Author: pghmcfc Update of /cvs/pkgs/rpms/perl-Math-Pari/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7415 Modified Files: perl-Math-Pari.spec Log Message: Filter out unwanted provides for perl shared objects Index: perl-Math-Pari.spec =================================================================== RCS file: /cvs/pkgs/rpms/perl-Math-Pari/devel/perl-Math-Pari.spec,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- perl-Math-Pari.spec 26 Feb 2009 21:41:36 -0000 1.15 +++ perl-Math-Pari.spec 8 Mar 2009 11:57:16 -0000 1.16 @@ -17,7 +17,7 @@ Summary: Perl interface to PARI Name: perl-Math-Pari Version: %{module_version} -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ or Artistic Group: Development/Libraries Url: http://search.cpan.org/dist/Math-Pari/ @@ -27,6 +27,12 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(ExtUtils::MakeMaker) +# don't "provide" private Perl libs or the redundant unversioned perl(Math::Pari) one +%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} | %{__grep} -Fvx 'perl(Math::Pari)'" +%global __find_requires /bin/sh -c "%{__deploop R}" + %description This package is a Perl interface to the famous library PARI for numerical/ scientific/ number-theoretic calculations. It allows use of most PARI functions @@ -35,10 +41,6 @@ %prep %setup -q -n Math-Pari-%{module_version} -a 1 -# Remove redundant provides (there's also a versioned one) -%global provfilt /bin/sh -c "%{__perl_provides} | %{__grep} -Fvx 'perl(Math::Pari)'" -%define __perl_provides %{provfilt} - # Remove spurious executable permission bits %{__chmod} -x Changes README Pari.pm PariInit.pm func_codes.h Pari.xs @@ -80,10 +82,13 @@ %exclude %{_mandir}/man3/Math::libPARI.dumb.3pm* %changelog +* Sun Mar 8 2009 Paul Howarth <paul@xxxxxxxxxxxx> - 2.010801-3 +- Filter out unwanted provides for perl shared objects + * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.010801-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild -* Wed Feb 11 2009 Paul Howarth <paul@xxxxxxxxxxxx> 2.010801-1 +* Wed Feb 11 2009 Paul Howarth <paul@xxxxxxxxxxxx> - 2.010801-1 - update to 2.010801, but build with pari-2.1.7 since 2.1.8 doesn't exist (upstream forgot their own numbering convention - CPAN RT#35493) - re-enable tests -- 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