From 0247beae7174b0706e270dc3e94005ee94e0ba06 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 24 Jul 2012 14:48:31 -0400 Subject: [PATCH] Flip sudoers2ldif bit after make install, since it was making it executable again. --- sudo.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sudo.spec b/sudo.spec index 5e69b52..8132bf4 100644 --- a/sudo.spec +++ b/sudo.spec @@ -1,7 +1,7 @@ Summary: Allows restricted root access for specified users Name: sudo Version: 1.8.5 -Release: 2%{?dist} +Release: 3%{?dist} License: ISC Group: Applications/System URL: http://www.courtesan.com/sudo/ @@ -62,8 +62,6 @@ plugins that use %{name}. %patch4 -p1 -b .pipelist %patch5 -p1 -b .sssd-support -# Remove execute permission on this script so we don't pull in perl deps -chmod -x plugins/sudoers/sudoers2ldif %build autoreconf -fv --install @@ -107,6 +105,9 @@ install -p -d -m 700 $RPM_BUILD_ROOT/var/db/sudo install -p -d -m 750 $RPM_BUILD_ROOT/etc/sudoers.d install -p -c -m 0440 %{SOURCE1} $RPM_BUILD_ROOT/etc/sudoers +# Remove execute permission on this script so we don't pull in perl deps +chmod -x $RPM_BUILD_ROOT%{_docdir}/sudo-*/sudoers2ldif + %find_lang sudo %find_lang sudoers @@ -170,6 +171,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/sudo_plugin.8* %changelog +* Tue Jul 24 2012 Bill Nottingham - 1.8.5-3 +- flip sudoers2ldif executable bit after make install, not in setup + * Sat Jul 21 2012 Fedora Release Engineering - 1.8.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild