[perl-Math-Pari] Spec clean-up

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

 



commit ac54bd86a508f286765469feca10e9994d2fc940
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Thu Jan 12 13:26:11 2012 +0000

    Spec clean-up
    
    - Update pari source URL to reflect that we're using an OLD version
    - Add buildreqs for perl core modules, which might be dual-lived
    - Rewrite provides filter for rpm-4.9 compatibility
    - Rename patches to strip 'perl-' prefix

 ... => Math-Pari-2.010802-docs-and-testsuite.patch |    0
 ...tch => Math-Pari-2.010802-no-fake-version.patch |    0
 ...Math-Pari-2.01080604-extra-stack-for-test.patch |    0
 perl-Math-Pari.spec                                |   23 +++++++++++++-------
 4 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/perl-Math-Pari-2.010802-docs-and-testsuite.patch b/Math-Pari-2.010802-docs-and-testsuite.patch
similarity index 100%
rename from perl-Math-Pari-2.010802-docs-and-testsuite.patch
rename to Math-Pari-2.010802-docs-and-testsuite.patch
diff --git a/perl-Math-Pari-2.010802-no-fake-version.patch b/Math-Pari-2.010802-no-fake-version.patch
similarity index 100%
rename from perl-Math-Pari-2.010802-no-fake-version.patch
rename to Math-Pari-2.010802-no-fake-version.patch
diff --git a/perl-Math-Pari-2.01080604-extra-stack-for-test.patch b/Math-Pari-2.01080604-extra-stack-for-test.patch
similarity index 100%
rename from perl-Math-Pari-2.01080604-extra-stack-for-test.patch
rename to Math-Pari-2.01080604-extra-stack-for-test.patch
diff --git a/perl-Math-Pari.spec b/perl-Math-Pari.spec
index 98a55e5..1e43002 100644
--- a/perl-Math-Pari.spec
+++ b/perl-Math-Pari.spec
@@ -15,25 +15,26 @@
 Summary:	Perl interface to PARI
 Name:		perl-Math-Pari
 Version:	2.010806
-Release:	11%{?dist}
+Release:	12%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Math-Pari/
 Source0:	http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/Math-Pari-%{version}%{extraversion}.tar.gz
-Source1:	http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-%{pari_version}.tar.gz
-Patch0:		perl-Math-Pari-2.010802-no-fake-version.patch
-Patch1:		perl-Math-Pari-2.010802-docs-and-testsuite.patch
-Patch2:		perl-Math-Pari-2.01080604-extra-stack-for-test.patch
-Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Source1:	http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/pari-%{pari_version}.tar.gz
+Patch0:		Math-Pari-2.010802-no-fake-version.patch
+Patch1:		Math-Pari-2.010802-docs-and-testsuite.patch
+Patch2:		Math-Pari-2.01080604-extra-stack-for-test.patch
+BuildRequires:	perl(DynaLoader)
+BuildRequires:	perl(Exporter)
 BuildRequires:	perl(ExtUtils::MakeMaker)
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 # Enforce dependency against same version of pari that we're built for
 BuildRequires:	pari-devel = %{pari_version}
 Requires:	pari%{?_isa} = %{pari_version}
 
 # Don't "provide" private Perl libs or the redundant unversioned perl(Math::Pari)
-%filter_from_provides /^perl(Math::Pari)$/d
-%{?perl_default_filter}
+%global __provides_exclude ^(perl\\(Math::Pari\\)$|Pari\\.so)
 
 %description
 This package is a Perl interface to the famous library PARI for numerical/
@@ -89,6 +90,12 @@ make test
 %exclude %{_mandir}/man3/Math::libPARI.dumb.3pm*
 
 %changelog
+* Thu Jan 12 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 2.010806-12
+- Update pari source URL to reflect that we're using an OLD version
+- Add buildreqs for perl core modules, which might be dual-lived
+- Rewrite provides filter for rpm-4.9 compatibility
+- Rename patches to strip 'perl-' prefix
+
 * Wed Jun 15 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 2.010806-11
 - Perl 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