]> git.pld-linux.org Git - packages/changepassword.git/commitdiff
- revert illegal use of sysconfdir macro
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 29 Mar 2007 08:06:31 +0000 (08:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- cosmetics

Changed files:
    changepassword.spec -> 1.28

changepassword.spec

index 59a81f560168238f9995841b7d0ec3a6e423dea3..50dba366924d587c5407ca1c671a5ba123434963 100644 (file)
@@ -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
 
This page took 0.129595 seconds and 4 git commands to generate.