Accepting request 265323 from security:netfilter

- Update to new upstream release 1.0.3

OBS-URL: https://build.opensuse.org/request/show/265323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnftnl?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2014-12-16 13:49:16 +00:00 committed by Git OBS Bridge
commit b589719778
6 changed files with 22 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:78ce27b2e3f513c2f8d9570570e96224a8f55c6ef2c67443bb91d082364346dc
size 352093

Binary file not shown.

3
libnftnl-1.0.3.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf0ae7eab6a6866192a1fbd6b370a8a2cbe2066fe3975ab44939fd50747c27f7
size 356264

BIN
libnftnl-1.0.3.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Dec 15 23:49:03 UTC 2014 - jengelh@inai.de
- Update to new upstream release 1.0.3
* No upstream summary provided
* Support for new features up to Linux 3.18
-------------------------------------------------------------------
Mon Dec 8 23:41:15 UTC 2014 - jengelh@inai.de
- Drop %version from subincludedir, it tends to break recompiles of
already-built trees on library updates.
-------------------------------------------------------------------
Tue Sep 23 16:05:59 UTC 2014 - jengelh@inai.de

View File

@ -18,7 +18,7 @@
Name: libnftnl
%define lname libnftnl0
Version: 1.0.2
Version: 1.0.3
Release: 0
Summary: Userspace library to access the nftables Netlink interface
License: GPL-2.0+
@ -26,29 +26,18 @@ Group: Productivity/Networking/Security
Url: http://netfilter.org/projects/libnftnl/
#Git-Clone: git://git.netfilter.org/libnftnl
Source: http://netfilter.org/projects/libnftnl/files/%name-%version.tar.bz2
Source2: http://netfilter.org/projects/libnftnl/files/%name-%version.tar.bz2.sig
Source: http://ftp.netfilter.org/pub/libnftnl/%name-%version.tar.bz2
Source2: http://ftp.netfilter.org/pub/libnftnl/%name-%version.tar.bz2.sig
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
%define with_json 1
%define with_mxml 1
%endif
%if 0%{?fedora_version}
%define with_json 1
%endif
%if 0%{?with_json}
BuildRequires: pkgconfig(jansson) >= 2.3
%endif
%if 0%{?with_mxml}
BuildRequires: pkgconfig(libmnl) >= 1.0.3
BuildRequires: pkgconfig(mxml) >= 2.6
%endif
%description
libnftnl is a userspace library providing a low-level netlink
@ -79,13 +68,9 @@ applications that want to make use of libnftnl.
%build
%configure \
%if 0%{?with_mxml}
--with-xml-parsing \
%endif
%if 0%{?with_json}
--with-json-parsing \
%endif
--includedir="%_includedir/pkg/%name-%version"
--includedir="%_includedir/%name"
make %{?_smp_mflags}
%install
@ -101,7 +86,7 @@ rm -f "%buildroot/%_libdir"/*.la;
%files devel
%defattr(-,root,root)
%_includedir/pkg/
%_includedir/%name/
%_libdir/libnftnl.so
%_libdir/pkgconfig/libnftnl.pc
%doc COPYING