Run fdupes
OBS-URL: https://build.opensuse.org/package/show/science/flint?expand=0&rev=5
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user