[quagga] spec: call chmod on correct path

Michal Sekletar msekleta at fedoraproject.org
Tue May 28 14:44:16 UTC 2013


commit 06d201d22d4a2c0ea679aa6af1cf9345c4c70db9
Author: Michal Sekletar <msekleta at redhat.com>
Date:   Tue May 28 16:29:54 2013 +0200

    spec: call chmod on correct path

 quagga.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/quagga.spec b/quagga.spec
index 787ec74..a1dee18 100644
--- a/quagga.spec
+++ b/quagga.spec
@@ -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 at redhat.com> - 0.99.22.1-4
+- call chmod on correct path
+
 * Mon May 27 2013 Michal Sekletar <msekleta at redhat.com> - 0.99.22.1-3
 - build package with required compiler flags
 


More information about the scm-commits mailing list