Accepting request 251743 from security:netfilter

- Correct pkgconfig-assisted location of headers to match up with
  remaining packages

OBS-URL: https://build.opensuse.org/request/show/251743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnftnl?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2014-09-26 08:51:52 +00:00 committed by Git OBS Bridge
commit 23b3ded0bd
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 23 16:05:59 UTC 2014 - jengelh@inai.de
- Correct pkgconfig-assisted location of headers to match up with
remaining packages
-------------------------------------------------------------------
Fri Jun 27 15:37:24 UTC 2014 - jengelh@inai.de

View File

@ -31,6 +31,9 @@ Source2: http://netfilter.org/projects/libnftnl/files/%name-%version.tar.
Source3: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libmnl-devel >= 1.0.3
# Normally, this require would not be needed, as upstream ships all headers.
# Except when they don't and then don't bother fixing it.
BuildRequires: linux-glibc-devel >= 2.6.35
BuildRequires: pkgconfig >= 0.21
BuildRequires: xz
%if 0%{?suse_version} >= 1220
@ -82,7 +85,7 @@ applications that want to make use of libnftnl.
%if 0%{?with_json}
--with-json-parsing \
%endif
--includedir="%_includedir/pkg"
--includedir="%_includedir/pkg/%name-%version"
make %{?_smp_mflags}
%install