- fixed path of ip6tables.init in ip6tables.service

This commit is contained in:
Thomas Woerner 2012-11-08 13:03:44 +01:00
parent dd96cc5585
commit e34d762c5c

View File

@ -25,7 +25,7 @@
Name: iptables
Summary: Tools for managing Linux kernel packet filtering capabilities
Version: 1.4.16.2
Release: 4%{?dist}
Release: 5%{?dist}
Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2
Source1: iptables.init
Source2: iptables-config
@ -152,7 +152,7 @@ install -c -m 755 ip6tables-config %{buildroot}/etc/sysconfig/ip6tables-config
# install systemd service files
install -d -m 755 %{buildroot}/%{_unitdir}
install -c -m 755 %{SOURCE3} %{buildroot}/%{_unitdir}
sed -e 's;iptables;ip6tables;g' -e 's;IPv4;IPv6;g' < %{SOURCE3} > ip6tables.service
sed -e 's;iptables;ip6tables;g' -e 's;IPv4;IPv6;g' -e 's;/usr/libexec/ip6tables;/usr/libexec/iptables;g' < %{SOURCE3} > ip6tables.service
install -c -m 755 ip6tables.service %{buildroot}/%{_unitdir}
%endif
@ -295,6 +295,9 @@ fi
%changelog
* Thu Nov 8 2012 Thomas Woerner <twoerner@redhat.com> 1.4.16.2-5
- fixed path of ip6tables.init in ip6tables.service
* 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