Fixing an error in post scriptlet
This commit is contained in:
parent
a7b3783ddc
commit
41a038e1d1
11
frr.spec
11
frr.spec
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: frr
|
Name: frr
|
||||||
Version: 8.3.1
|
Version: 8.3.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Routing daemon
|
Summary: Routing daemon
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.frrouting.org
|
URL: http://www.frrouting.org
|
||||||
@ -214,8 +214,10 @@ fi
|
|||||||
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{name}.pp.bz2
|
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{name}.pp.bz2
|
||||||
%selinux_relabel_post -s %{selinuxtype}
|
%selinux_relabel_post -s %{selinuxtype}
|
||||||
#/var/tmp and /var/run need to be relabeled as well if FRR is running before upgrade
|
#/var/tmp and /var/run need to be relabeled as well if FRR is running before upgrade
|
||||||
%{_sbindir}/restorecon -R /var/tmp/frr &> /dev/null
|
if [ $1 == 2 ]; then
|
||||||
%{_sbindir}/restorecon -R /var/run/frr &> /dev/null
|
%{_sbindir}/restorecon -R /var/tmp/frr &> /dev/null
|
||||||
|
%{_sbindir}/restorecon -R /var/run/frr &> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
%postun selinux
|
%postun selinux
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
@ -262,6 +264,9 @@ rm tests/lib/*grpc*
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 09 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-4
|
||||||
|
- Fixing an error in post scriptlet
|
||||||
|
|
||||||
* Fri Sep 09 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-3
|
* Fri Sep 09 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-3
|
||||||
- Resolves: #2124254 - frr can no longer update routes
|
- Resolves: #2124254 - frr can no longer update routes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user