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
|
Source: libnl-%version.tar.xz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex >= 2.5.19
|
BuildRequires: flex >= 2.5.19
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: pkgconfig >= 0.21
|
BuildRequires: pkgconfig >= 0.21
|
||||||
BuildRequires: python-devel >= 2.6
|
BuildRequires: python-devel >= 2.6
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
@ -109,7 +106,6 @@ tar -xf "%{S:0}" --use=xz;
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi;
|
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags} pkglibdir="%_libdir/%lname"
|
make %{?_smp_mflags} pkglibdir="%_libdir/%lname"
|
||||||
|
|
||||||
@ -121,7 +117,7 @@ find "$b" -iname "*.la" -delete;
|
|||||||
rm -Rf "$b/%_sysconfdir/libnl";
|
rm -Rf "$b/%_sysconfdir/libnl";
|
||||||
rm -Rf "$b/%_sbindir" "$b/%_mandir/man8";
|
rm -Rf "$b/%_sbindir" "$b/%_mandir/man8";
|
||||||
%endif
|
%endif
|
||||||
%if "%{?fudes:1}"
|
%if 0%{?fdupes:1}
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user