From cee010372f4e3d3a028031d8eb8f7f37429bb793 Mon Sep 17 00:00:00 2001 From: Eric Garver Date: Mon, 12 Feb 2018 10:57:12 -0500 Subject: [PATCH] Patch for missing header file (RHBZ#1543596) --- 0001-build-do-install-libipset-args.h.patch | 28 +++++++++++++++++++++ ipset.spec | 13 ++++++++-- 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 0001-build-do-install-libipset-args.h.patch diff --git a/0001-build-do-install-libipset-args.h.patch b/0001-build-do-install-libipset-args.h.patch new file mode 100644 index 0000000..c2f8edf --- /dev/null +++ b/0001-build-do-install-libipset-args.h.patch @@ -0,0 +1,28 @@ +From 39fde1381f0ba9101f65c08f2abda5426a46f8b1 Mon Sep 17 00:00:00 2001 +From: Jan Engelhardt +Date: Mon, 22 Jan 2018 22:50:33 +0100 +Subject: [PATCH] build: do install libipset/args.h + +libipset/types.h includes args.h, therefore args.h must be installed +too. + +Signed-off-by: Jan Engelhardt +Signed-off-by: Jozsef Kadlecsik +--- + include/libipset/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/libipset/Makefile.am b/include/libipset/Makefile.am +index 3b47518..79a1357 100644 +--- a/include/libipset/Makefile.am ++++ b/include/libipset/Makefile.am +@@ -1,5 +1,6 @@ + pkgincludedir = ${includedir}/libipset + pkginclude_HEADERS = \ ++ args.h \ + data.h \ + errcode.h \ + linux_ip_set_bitmap.h \ +-- +2.11.0 + diff --git a/ipset.spec b/ipset.spec index d9ce877..4902a59 100644 --- a/ipset.spec +++ b/ipset.spec @@ -1,6 +1,6 @@ Name: ipset Version: 6.35 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manage Linux IP sets License: GPLv2 @@ -8,8 +8,13 @@ URL: http://ipset.netfilter.org/ Source0: http://ipset.netfilter.org/%{name}-%{version}.tar.bz2 Source1: %{name}.service Source2: %{name}.start-stop +Patch1: 0001-build-do-install-libipset-args.h.patch BuildRequires: libmnl-devel +BuildRequires: automake +BuildRequires: autoconf +BuildRequires: libtool +BuildRequires: libtool-ltdl-devel # An explicit requirement is needed here, to avoid cases where a user would # explicitly update only one of the two (e.g 'yum update ipset') @@ -65,10 +70,11 @@ out of the base package since it is not active by default. %prep -%setup -q +%autosetup -p1 %build +./autogen.sh %configure --enable-static=no --with-kmod=no # Just to make absolutely sure we are not building the bundled kernel module @@ -146,6 +152,9 @@ fi %changelog +* Mon Feb 12 2018 Eric Garver - 6.35-3 +- Patch for missing header file (RHBZ#1543596) + * Wed Feb 07 2018 Fedora Release Engineering - 6.35-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild