diff --git a/libnetfilter_acct.spec b/libnetfilter_acct.spec index dfc0936..b713c5f 100644 --- a/libnetfilter_acct.spec +++ b/libnetfilter_acct.spec @@ -65,11 +65,10 @@ Netfilter extended accounting infrastructure. make %{?_smp_mflags} %install -make install DESTDIR="%buildroot"; -rm -f "%buildroot/%_libdir"/*.la; - -%post -n %lname -p /sbin/ldconfig +%make_install +rm -f "%buildroot/%_libdir"/*.la +%post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname