diff --git a/.cvsignore b/.cvsignore index cbdf2aa..5f83251 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gmp-4.0.1.tar.bz2 +gmp-4.1.tar.bz2 diff --git a/gmp-4.0.1-s390.patch b/gmp-4.0.1-s390.patch new file mode 100644 index 0000000..d7520db --- /dev/null +++ b/gmp-4.0.1-s390.patch @@ -0,0 +1,12 @@ +--- gmp-4.0.1/mpn/s390/gmp-mparam.h.s390 Wed May 15 21:32:57 2002 ++++ gmp-4.0.1/mpn/s390/gmp-mparam.h Wed May 15 21:33:21 2002 +@@ -20,7 +20,8 @@ + MA 02111-1307, USA. */ + + +-/* BITS_PER_MP_LIMB etc generated by configure */ ++#define BITS_PER_MP_LIMB 32 ++#define BYTES_PER_MP_LIMB 4 + + + /* Generated by tuneup.c, 2001-09-26, gcc 2.95 */ diff --git a/gmp.spec b/gmp.spec index bd88855..1898ea9 100644 --- a/gmp.spec +++ b/gmp.spec @@ -1,9 +1,12 @@ +%define configure CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; ./configure %{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --datadir=%{_datadir} --libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir} + Summary: A GNU arbitrary precision library. Name: gmp -Version: 4.0.1 +Version: 4.1 Release: 3 URL: http://www.gnu.org/ Source: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2 +Patch: gmp-4.0.1-s390.patch Copyright: LGPL Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -36,9 +39,9 @@ install the gmp package. %prep %setup -q +%patch -p1 %build -# It's like libtoolize --copy --force, but different... %configure --enable-mpbsd make @@ -80,6 +83,21 @@ fi %{_infodir}/gmp.info* %changelog +* Mon Jul 8 2002 Trond Eivind Glomsrød 4.1-3 +- Redefine the configure macro, the included configure + script isn't happy about the rpm default one (#68190). Also, make + sure the included libtool isn't replaced, + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Sat May 25 2002 Florian La Roche +- update to version 4.1 +- patch s390 gmp-mparam.h to match other archs. + +* Thu May 23 2002 Tim Powers +- automated rebuild + * Mon Mar 11 2002 Trond Eivind Glomsrød 4.0.1-3 - Use standard %%configure macro and edit %%{_tmppath} diff --git a/sources b/sources index 8b6b888..486331a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -07c895aefa3739f25ae81ee3a2ba4d19 gmp-4.0.1.tar.bz2 +44036b3b6db9bfb70700d664d57b4907 gmp-4.1.tar.bz2