rpms/cracklib/devel cracklib.spec,1.45,1.46
Nalin Somabhai Dahyabhai (nalin)
fedora-extras-commits at redhat.com
Fri Jan 25 19:25:29 UTC 2008
- Previous message (by thread): rpms/qt4-theme-quarticurve/devel .cvsignore, 1.5, 1.6 qt4-theme-quarticurve.spec, 1.8, 1.9 sources, 1.5, 1.6
- Next message (by thread): rpms/sagator/devel sagator.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: nalin
Update of /cvs/pkgs/rpms/cracklib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15366
Modified Files:
cracklib.spec
Log Message:
- package the now-bundled cracklib-small dictionary in cracklib-dicts
Index: cracklib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cracklib/devel/cracklib.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- cracklib.spec 25 Jan 2008 18:50:10 -0000 1.45
+++ cracklib.spec 25 Jan 2008 19:24:52 -0000 1.46
@@ -1,5 +1,6 @@
# Reflects the values hard-coded in various Makefile.am's in the source tree.
-%define dictpath %{_datadir}/cracklib/pw_dict
+%define dictdir %{_datadir}/cracklib
+%define dictpath %{dictdir}/pw_dict
Summary: A password-checking library
Name: cracklib
@@ -129,6 +130,9 @@
make install DESTDIR=$RPM_BUILD_ROOT
./util/cracklib-format cracklib-dicts/* | \
./util/cracklib-packer $RPM_BUILD_ROOT/%{dictpath}
+./util/cracklib-format $RPM_BUILD_ROOT/%{dictdir}/cracklib-small | \
+./util/cracklib-packer $RPM_BUILD_ROOT/%{dictdir}/cracklib-small
+rm -f $RPM_BUILD_ROOT/%{dictdir}/cracklib-small
sed s,/usr/lib/cracklib_dict,%{dictpath},g lib/crack.h > $RPM_BUILD_ROOT/%{_includedir}/crack.h
ln -s cracklib-format $RPM_BUILD_ROOT/%{_sbindir}/mkdict
ln -s cracklib-packer $RPM_BUILD_ROOT/%{_sbindir}/packer
@@ -184,7 +188,7 @@
%files -f %{name}.lang
%defattr(-,root,root)
-%doc README README-WORDS NEWS doc/LICENCE AUTHORS
+%doc README README-WORDS NEWS README-LICENSE AUTHORS
%{_libdir}/libcrack.so.*
%dir %{_datadir}/cracklib
%{_datadir}/cracklib/cracklib.magic
@@ -199,6 +203,7 @@
%defattr(-,root,root)
%dir %{_datadir}/cracklib
%{_datadir}/cracklib/pw_dict.*
+%{_datadir}/cracklib/cracklib-small.*
%{_libdir}/cracklib_dict.*
%{_sbindir}/mkdict
%{_sbindir}/packer
@@ -210,6 +215,7 @@
%changelog
* Fri Jan 25 2008 Nalin Dahyabhai <nalin at redhat.com> - 2.8.12-1
- update to 2.8.12, which was relicensed to GPLv2
+- package the now-bundled cracklib-small dictionary in cracklib-dicts
* Tue Aug 21 2007 Nalin Dahyabhai <nalin at redhat.com> - 2.8.10-3
- rebuild
- Previous message (by thread): rpms/qt4-theme-quarticurve/devel .cvsignore, 1.5, 1.6 qt4-theme-quarticurve.spec, 1.8, 1.9 sources, 1.5, 1.6
- Next message (by thread): rpms/sagator/devel sagator.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list