- fixed missing services for update of pre F-18 installations (rhbz#867960)

- provide and obsolete old main package in services sub package
  - provide and obsolete old ipv6 sub package (pre F-17) in services sub package
This commit is contained in:
Thomas Woerner 2012-11-02 13:48:53 +01:00
parent fa59546b65
commit dd96cc5585

View File

@ -25,7 +25,7 @@
Name: iptables Name: iptables
Summary: Tools for managing Linux kernel packet filtering capabilities Summary: Tools for managing Linux kernel packet filtering capabilities
Version: 1.4.16.2 Version: 1.4.16.2
Release: 3%{?dist} Release: 4%{?dist}
Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2 Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2
Source1: iptables.init Source1: iptables.init
Source2: iptables-config Source2: iptables-config
@ -43,9 +43,6 @@ Conflicts: kernel < 2.4.20
%if %{with systemd} %if %{with systemd}
BuildRequires: systemd-units BuildRequires: systemd-units
%endif %endif
# provide also ipv6 sub package
Provides: %{name}-ipv6 = %{version}-%{release}
Obsoletes: %{name}-ipv6 < %{version}-%{release}
%if %{_lib} == lib64 %if %{_lib} == lib64
Provides: libxtables.so.7()(64bit) Provides: libxtables.so.7()(64bit)
@ -86,6 +83,12 @@ Conflicts: filesystem < 3
Requires(post): chkconfig Requires(post): chkconfig
Requires(preun): chkconfig Requires(preun): chkconfig
%endif %endif
# provide and obsolete old main package
Provides: %{name} = 1.4.16.1
Obsoletes: %{name} <= 1.4.16.1
# provide and obsolte ipv6 sub package
Provides: %{name}-ipv6 = 1.4.11.1
Obsoletes: %{name}-ipv6 <= 1.4.11.1
%description services %description services
iptables services for IPv4 and IPv6 iptables services for IPv4 and IPv6
@ -292,6 +295,11 @@ fi
%changelog %changelog
* Fri Nov 2 2012 Thomas Woerner <twoerner@redhat.com> 1.4.16.2-4
- fixed missing services for update of pre F-18 installations (rhbz#867960)
- provide and obsolete old main package in services sub package
- provide and obsolete old ipv6 sub package (pre F-17) in services sub package
* Sun Oct 14 2012 Dan Horák <dan[at]dany.cz> 1.4.16.2-3 * Sun Oct 14 2012 Dan Horák <dan[at]dany.cz> 1.4.16.2-3
- fix the compat provides for all 64-bit arches - fix the compat provides for all 64-bit arches