forked from pool/libnetfilter_queue
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_queue?expand=0&rev=39
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user