1
0
2014-12-08 23:52:14 +00:00
committed by Git OBS Bridge
parent 1f6588ce52
commit 32a3481371
2 changed files with 11 additions and 6 deletions

View File

@@ -74,15 +74,14 @@ libnetfilter_queue has been previously known as libnfnetlink_queue.
%patch -P 1 -p1
%build
%configure --disable-static --includedir=%_includedir/%name-%version
%configure --disable-static --includedir="%_includedir/%name"
make %{?_smp_mflags} KERNELDIR="ignore";
%install
make install DESTDIR="%buildroot" KERNELDIR="ignore";
rm -f "%buildroot/%_libdir"/*.la;
%post -n %lname -p /sbin/ldconfig
%make_install KERNELDIR="ignore"
rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
@@ -91,7 +90,7 @@ rm -f "%buildroot/%_libdir"/*.la;
%files devel
%defattr(-,root,root)
%_includedir/%name-%version
%_includedir/%name/
%_libdir/libnetfilter_queue.so
%_libdir/pkgconfig/libnetfilter_queue.pc