From b096de7e2af36bf0bedd46934a2e442c950d72ac Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sep 16 2009 17:54:36 +0000 Subject: - Errors installing with --excludedocs (#515925) --- diff --git a/pinentry.spec b/pinentry.spec index 27e307b..8d1cb02 100644 --- a/pinentry.spec +++ b/pinentry.spec @@ -8,7 +8,7 @@ Name: pinentry Version: 0.7.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Collection of simple PIN or passphrase entry dialogs Group: Applications/System @@ -129,10 +129,12 @@ rm -rf $RPM_BUILD_ROOT %{_sbindir}/update-alternatives --remove pinentry %{_bindir}/pinentry-qt ||: %post -/sbin/install-info %{_infodir}/pinentry.info %{_infodir}/dir +if [ -f %{_infodir}/pinentry.info* ]; then +/sbin/install-info %{_infodir}/pinentry.info %{_infodir}/dir ||: +fi %preun -if [ $1 -eq 0 ] ; then +if [ $1 -eq 0 -a -f %{_infodir}/pinentry.info* ] ; then /sbin/install-info --delete %{_infodir}/pinentry.info %{_infodir}/dir ||: fi @@ -161,6 +163,9 @@ fi %changelog +* Wed Sep 13 2009 Rex Dieter - 0.7.6-4 +- Errors installing with --excludedocs (#515925) + * Wed Sep 13 2009 Rex Dieter - 0.7.6-3 - drop alternatives, use app-wrapper instead (borrowed from opensuse) - -qt4 experimental subpkg, -qt includes qt3 version again (#523488)