Accepting request 323082 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/323082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sudo?expand=0&rev=74
This commit is contained in:
Dominique Leuenberger 2015-08-17 13:34:51 +00:00 committed by Git OBS Bridge
commit b35bef07d0
2 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Aug 12 18:29:20 UTC 2015 - jengelh@inai.de
- No need to buildrequire an sssd plugin (libsss_sudo)
-------------------------------------------------------------------
Wed Aug 12 06:29:33 UTC 2015 - dimstar@opensuse.org
- Pass --enable-tmpfiles.d=%{_tmpfilesdir} to configure: let's be
specific about this feature, and not randomly rely on the
presence/absence of /usr/lib/tmpfiles.d/systemd.conf.
- Add systemd-rpm-macros BuildRequires to ensure %_tmpfilesdir is
defined.
- Add relevant %tmpfiles_create call to post scriptlet.
-------------------------------------------------------------------
Thu Jul 23 10:09:08 UTC 2015 - kstreitova@suse.com

View File

@ -34,9 +34,9 @@ Patch1: sudo-sudoers.patch
BuildRequires: audit-devel
BuildRequires: groff
BuildRequires: libselinux-devel
BuildRequires: libsss_sudo
BuildRequires: openldap2-devel
BuildRequires: pam-devel
BuildRequires: systemd-rpm-macros
BuildRequires: zlib-devel
Requires(pre): coreutils
Requires(pre): permissions
@ -84,6 +84,7 @@ export LDFLAGS="-pie"
--libexecdir=%{_libexecdir}/sudo \
--docdir=%{_docdir}/%{name} \
--with-noexec=%{_libexecdir}/sudo/sudo_noexec.so \
--enable-tmpfiles.d=%{_tmpfilesdir} \
--with-pam \
--with-ldap \
--with-selinux \
@ -135,6 +136,7 @@ chmod 0440 %{_sysconfdir}/sudoers
%else
%set_permissions /usr/bin/sudo
%endif
%tmpfiles_create %{_tmpfilesdir}/sudo.conf
%verifyscript
%verify_permissions -e /usr/bin/sudo
@ -169,6 +171,8 @@ chmod 0440 %{_sysconfdir}/sudoers
%{_libexecdir}/%{name}/system_group.so
%{_libexecdir}/%{name}/libsudo_util.so.*
%attr(0700,root,root) %dir %ghost %{_localstatedir}/lib/%{name}
%{_tmpfilesdir}/sudo.conf
%ghost %{_localstatedir}/lib/sudo/ts
%files devel
%defattr(-,root,root)