[packages/sudo] use %{__with} macro
glen
glen at pld-linux.org
Sat Mar 22 21:59:52 CET 2014
commit 9ca9a4a5e7301df50f3840c2843487c97f21d62c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Mar 22 22:59:49 2014 +0200
use %{__with} macro
sudo.spec | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/sudo.spec b/sudo.spec
index 34d478f..a4d6bda 100644
--- a/sudo.spec
+++ b/sudo.spec
@@ -181,9 +181,6 @@ cp -f /usr/share/automake/config.sub .
--with-env-editor \
--with-ignore-dot \
--with-incpath=/usr/include/security \
- %{?with_kerberos5:--with-kerb5} \
- %{?with_ldap:--with-ldap} \
- %{?with_audit:--with-linux-audit} \
--with-logfac=auth \
--with-logging=both \
--with-loglen=320 \
@@ -193,9 +190,12 @@ cp -f /usr/share/automake/config.sub .
--with-pam-login \
--with-passprompt="[sudo] password for %%p: " \
--with-secure-path="/bin:/sbin:/usr/bin:/usr/sbin" \
- %{?with_selinux:--with-selinux} \
- %{?with_skey:--with-skey} \
- %{?with_sssd:--with-sssd}
+ %{__with kerberos5 kerb5} \
+ %{__with ldap} \
+ %{__with audit linux-audit} \
+ %{__with selinux} \
+ %{__with skey} \
+ %{__with sssd} \
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sudo.git/commitdiff/9ca9a4a5e7301df50f3840c2843487c97f21d62c
More information about the pld-cvs-commit
mailing list