Flip sudoers2ldif bit after make install, since it was making it executable again.
This commit is contained in:
parent
94079dc775
commit
0247beae71
10
sudo.spec
10
sudo.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Allows restricted root access for specified users
|
Summary: Allows restricted root access for specified users
|
||||||
Name: sudo
|
Name: sudo
|
||||||
Version: 1.8.5
|
Version: 1.8.5
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: ISC
|
License: ISC
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://www.courtesan.com/sudo/
|
URL: http://www.courtesan.com/sudo/
|
||||||
@ -62,8 +62,6 @@ plugins that use %{name}.
|
|||||||
%patch4 -p1 -b .pipelist
|
%patch4 -p1 -b .pipelist
|
||||||
%patch5 -p1 -b .sssd-support
|
%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
|
%build
|
||||||
autoreconf -fv --install
|
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 -d -m 750 $RPM_BUILD_ROOT/etc/sudoers.d
|
||||||
install -p -c -m 0440 %{SOURCE1} $RPM_BUILD_ROOT/etc/sudoers
|
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 sudo
|
||||||
%find_lang sudoers
|
%find_lang sudoers
|
||||||
|
|
||||||
@ -170,6 +171,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man8/sudo_plugin.8*
|
%{_mandir}/man8/sudo_plugin.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 24 2012 Bill Nottingham <notting@redhat.com> - 1.8.5-3
|
||||||
|
- flip sudoers2ldif executable bit after make install, not in setup
|
||||||
|
|
||||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.5-2
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.5-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user