Jan Engelhardt 2011-12-29 20:55:23 +00:00 committed by Git OBS Bridge
parent 032ac4350f
commit 0a75e1137d
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 29 20:50:58 UTC 2011 - jengelh@medozas.de
- Use separate include dir to detect compile errors
-------------------------------------------------------------------
Tue Nov 22 15:18:35 UTC 2011 - jengelh@medozas.de

View File

@ -47,8 +47,6 @@ This library is not meant as a public API for application developers.
It is only used by other netfilter.org projects, such as
libnetfilter_log, libnetfilter_queue or libnetfilter_conntrack.
%define debug_package_requires %libsoname = %version-%release
%package -n %libsoname
Group: System/Libraries
Summary: Low-level library for Netfilter-related kernel/userspace communication
@ -90,9 +88,9 @@ tar -xf "%{S:0}" --use=xz;
%build
if [ ! -e configure ]; then
./autogen.sh
autoreconf -fi;
fi
%configure --disable-static
%configure --disable-static --includedir=%_includedir/%name-%version
make %{?_smp_mflags}
%install
@ -110,7 +108,7 @@ find %buildroot -name "*.la" -delete
%files -n %name-devel
%defattr(-,root,root)
%_includedir/libnfnetlink
%_includedir/*nfnetlink*
%_libdir/libnfnetlink.so
%_libdir/pkgconfig/libnfnetlink.pc