rpms/perl-Math-Pari/devel .cvsignore, 1.6, 1.7 perl-Math-Pari.spec, 1.13, 1.14 sources, 1.6, 1.7

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

 



Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Math-Pari/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1786

Modified Files:
	.cvsignore perl-Math-Pari.spec sources 
Log Message:
- 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
- drop patch for perl 5.10, no longer needed
- remove spurious exec bits on files in upstream distribution



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Pari/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	27 Oct 2006 14:00:20 -0000	1.6
+++ .cvsignore	11 Feb 2009 10:49:21 -0000	1.7
@@ -1,2 +1,2 @@
-Math-Pari-2.010709.tar.gz
+Math-Pari-2.010801.tar.gz
 pari-2.1.7.tgz


Index: perl-Math-Pari.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Pari/devel/perl-Math-Pari.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- perl-Math-Pari.spec	7 Mar 2008 20:58:56 -0000	1.13
+++ perl-Math-Pari.spec	11 Feb 2009 10:49:21 -0000	1.14
@@ -7,20 +7,22 @@
 # (c)	Functionality is lost if built against an external PARI library
 #	(see the INSTALL file in the distribution)
 
+# The perl module version used to indicate the latest PARI version that
+# it was tested against, but due to an oversight 2.010800 was released
+# and broke the numbering scheme, so we need to hardcode both version
+# numbers from now on (see CPAN RT#35493)
+%define module_version	2.010801
+%define pari_version	2.1.7
+
 Summary:	Perl interface to PARI
 Name:		perl-Math-Pari
-Version:	2.010709
-# You'll need to replace pariversion with a hardcoded version number if you're
-# testing with a development version of PARI, as this expression evaluates
-# the latest version of GP/PARI the perl module was tested with.
-%define pariversion %(echo %{version} | %{__perl} -pi -e 's/(\\d+)\\.(\\d\\d)(\\d\\d).*/sprintf("%d.%d.%d",$1,$2,$3)/e')
-Release:	7%{?dist}
+Version:	%{module_version}
+Release:	1%{?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}.tar.gz
-Source1:	http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/pari-%{pariversion}.tgz
-Patch0:		Math-Pari-2.010709-perl510.patch
+Source0:	http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/Math-Pari-%{module_version}.tar.gz
+Source1:	http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/pari-%{pari_version}.tgz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildRequires:	perl(ExtUtils::MakeMaker)
@@ -31,13 +33,15 @@
 as Perl functions, and (almost) seamless merging of PARI and Perl data.
 
 %prep
-%setup -q -n Math-Pari-%{version} -a 1
-%patch0 -p1
+%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
+
 %build
 # machine=linux-none needed to avoid breakage of 64-bit builds
 # other flags cribbed from pari.spec (#169703)
@@ -48,9 +52,6 @@
 	machine=none
 %{__make} %{?_smp_mflags}
 
-%check
-# %{__make} test
-
 %install
 %{__rm} -rf %{buildroot}
 %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
@@ -59,6 +60,9 @@
 /usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
 %{__chmod} -R u+w %{buildroot}/*
 
+%check
+%{__make} test
+
 %clean
 %{__rm} -rf %{buildroot}
 
@@ -76,6 +80,13 @@
 %exclude %{_mandir}/man3/Math::libPARI.dumb.3pm*
 
 %changelog
+* 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
+- drop patch for perl 5.10, no longer needed
+- remove spurious exec bits on files in upstream distribution
+
 * Fri Mar  7 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 2.010709-7
 - disable tests, they're being weird in the buildservers
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Pari/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	27 Oct 2006 14:00:20 -0000	1.6
+++ sources	11 Feb 2009 10:49:21 -0000	1.7
@@ -1,2 +1,2 @@
-58fdea358b37d00072723bd9cd69ce9e  Math-Pari-2.010709.tar.gz
+c0628a5ad79a53a22188aca476ea45ce  Math-Pari-2.010801.tar.gz
 357b7a42e89e2761a5367bbcbfcca5f2  pari-2.1.7.tgz

--
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

[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