From 26f0958ce8272098237285508d3b14d9fb21c6f7c94c860e6b1f6eea41c461b9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 17 Sep 2017 21:05:05 +0000 Subject: [PATCH] revert more supposed cleaning OBS-URL: https://build.opensuse.org/package/show/security:netfilter/ipset?expand=0&rev=61 --- ipset.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ipset.spec b/ipset.spec index 2b41d65..bc6504d 100644 --- a/ipset.spec +++ b/ipset.spec @@ -104,11 +104,11 @@ when matching an entry against a set. %prep %setup -q -%patch1 -p1 +%patch -P 1 -p1 %build # build wants to call modinfo at some point -export PATH="$PATH:%_prefix/sbin" +export PATH="$PATH:%_sbindir" autoreconf -fi %if 0%{?ipset_build_kmp} for flavor in %flavors_to_build; do @@ -128,7 +128,7 @@ done make %{?_smp_mflags} %install -export PATH="$PATH:%_prefix/sbin" +export PATH="$PATH:%_sbindir" b=%buildroot %if 0%{?ipset_build_kmp} for flavor in %flavors_to_build; do @@ -139,7 +139,7 @@ for flavor in %flavors_to_build; do done; %endif make %{?_smp_mflags} install DESTDIR="$b" -find %buildroot -type f -name "*.la" -delete -print +find "$b/%_libdir/" -type f -name "*.la" -delete -print %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig