From 8f75c6f5cf126cada26733a7b3fb2faadd823e92 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 29 Jan 2013 11:17:10 -0500 Subject: [PATCH] add man page pointers for cracklib-packer/unpacker - point cracklib-packer and cracklib-unpacker man pages to cracklib-format (internal tooling) --- cracklib.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/cracklib.spec b/cracklib.spec index e5a9133..8ad7021 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -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 - 2.8.22-3 +- point cracklib-packer and cracklib-unpacker man pages to cracklib-format + (internal tooling) + * Wed Dec 19 2012 Nalin Dahyabhai - 2.8.22-2 - add missing buildrequires: on zlib-devel (#888876)