- Drop %version from the path to avoid reruns of

configure on version updates.

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnfnetlink?expand=0&rev=41
This commit is contained in:
Jan Engelhardt 2014-09-29 08:28:21 +00:00 committed by Git OBS Bridge
parent 47e8e1ac18
commit 1b9ce7bbfa
2 changed files with 8 additions and 7 deletions

View File

@ -1,8 +1,9 @@
-------------------------------------------------------------------
Tue Sep 23 15:43:40 UTC 2014 - jengelh@inai.de
Mon Sep 29 08:27:16 UTC 2014 - jengelh@inai.de
- Move include files to /usr/include/pkg, like done in many other
packages
- Move include files to /usr/include/pkg to guard against wrong
path inclusion. Drop %version from the path to avoid reruns of
configure on version updates.
-------------------------------------------------------------------
Thu Apr 24 09:54:12 UTC 2014 - dmueller@suse.com

View File

@ -63,12 +63,12 @@ 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.
%package -n %name-devel
%package devel
Requires: %libsoname = %version
Summary: Low-level library for Netfilter-related kernel/userspace communication
Group: Development/Libraries/C and C++
%description -n %name-devel
%description devel
libnfnetlink is the low-level library for netfilter related
kernel/userspace communication. It provides a generic messaging
infrastructure for in-kernel netfilter subsystems (such as
@ -86,7 +86,7 @@ libnetfilter_log, libnetfilter_queue or libnetfilter_conntrack.
if [ ! -e configure ]; then
autoreconf -fi;
fi
%configure --disable-static --includedir="%_includedir/pkg/%name-%version"
%configure --disable-static --includedir="%_includedir/pkg/%name"
make %{?_smp_mflags}
%install
@ -102,7 +102,7 @@ rm -f "%buildroot/%_libdir"/*.la;
%doc COPYING README
%_libdir/libnfnetlink.so.0*
%files -n %name-devel
%files devel
%defattr(-,root,root)
%_includedir/pkg/
%_libdir/libnfnetlink.so