diff --git a/libnetfilter_acct-0.0.0.26.tar.xz b/libnetfilter_acct-0.0.0.26.tar.xz deleted file mode 100644 index d44c390..0000000 --- a/libnetfilter_acct-0.0.0.26.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5731e4bdb2cf62e92c1b166ce78f10ade3708124e7679855c9c485bcdf0b90d -size 18064 diff --git a/libnetfilter_acct-1.0.0.tar.bz2 b/libnetfilter_acct-1.0.0.tar.bz2 new file mode 100644 index 0000000..9dea65c --- /dev/null +++ b/libnetfilter_acct-1.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:567ede1f54fbf2ffd752203ea3aea6f430244fb29bd943af58d1d0f4b1796dc9 +size 282380 diff --git a/libnetfilter_acct-1.0.0.tar.bz2.sig b/libnetfilter_acct-1.0.0.tar.bz2.sig new file mode 100644 index 0000000..ba44915 Binary files /dev/null and b/libnetfilter_acct-1.0.0.tar.bz2.sig differ diff --git a/libnetfilter_acct.changes b/libnetfilter_acct.changes index 0fa5c1c..7b60806 100644 --- a/libnetfilter_acct.changes +++ b/libnetfilter_acct.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Mar 27 13:55:31 UTC 2012 - jengelh@medozas.de + +- Update to new upstream release 1.0.0 +* nfacct: change prototype of nfacct_snprintf() to support output + in XML +* nfacct: check if attribute is set in nfacct_attr_get* + ------------------------------------------------------------------- Thu Dec 29 21:28:40 UTC 2011 - jengelh@medozas.de diff --git a/libnetfilter_acct.spec b/libnetfilter_acct.spec index fc9b9ff..d6e11d8 100644 --- a/libnetfilter_acct.spec +++ b/libnetfilter_acct.spec @@ -1,7 +1,7 @@ # # spec file for package libnetfilter_acct # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,43 +15,53 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: libnetfilter_acct -%define lname %{name}0 -Version: 0.0.0.26 -Release: 1 +%define lname %{name}1 +Version: 1.0.0 +Release: 0 +Url: http://netfilter.org/projects/libnetfilter_acct/ +Source: %name-%version.tar.bz2 +Source2: %name-%version.tar.bz2.sig +Source3: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake >= 1.6 +BuildRequires: libtool +BuildRequires: pkgconfig >= 0.21 +BuildRequires: pkgconfig(libmnl) >= 1.0.0 +Summary: Userspace library for the in-kernel Netfilter counters License: LGPL-2.1+ Group: Productivity/Networking/Security -URL: http://netfilter.org/projects/libnetfilter_acct/ -Source: %name-%version.tar.xz -Source3: baselibs.conf -BuildRoot: %_tmppath/%name-%version-build -BuildRequires: autoconf, automake >= 1.6, libtool -BuildRequires: pkgconfig >= 0.23, pkgconfig(libmnl) >= 1.0.0, xz -Summary: Userspace library for the in-kernel Netfilter counters %description This library provides the programming interface (API) to the Netfilter extended accounting infrastructure. %package -n %lname -Group: System/Libraries Summary: Userspace library for the in-kernel Netfilter counters +Group: System/Libraries %description -n %lname This library provides the programming interface (API) to the Netfilter extended accounting infrastructure. %package devel -Group: Development/Libraries/C and C++ Requires: %lname = %version Summary: Userspace library for the in-kernel Netfilter counters +Group: Development/Libraries/C and C++ %description devel This library provides the programming interface (API) to the Netfilter extended accounting infrastructure. %prep +%if 0%{?__xz:1} %setup -q +%else +tar -xf "%{S:0}" --use=bzip2; +%setup -DTq +%endif %build if [ ! -e configure ]; then