- spec file cleanup (#253439)

This commit is contained in:
Ivana Varekova 2007-08-20 07:55:22 +00:00
parent a59e78a306
commit 7aeebd539f

View File

@ -8,18 +8,17 @@
Summary: A GNU arbitrary precision library Summary: A GNU arbitrary precision library
Name: gmp Name: gmp
Version: 4.2.1 Version: 4.2.1
Release: 2%{dist} Release: 3%{dist}
URL: http://gmplib.org/ URL: http://gmplib.org/
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2 Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
Source2: gmp.h Source2: gmp.h
Source3: gmp-mparam.h Source3: gmp-mparam.h
Patch0: gmp-4.0.1-s390.patch Patch0: gmp-4.0.1-s390.patch
#Patch1: gmp-4.1.2-ppc64.patch
Patch2: gmp-4.1.2-autoconf.patch Patch2: gmp-4.1.2-autoconf.patch
License: LGPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: automake16 autoconf libtool BuildRequires: autoconf libtool
Requires(post): /sbin/ldconfig Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig Requires(postun): /sbin/ldconfig
@ -53,7 +52,6 @@ install the gmp package.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
#patch1 -p1
%patch2 -p1 %patch2 -p1
libtoolize --force libtoolize --force
@ -85,7 +83,7 @@ cd ..
%endif %endif
%install %install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
cd base cd base
export LD_LIBRARY_PATH=`pwd`/.libs export LD_LIBRARY_PATH=`pwd`/.libs
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
@ -184,6 +182,9 @@ exit 0
%{_infodir}/gmp.info* %{_infodir}/gmp.info*
%changelog %changelog
* Mon Aug 20 2007 Ivana Varekova <varekova@redhat.com> 4.2.1-3
- spec file cleanup (#253439)
* Tue Aug 7 2007 Ivana Varekova <varekova@redhat.com> 4.2.1-2 * Tue Aug 7 2007 Ivana Varekova <varekova@redhat.com> 4.2.1-2
- add arm support (#245456) - add arm support (#245456)
thanks to Lennert Buytenhek thanks to Lennert Buytenhek