Separate includedir
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnfnetlink?expand=0&rev=16
This commit is contained in:
parent
032ac4350f
commit
0a75e1137d
@ -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
|
Tue Nov 22 15:18:35 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
@ -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
|
It is only used by other netfilter.org projects, such as
|
||||||
libnetfilter_log, libnetfilter_queue or libnetfilter_conntrack.
|
libnetfilter_log, libnetfilter_queue or libnetfilter_conntrack.
|
||||||
|
|
||||||
%define debug_package_requires %libsoname = %version-%release
|
|
||||||
|
|
||||||
%package -n %libsoname
|
%package -n %libsoname
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Low-level library for Netfilter-related kernel/userspace communication
|
Summary: Low-level library for Netfilter-related kernel/userspace communication
|
||||||
@ -90,9 +88,9 @@ tar -xf "%{S:0}" --use=xz;
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
if [ ! -e configure ]; then
|
||||||
./autogen.sh
|
autoreconf -fi;
|
||||||
fi
|
fi
|
||||||
%configure --disable-static
|
%configure --disable-static --includedir=%_includedir/%name-%version
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -110,7 +108,7 @@ find %buildroot -name "*.la" -delete
|
|||||||
|
|
||||||
%files -n %name-devel
|
%files -n %name-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_includedir/libnfnetlink
|
%_includedir/*nfnetlink*
|
||||||
%_libdir/libnfnetlink.so
|
%_libdir/libnfnetlink.so
|
||||||
%_libdir/pkgconfig/libnfnetlink.pc
|
%_libdir/pkgconfig/libnfnetlink.pc
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user