Patch for missing header file (RHBZ#1543596)
This commit is contained in:
parent
54e38f567a
commit
cee010372f
28
0001-build-do-install-libipset-args.h.patch
Normal file
28
0001-build-do-install-libipset-args.h.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 39fde1381f0ba9101f65c08f2abda5426a46f8b1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
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 <jengelh@inai.de>
|
||||||
|
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
13
ipset.spec
13
ipset.spec
@ -1,6 +1,6 @@
|
|||||||
Name: ipset
|
Name: ipset
|
||||||
Version: 6.35
|
Version: 6.35
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Manage Linux IP sets
|
Summary: Manage Linux IP sets
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -8,8 +8,13 @@ URL: http://ipset.netfilter.org/
|
|||||||
Source0: http://ipset.netfilter.org/%{name}-%{version}.tar.bz2
|
Source0: http://ipset.netfilter.org/%{name}-%{version}.tar.bz2
|
||||||
Source1: %{name}.service
|
Source1: %{name}.service
|
||||||
Source2: %{name}.start-stop
|
Source2: %{name}.start-stop
|
||||||
|
Patch1: 0001-build-do-install-libipset-args.h.patch
|
||||||
|
|
||||||
BuildRequires: libmnl-devel
|
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
|
# 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')
|
# 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
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
./autogen.sh
|
||||||
%configure --enable-static=no --with-kmod=no
|
%configure --enable-static=no --with-kmod=no
|
||||||
|
|
||||||
# Just to make absolutely sure we are not building the bundled kernel module
|
# Just to make absolutely sure we are not building the bundled kernel module
|
||||||
@ -146,6 +152,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 12 2018 Eric Garver <egarver@redhat.com> - 6.35-3
|
||||||
|
- Patch for missing header file (RHBZ#1543596)
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.35-2
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.35-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user