SHA256
1
0
forked from pool/ipset
2018-01-06 21:51:59 +00:00
committed by Git OBS Bridge
parent e9f036679a
commit b98b05bc9f
4 changed files with 24 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package ipset
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
#
%define lname libipset3
%define lname libipset11
%if 0%{?suse_version} && 0%{?suse_version} < 1330
# Factory gets new kernels, old releases don't.
# Always build KMPs for all versions older than Factory.
@@ -25,7 +25,7 @@
%define ipset_build_kmp 0
%endif
Name: ipset
Version: 6.34
Version: 6.35
Release: 0
Summary: Netfilter ipset administration utility
License: GPL-2.0
@@ -129,16 +129,16 @@ make %{?_smp_mflags}
%install
export PATH="$PATH:%_sbindir"
b=%buildroot
b="%buildroot"
%if 0%{?ipset_build_kmp}
for flavor in %flavors_to_build; do
pushd "../%name-$flavor-%version/"
make %{?_smp_mflags} install modules_install \
DESTDIR="$b" INSTALL_MOD_PATH="$b" V=1
popd;
done;
popd
done
%endif
make %{?_smp_mflags} install DESTDIR="$b"
%make_install
find "$b/%_libdir/" -type f -name "*.la" -delete -print
%post -n %lname -p /sbin/ldconfig
@@ -149,7 +149,7 @@ find "$b/%_libdir/" -type f -name "*.la" -delete -print
%_mandir/man*/*
%files -n %lname
%_libdir/libipset.so.3*
%_libdir/libipset.so.11*
%files devel
%_libdir/libipset.so