From: Elan Ruusamäe Date: Thu, 29 Mar 2007 08:06:31 +0000 (+0000) Subject: - revert illegal use of sysconfdir macro X-Git-Tag: auto/th/changepassword-0_9-2~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fchangepassword.git;a=commitdiff_plain;h=82cbee688ed464600e2e3088e39cc7f9d84de462 - revert illegal use of sysconfdir macro - cosmetics Changed files: changepassword.spec -> 1.28 --- diff --git a/changepassword.spec b/changepassword.spec index 59a81f5..50dba36 100644 --- a/changepassword.spec +++ b/changepassword.spec @@ -1,13 +1,14 @@ -# -# Conditional build: -%bcond_without samba # without samba passwords support -%bcond_without squid # without squid passwords support - # TODO +# - webapps # - move cgi binary to /usr/share/changepassword # - write changepassword.conf for apache redirection + execution # - get sources for libdes and compile then instead of using # precompiled version for x86!!! +# +# Conditional build: +%bcond_without samba # without samba passwords support +%bcond_without squid # without squid passwords support +# Summary: ChangePassword Summary(pl.UTF-8): ChangePassword - modyfikator haseł Name: changepassword @@ -43,12 +44,12 @@ cp %{SOURCE1} . --enable-cgidir=%{_cgidir} \ --enable-language=Polish \ --enable-logo=pldlogo.png \ - --enable-smbpasswd=%{_sysconfdir}/samba/smbpasswd \ - --enable-squidpasswd=%{_sysconfdir}/squid/passwd \ -%if !%{with samba} + --enable-smbpasswd=/etc/samba/smbpasswd \ + --enable-squidpasswd=/etc/squid/passwd \ +%if %{without samba} --disable-smbpasswd \ %endif -%if !%{with squid} +%if %{without squid} --disable-squidpasswd %endif