rpms/gmp/devel .cvsignore, 1.12, 1.13 gmp.spec, 1.40, 1.41 sources, 1.12, 1.13 gmp-4.1.4-fpu.patch, 1.1, NONE

Ivana Varekova (varekova) fedora-extras-commits at redhat.com
Mon Aug 6 13:57:10 UTC 2007


Author: varekova

Update of /cvs/pkgs/rpms/gmp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30008

Modified Files:
	.cvsignore gmp.spec sources 
Removed Files:
	gmp-4.1.4-fpu.patch 
Log Message:
- update to 4.2.1
- do some spec cleanups
- fix 238794 - gmp-devel depends on {version} but not on 
 {version}-{release}
- remove mpfr (moved to separate package)



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gmp/devel/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- .cvsignore	17 Jan 2007 18:29:12 -0000	1.12
+++ .cvsignore	6 Aug 2007 13:56:38 -0000	1.13
@@ -1,2 +1,2 @@
-gmp-4.1.4.tar.bz2
 mpfr-2.2.1.tar.bz2
+gmp-4.2.1.tar.bz2


Index: gmp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gmp/devel/gmp.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- gmp.spec	5 Jul 2007 09:59:37 -0000	1.40
+++ gmp.spec	6 Aug 2007 13:56:38 -0000	1.41
@@ -4,23 +4,18 @@
 #
 
 %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}
-%define mpfr_version 2.2.1
 
 Summary: A GNU arbitrary precision library
 Name: gmp
-Version: 4.1.4
-Release: 13
+Version: 4.2.1
+Release: 1%{dist}
 URL: http://www.swox.com/gmp/
 Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
-Source1: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
 Source2: gmp.h
 Source3: gmp-mparam.h
 Patch0: gmp-4.0.1-s390.patch
-Patch1: gmp-4.1.2-ppc64.patch
+#Patch1: gmp-4.1.2-ppc64.patch
 Patch2: gmp-4.1.2-autoconf.patch
-Patch3: gmp-4.1.4-fpu.patch
-# http://www.mpfr.org/mpfr-%{mpfr_version}/patches
-#Patch4: mpfr-%{mpfr_version}-cumulative.patch
 License: LGPL 
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -43,7 +38,7 @@
 %package devel
 Summary: Development tools for the GNU MP arbitrary precision library
 Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
 
@@ -56,19 +51,12 @@
 install the gmp package.
 
 %prep
-%setup -q -a1
+%setup -q 
 %patch0 -p1
 #patch1 -p1
 %patch2 -p1
-%patch3 -p1 -b .fpu
-#cd mpfr-%{mpfr_version}
-#%patch4 -p1
-#cd ..
 
 libtoolize --force
-aclocal-1.6 -I mpn -I mpfr
-automake-1.6
-autoconf
 
 %build
 if as --help | grep -q execstack; then
@@ -95,13 +83,6 @@
 unset CFLAGS
 cd ..
 %endif
-cd mpfr-%{mpfr_version}
-# XXX Apparently mpfr doesn't support separate build dir
-ln -s ../gmp-impl.h ../base/
-ln -s ../longlong.h ../base/
-%configure --disable-assert --with-gmp-build=`cd ../base; pwd`
-make %{?_smp_mflags}
-cd ..
 
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
@@ -129,12 +110,6 @@
 chmod 755 $RPM_BUILD_ROOT%{_libdir}/sse2/libmp.so.3
 cd ..
 %endif
-cd mpfr-%{mpfr_version}
-make install DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/libmpfr.la
-install -m 644 ../mpfrxx.h $RPM_BUILD_ROOT%{_includedir}
-rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-cd ..
 
 # Rename gmp.h to gmp-<arch>.h and gmp-mparam.h to gmp-mparam-<arch>.h to 
 # avoid file conflicts on multilib systems and install wrapper include files
@@ -165,9 +140,6 @@
 make %{?_smp_mflags} check
 cd ..
 %endif
-cd mpfr-%{mpfr_version}
-make %{?_smp_mflags} check
-cd ..
 
 %post -p /sbin/ldconfig
 
@@ -204,12 +176,17 @@
 %{_libdir}/libmp.a
 %{_libdir}/libgmp.a
 %{_libdir}/libgmpxx.a
-%{_libdir}/libmpfr.a
 %{_includedir}/*.h
 %{_infodir}/gmp.info*
-%{_infodir}/mpfr.info*
 
 %changelog
+* Mon Aug  6 2007 Ivana Varekova <varekova at redhat.com> 4.2.1-1
+- update to 4.2.1
+- do some spec cleanups
+- fix 238794 - gmp-devel depends on {version} but not on 
+  {version}-{release}
+- remove mpfr (moved to separate package)
+
 * Thu Jul 05 2007 Florian La Roche <laroche at redhat.com> 4.1.4-13
 - don't fail scripts to e.g. allow excludedocs installs
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gmp/devel/sources,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sources	17 Jan 2007 18:29:12 -0000	1.12
+++ sources	6 Aug 2007 13:56:38 -0000	1.13
@@ -1,2 +1,2 @@
-0aa7d3b3f5b5ec5951e7dddd6f65e891  gmp-4.1.4.tar.bz2
 40bf06f8081461d8db7d6f4ad5b9f6bd  mpfr-2.2.1.tar.bz2
+091c56e0e1cca6b09b17b69d47ef18e3  gmp-4.2.1.tar.bz2


--- gmp-4.1.4-fpu.patch DELETED ---




More information about the fedora-extras-commits mailing list