forked from pool/libnl3
Avoid use of autoreconf; properly call fdupes
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnl3?expand=0&rev=49
This commit is contained in:
parent
7bdc712793
commit
9b13f1dc30
@ -32,11 +32,8 @@ Url: http://www.carisma.slowglass.com/~tgr/libnl/
|
||||
Source: libnl-%version.tar.xz
|
||||
Source2: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex >= 2.5.19
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
BuildRequires: python-devel >= 2.6
|
||||
BuildRequires: xz
|
||||
@ -109,7 +106,6 @@ tar -xf "%{S:0}" --use=xz;
|
||||
%endif
|
||||
|
||||
%build
|
||||
autoreconf -fi;
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags} pkglibdir="%_libdir/%lname"
|
||||
|
||||
@ -121,7 +117,7 @@ find "$b" -iname "*.la" -delete;
|
||||
rm -Rf "$b/%_sysconfdir/libnl";
|
||||
rm -Rf "$b/%_sbindir" "$b/%_mandir/man8";
|
||||
%endif
|
||||
%if "%{?fudes:1}"
|
||||
%if 0%{?fdupes:1}
|
||||
%fdupes %buildroot/%_prefix
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user