1
0

- Modernize specfile constructs.

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_log?expand=0&rev=34
This commit is contained in:
Jan Engelhardt 2020-10-14 00:22:10 +00:00 committed by Git OBS Bridge
parent 864eeb6f0b
commit 518ed5e1f7
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 14 00:20:45 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Modernize specfile constructs.
-------------------------------------------------------------------
Mon Dec 8 23:47:57 UTC 2014 - jengelh@inai.de

View File

@ -23,14 +23,13 @@ Release: 0
Summary: Userspace library for accessing logged packets
License: GPL-2.0-only
Group: Productivity/Networking/Security
URL: http://netfilter.org/projects/libnetfilter_log/
URL: https://netfilter.org/projects/libnetfilter_log/
#Git-Clone: git://git.netfilter.org/libnetfilter_log
Source: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar.bz2
Source2: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar.bz2.sig
Source3: baselibs.conf
Source4: %name.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildRequires: autoconf, automake >= 1.6, libtool
BuildRequires: pkgconfig >= 0.21
BuildRequires: pkgconfig(libnfnetlink) >= 0.0.41
@ -64,12 +63,12 @@ part of a system that deprecates the old syslog/dmesg based packet
logging. This library has been previously known as libnfnetlink_log.
%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
@ -79,12 +78,10 @@ rm -f "%buildroot/%_libdir"/*.la
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libnetfilter_log.so.1*
%_libdir/libnetfilter_log_libipulog.so.1*
%files devel
%defattr(-,root,root)
%_includedir/%name/
%_libdir/libnetfilter_log.so
%_libdir/libnetfilter_log_libipulog.so