spec: call chmod on correct path

This commit is contained in:
Michal Sekletar 2013-05-28 16:29:54 +02:00
parent 4301666558
commit 06d201d22d

View File

@ -5,7 +5,7 @@
Name: quagga
Version: 0.99.22.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Routing daemon
License: GPLv2+
Group: System Environment/Daemons
@ -137,7 +137,7 @@ install-info %{_infodir}/quagga.info %{_infodir}/dir || :
if [ ! -e %{_sysconfdir}/quagga/zebra.conf ]; then
echo "hostname `hostname`" > %{_sysconfdir}/quagga/zebra.conf
chown quagga:quagga %{_sysconfdir}/quagga/zebra.conf
chmod 640 %{_sysconfdir}/zebra.conf
chmod 640 %{_sysconfdir}/quagga/zebra.conf
fi
if [ ! -e %{_sysconfdir}/quagga/vtysh.conf ]; then
@ -217,6 +217,9 @@ fi
%{_includedir}/quagga/ospfapi/*.h
%changelog
* Tue May 28 2013 Michal Sekletar <msekleta@redhat.com> - 0.99.22.1-4
- call chmod on correct path
* Mon May 27 2013 Michal Sekletar <msekleta@redhat.com> - 0.99.22.1-3
- build package with required compiler flags