Version 4.6.3 + fixed scriptlets

This commit is contained in:
Pavel Šimerda
2012-05-27 00:43:29 +02:00
parent ff3d2ec7a5
commit ed95ee17f0

View File

@@ -1,6 +1,6 @@
Name: strongswan Name: strongswan
Version: 4.6.2 Version: 4.6.3
Release: 2%{?dist} Release: 1%{?dist}
Summary: An OpenSource IPsec-based VPN Solution Summary: An OpenSource IPsec-based VPN Solution
Group: System Environment/Daemons Group: System Environment/Daemons
License: GPLv2+ License: GPLv2+
@@ -158,18 +158,21 @@ fi
/sbin/chkconfig --add %{name} /sbin/chkconfig --add %{name}
%endif %endif
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
%preun %preun
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
if [ $1 -eq 0 ] ; then if [ $1 -eq 0 ] ; then
# Package removal, not upgrade # Package removal, not upgrade
/bin/systemctl --no-reload disable %{name}.service > /dev/null 2>&1 || : /bin/systemctl --no-reload disable %{name}.service > /dev/null 2>&1 || :
/bin/systemctl stop %{name}.service > /dev/null 2>&1 || : /bin/systemctl stop %{name}.service > /dev/null 2>&1 || :
fi fi
%endif %else
if [ $1 -eq 0 ] ; then if [ $1 -eq 0 ] ; then
# Package removal, not upgrade
/sbin/service %{name} stop >/dev/null 2>&1 /sbin/service %{name} stop >/dev/null 2>&1
/sbin/chkconfig --del %{name} /sbin/chkconfig --del %{name}
fi fi
%endif
%postun %postun
/sbin/ldconfig /sbin/ldconfig
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7 %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
@@ -184,6 +187,11 @@ fi
#TODO manpages #TODO manpages
%changelog %changelog
* Sat May 26 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.3-1
- New version of Strongswan
- Support for RFC 3110 DNSKEY (see upstream changelog)
- Fix corrupt scriptlets
* Fri Mar 30 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.2-2 * Fri Mar 30 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.2-2
- #808612 - strongswan binary renaming side-effect - #808612 - strongswan binary renaming side-effect