rpms/perl-Math-Pari/EL-6 perl-Math-Pari.spec,1.17,1.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Math-Pari/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31643

Modified Files:
	perl-Math-Pari.spec 
Log Message:
Use standard filter macros for provides filter


Index: perl-Math-Pari.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Pari/EL-6/perl-Math-Pari.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- perl-Math-Pari.spec	26 Jul 2009 11:14:43 -0000	1.17
+++ perl-Math-Pari.spec	12 May 2010 13:49:45 -0000	1.18
@@ -17,7 +17,7 @@
 Summary:	Perl interface to PARI
 Name:		perl-Math-Pari
 Version:	%{module_version}
-Release:	4%{?dist}
+Release:	5%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Math-Pari/
@@ -27,11 +27,9 @@ BuildRoot:	%{_tmppath}/%{name}-%{version
 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}"
+# Don't "provide" private Perl libs or the redundant unversioned perl(Math::Pari)
+%filter_from_provides /^perl(Math::Pari)$/d
+%{?perl_default_filter}
 
 %description
 This package is a Perl interface to the famous library PARI for numerical/
@@ -59,8 +57,8 @@ export DLCFLAGS=-fPIC
 %{__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' -a -size 0 -exec %{__rm} -f {} ';'
-/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
-%{__chmod} -R u+w %{buildroot}/*
+/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
+%{__chmod} -R u+w %{buildroot}
 
 %check
 %{__make} test
@@ -82,6 +80,9 @@ export DLCFLAGS=-fPIC
 %exclude %{_mandir}/man3/Math::libPARI.dumb.3pm*
 
 %changelog
+* Wed May 12 2010 Paul Howarth <paul@xxxxxxxxxxxx> - 2.010801-5
+- Use standard filter macros for provides filter
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.010801-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux