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