Tue, 28 Aug 2012 18:34:55 +0200
Correct building on SVR4 using final POSIX.1c conformant getpwnam(3) signatures.
cracklib/cracklib.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/cracklib/cracklib.spec Tue Aug 28 18:34:50 2012 +0200 1.2 +++ b/cracklib/cracklib.spec Tue Aug 28 18:34:55 2012 +0200 1.3 @@ -32,7 +32,7 @@ 1.4 Group: Security 1.5 License: Artistic 1.6 Version: 2.8.19 1.7 -Release: 20120519 1.8 +Release: 20120800 1.9 1.10 # list of sources 1.11 Source0: http://switch.dl.sourceforge.net/cracklib/cracklib-%{version}.tar.gz 1.12 @@ -67,6 +67,7 @@ 1.13 # configure library 1.14 CC="%{l_cc}" \ 1.15 CFLAGS="%{l_cflags -O}" \ 1.16 + CPPFLAGS="%{l_cppflags} -D_POSIX_PTHREAD_SEMANTICS" \ 1.17 ./configure \ 1.18 --prefix=%{l_prefix} \ 1.19 --with-default-dict=%{l_prefix}/lib/cracklib/pw_dict \ 1.20 @@ -75,7 +76,7 @@ 1.21 --disable-nls 1.22 1.23 # build library 1.24 - %{l_make} %{l_mflags} 1.25 + %{l_make} %{l_mflags -O} 1.26 1.27 %install 1.28 # install library 1.29 @@ -115,8 +116,8 @@ 1.30 %clean 1.31 1.32 %post 1.33 - # (re-)generate run-time password dictionary 1.34 - ( echo "(Re-)Generating run-time password dictionary" 1.35 + # (re)generate runtime password dictionary 1.36 + ( echo "(Re)Generating runtime password dictionary" 1.37 ) | %{l_rpmtool} msg -b -t warn 1.38 ( cd $RPM_INSTALL_PREFIX/share/cracklib && \ 1.39 $RPM_INSTALL_PREFIX/bin/make