Package init
This commit is contained in:
parent
0fc2966087
commit
0ebac682f4
@ -2,7 +2,7 @@
|
||||
%global legacy_actions %{_libexecdir}/initscripts/legacy-actions
|
||||
Name: iptables
|
||||
Version: 1.8.0
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: IP packet filter administration utilities
|
||||
License: GPLv2 and Artistic Licence 2.0 and ISC
|
||||
URL: https://www.netfilter.org/
|
||||
@ -31,12 +31,14 @@ Patch6011: Fix-incorrect-strcmp-in-nft_arp_rule_find.patch
|
||||
BuildRequires: bison flex gcc kernel-headers libpcap-devel libselinux-devel systemd git
|
||||
BuildRequires: libmnl-devel libnetfilter_conntrack-devel libnfnetlink-devel libnftnl-devel
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
Requires(post): %{_sbindir}/update-alternatives
|
||||
Requires(postun): %{_sbindir}/update-alternatives
|
||||
%systemd_requires
|
||||
|
||||
Provides: iptables-libs iptables-utils iptables-services
|
||||
Obsoletes: iptables-libs iptables-utils iptables-services
|
||||
Provides: iptables-utils iptables-services
|
||||
Obsoletes: iptables-utils iptables-services
|
||||
|
||||
%description
|
||||
Netfilter is a set of hooks inside the Linux kernel that allows kernel
|
||||
@ -51,6 +53,12 @@ Each rule within an IP table consists of a number of classifiers
|
||||
Netfilter, ip_tables, connection tracking (ip_conntrack, nf_conntrack)
|
||||
and the NAT subsystem together build the major parts of the framework.
|
||||
|
||||
%package libs
|
||||
Summary: iptables libraries
|
||||
|
||||
%description libs
|
||||
iptables libraries.
|
||||
|
||||
%package devel
|
||||
Summary: header files for iproute
|
||||
Requires: %{name} = %{version}-%{release} pkgconfig
|
||||
@ -213,7 +221,6 @@ fi
|
||||
%exclude %{_sbindir}/xtables-monitor
|
||||
%{_bindir}/iptables-xml
|
||||
%{_libdir}/xtables/*
|
||||
%{_libdir}/*.so.*
|
||||
%{_unitdir}/*.service
|
||||
%dir %{legacy_actions}
|
||||
%{legacy_actions}/ip*
|
||||
@ -222,6 +229,11 @@ fi
|
||||
%ghost %{_sbindir}/ip*tables-restore
|
||||
%ghost %{_sbindir}/ip*tables-save
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libip*tc.so.*
|
||||
%{_libdir}/libxtables.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*
|
||||
@ -245,5 +257,11 @@ fi
|
||||
%{_mandir}/*
|
||||
|
||||
%changelog
|
||||
* Thu Nov 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.8.0-6
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:add iptables-libs package
|
||||
|
||||
* Fri Sep 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.8.0-5
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user