1.4.2-2
This commit is contained in:
parent
1ef4967e9a
commit
41599a96da
@ -1,6 +1,6 @@
|
|||||||
Name: conntrack-tools
|
Name: conntrack-tools
|
||||||
Version: 1.4.2
|
Version: 1.4.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Manipulate netfilter connection tracking table and run High Availability
|
Summary: Manipulate netfilter connection tracking table and run High Availability
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -14,11 +14,10 @@ BuildRequires: libmnl-devel >= 1.0.3, libnetfilter_queue-devel >= 1.0.2
|
|||||||
BuildRequires: pkgconfig bison flex
|
BuildRequires: pkgconfig bison flex
|
||||||
Provides: conntrack = 1.0-1
|
Provides: conntrack = 1.0-1
|
||||||
Obsoletes: conntrack < 1.0-1
|
Obsoletes: conntrack < 1.0-1
|
||||||
BuildRequires: systemd-units
|
Requires(post): systemd
|
||||||
Requires(post): systemd-sysv
|
Requires(preun): systemd
|
||||||
Requires(post): systemd-units
|
Requires(postun): systemd
|
||||||
Requires(preun): systemd-units
|
BuildRequires: systemd
|
||||||
Requires(postun): systemd-units
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
With conntrack-tools you can setup a High Availability cluster and
|
With conntrack-tools you can setup a High Availability cluster and
|
||||||
@ -67,21 +66,19 @@ install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/conntrackd/
|
|||||||
%dir %{_libdir}/conntrack-tools
|
%dir %{_libdir}/conntrack-tools
|
||||||
%{_libdir}/conntrack-tools/*
|
%{_libdir}/conntrack-tools/*
|
||||||
|
|
||||||
|
%post
|
||||||
|
%systemd_post conntrackd.service
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 -eq 0 ]; then
|
%systemd_preun conntrackd.service
|
||||||
# Package removal, not upgrade
|
|
||||||
/bin/systemctl --no-reload disable conntrackd.service > /dev/null 2>&1 || :
|
|
||||||
/bin/systemctl stop conntrackd.service > /dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
%systemd_postun conntrackd.service
|
||||||
if [ $1 -ge 1 ] ; then
|
|
||||||
# Package upgrade, not uninstall
|
|
||||||
/bin/systemctl try-restart conntrackd.service >/dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 7 2013 Paul P. Komkoff Jr <i@stingr.net> - 1.4.2-2
|
||||||
|
- bz#850067
|
||||||
|
|
||||||
* Sat Sep 7 2013 Paul P. Komkoff Jr <i@stingr.net> - 1.4.2-1
|
* Sat Sep 7 2013 Paul P. Komkoff Jr <i@stingr.net> - 1.4.2-1
|
||||||
- new upstream version
|
- new upstream version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user