SHA256
1
0
forked from pool/libnftnl

- Update to new upstream release 1.1.2

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnftnl?expand=0&rev=36
This commit is contained in:
2018-11-13 14:08:24 +00:00
committed by Git OBS Bridge
parent 3a560f78de
commit ca27c3e687
7 changed files with 18 additions and 41 deletions

View File

@@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libnftnl
%define lname libnftnl7
Version: 1.1.1
%define lname libnftnl11
Version: 1.1.2
Release: 0
Summary: Userspace library to access the nftables Netlink interface
License: GPL-2.0-or-later
@@ -28,11 +28,9 @@ Url: http://netfilter.org/projects/libnftnl/
#Git-Clone: git://git.netfilter.org/libnftnl
Source: http://ftp.netfilter.org/pub/libnftnl/%name-%version.tar.bz2
Source2: http://ftp.netfilter.org/pub/libnftnl/%name-%version.tar.bz2.sig
Patch1: bufferov.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig >= 0.21
BuildRequires: xz
BuildRequires: pkgconfig(jansson) >= 2.3
BuildRequires: pkgconfig(libmnl) >= 1.0.3
%description
@@ -61,11 +59,9 @@ applications that want to make use of libnftnl.
%prep
%setup -q
%patch -P 1 -p1
%build
%configure --with-xml-parsing --with-json-parsing \
--includedir="%_includedir/%name"
%configure --with-xml-parsing --includedir="%_includedir/%name"
make %{?_smp_mflags}
%install
@@ -77,7 +73,7 @@ rm -f "%buildroot/%_libdir"/*.la
%files -n %lname
%defattr(-,root,root)
%_libdir/libnftnl.so.7*
%_libdir/libnftnl.so.11*
%files devel
%defattr(-,root,root)