add man page pointers for cracklib-packer/unpacker

- point cracklib-packer and cracklib-unpacker man pages to cracklib-format
  (internal tooling)
This commit is contained in:
Nalin Dahyabhai 2013-01-29 11:17:10 -05:00
parent c3650d7fc5
commit 8f75c6f5cf

View File

@ -5,7 +5,7 @@
Summary: A password-checking library
Name: cracklib
Version: 2.8.22
Release: 2%{?dist}
Release: 3%{?dist}
Group: System Environment/Libraries
Source0: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.gz
@ -168,6 +168,12 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcrack.la
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man{3,8}
install -p -m644 debian/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3/
install -p -m644 debian/*.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
if ! test -s $RPM_BUILD_ROOT/%{_mandir}/man8/cracklib-packer.8 ; then
echo .so man8/cracklib-format.8 > $RPM_BUILD_ROOT/%{_mandir}/man8/cracklib-packer.8
fi
if ! test -s $RPM_BUILD_ROOT/%{_mandir}/man8/cracklib-unpacker.8 ; then
echo .so man8/cracklib-format.8 > $RPM_BUILD_ROOT/%{_mandir}/man8/cracklib-unpacker.8
fi
%find_lang %{name}
@ -239,6 +245,10 @@ EOF
%{_libdir}/../lib/python*/site-packages/*.py*
%changelog
* Tue Jan 29 2013 Nalin Dahyabhai <nalin@redhat.com> - 2.8.22-3
- point cracklib-packer and cracklib-unpacker man pages to cracklib-format
(internal tooling)
* Wed Dec 19 2012 Nalin Dahyabhai <nalin@redhat.com> - 2.8.22-2
- add missing buildrequires: on zlib-devel (#888876)