2014-10-11 19:40:32 +00:00
committed by Git OBS Bridge
parent fc45c24496
commit c4c31ed376
+3 -1
View File
@@ -32,6 +32,7 @@ Patch1: 0001-build-provide-autotools-files.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libmpir-devel
BuildRequires: libtool
@@ -76,13 +77,14 @@ developing against the FLINT library.
chmod a+x *.sh;
./autogen.sh;
export CFLAGS="%optflags -mno-popcnt"
%configure --disable-static --with-ntl --enable-reentrant
%configure --disable-static --with-ntl --enable-reentrant --enable-silent-rules
make %{?_smp_mflags}
%install
b="%buildroot";
make install DESTDIR="$b"
rm -f "$b/%_libdir"/*.la
%fdupes %buildroot/%_prefix
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig