Accepting request 322021 from home:dimstar:Factory
- 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. OBS-URL: https://build.opensuse.org/request/show/322021 OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=89
This commit is contained in:
parent
685fdbfa5f
commit
89d972c0f7
10
sudo.changes
10
sudo.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jul 23 10:09:08 UTC 2015 - kstreitova@suse.com
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ BuildRequires: libselinux-devel
|
|||||||
BuildRequires: libsss_sudo
|
BuildRequires: libsss_sudo
|
||||||
BuildRequires: openldap2-devel
|
BuildRequires: openldap2-devel
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
Requires(pre): coreutils
|
Requires(pre): coreutils
|
||||||
Requires(pre): permissions
|
Requires(pre): permissions
|
||||||
@ -84,6 +85,7 @@ export LDFLAGS="-pie"
|
|||||||
--libexecdir=%{_libexecdir}/sudo \
|
--libexecdir=%{_libexecdir}/sudo \
|
||||||
--docdir=%{_docdir}/%{name} \
|
--docdir=%{_docdir}/%{name} \
|
||||||
--with-noexec=%{_libexecdir}/sudo/sudo_noexec.so \
|
--with-noexec=%{_libexecdir}/sudo/sudo_noexec.so \
|
||||||
|
--enable-tmpfiles.d=%{_tmpfilesdir} \
|
||||||
--with-pam \
|
--with-pam \
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-selinux \
|
--with-selinux \
|
||||||
@ -135,6 +137,7 @@ chmod 0440 %{_sysconfdir}/sudoers
|
|||||||
%else
|
%else
|
||||||
%set_permissions /usr/bin/sudo
|
%set_permissions /usr/bin/sudo
|
||||||
%endif
|
%endif
|
||||||
|
%tmpfiles_create %{_tmpfilesdir}/sudo.conf
|
||||||
|
|
||||||
%verifyscript
|
%verifyscript
|
||||||
%verify_permissions -e /usr/bin/sudo
|
%verify_permissions -e /usr/bin/sudo
|
||||||
@ -169,6 +172,8 @@ chmod 0440 %{_sysconfdir}/sudoers
|
|||||||
%{_libexecdir}/%{name}/system_group.so
|
%{_libexecdir}/%{name}/system_group.so
|
||||||
%{_libexecdir}/%{name}/libsudo_util.so.*
|
%{_libexecdir}/%{name}/libsudo_util.so.*
|
||||||
%attr(0700,root,root) %dir %ghost %{_localstatedir}/lib/%{name}
|
%attr(0700,root,root) %dir %ghost %{_localstatedir}/lib/%{name}
|
||||||
|
%{_tmpfilesdir}/sudo.conf
|
||||||
|
%ghost %{_localstatedir}/lib/sudo/ts
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user