[ppp] spec: don't mark logrotate dropin as executable

Michal Sekletar msekleta at fedoraproject.org
Wed Nov 19 09:29:33 UTC 2014


commit 8f86d050aebd673209f7839be3778ca24d123950
Author: Michal Sekletar <msekleta at redhat.com>
Date:   Wed Nov 19 10:16:26 2014 +0100

    spec: don't mark logrotate dropin as executable
    
    Resolves: #1164435

 ppp.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ppp.spec b/ppp.spec
index cb1322e..4e52ea5 100644
--- a/ppp.spec
+++ b/ppp.spec
@@ -3,7 +3,7 @@
 Summary: The Point-to-Point Protocol daemon
 Name: ppp
 Version: 2.4.7
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: BSD and LGPLv2+ and GPLv2+ and Public Domain
 Group: System Environment/Daemons
 URL: http://www.samba.org/ppp
@@ -96,7 +96,7 @@ install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/ppp
 
 # install logrotate script
 install -d %{buildroot}%{_sysconfdir}/logrotate.d
-install -p %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/ppp
+install -m 644 -p %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/ppp
 
 # install tmpfiles drop-in
 install -d %{buildroot}%{_tmpfilesdir}
@@ -167,6 +167,9 @@ install -p %{SOURCE11} %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/ifdo
 %doc PLUGINS
 
 %changelog
+* Wed Nov 19 2014 Michal Sekletar <msekleta at redhat.com> - 2.4.7-5
+- don't mark logrotate config as executable (#1164435)
+
 * Tue Sep  2 2014 Peter Robinson <pbrobinson at fedoraproject.org> 2.4.7-4
 - devel package should depend on base package as per guidelines
 


More information about the scm-commits mailing list