Accepting request 843032 from security:netfilter
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/843032 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnetfilter_acct?expand=0&rev=13
This commit is contained in:
commit
8292ab6cc8
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 14 00:05:38 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Modernize specfile constructs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 22 11:40:04 UTC 2016 - jengelh@inai.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libnetfilter_acct
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,7 +12,7 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
@ -21,17 +21,15 @@ Name: libnetfilter_acct
|
||||
Version: 1.0.3
|
||||
Release: 0
|
||||
Summary: Userspace library for the in-kernel Netfilter counters
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Productivity/Networking/Security
|
||||
Url: http://netfilter.org/projects/libnetfilter_acct/
|
||||
URL: https://netfilter.org/projects/libnetfilter_acct/
|
||||
|
||||
#Git-Clone: git://git.netfilter.org/libnetfilter_acct
|
||||
Source: ftp://ftp.netfilter.org/pub/libnetfilter_acct/%name-%version.tar.bz2
|
||||
Source2: ftp://ftp.netfilter.org/pub/libnetfilter_acct/%name-%version.tar.bz2.sig
|
||||
Source3: baselibs.conf
|
||||
Source4: %name.keyring
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
BuildRequires: pkgconfig(libmnl) >= 1.0.0
|
||||
|
||||
%description
|
||||
@ -56,11 +54,12 @@ This library provides the programming interface (API) to the
|
||||
Netfilter extended accounting infrastructure.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
# includedir intentional, cf. bugzilla.opensuse.org/795968
|
||||
%configure --disable-static --includedir="%_includedir/%name"
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
@ -70,11 +69,9 @@ rm -f "%buildroot/%_libdir"/*.la
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libnetfilter_acct.so.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/%name/
|
||||
%_libdir/libnetfilter_acct.so
|
||||
%_libdir/pkgconfig/libnetfilter_acct.pc
|
||||
|
Loading…
Reference in New Issue
Block a user