]> git.pld-linux.org Git - packages/sudo.git/commitdiff
use %{__with} macro
authorElan Ruusamäe <glen@delfi.ee>
Sat, 22 Mar 2014 20:59:49 +0000 (22:59 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 22 Mar 2014 20:59:49 +0000 (22:59 +0200)
sudo.spec

index 34d478fb35ce96dbd61781fcc53d578f5abcb217..a4d6bdab31292bc81c70b849d221dee6feb63728 100644 (file)
--- 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}
 
This page took 0.193076 seconds and 4 git commands to generate.