rpms/jwhois/devel jwhois.spec,1.52,1.53

vcrhonek vcrhonek at fedoraproject.org
Thu Sep 3 09:11:16 UTC 2009


Author: vcrhonek

Update of /cvs/extras/rpms/jwhois/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22927

Modified Files:
	jwhois.spec 
Log Message:
Fix errors installing jwhois with --excludedocs


Index: jwhois.spec
===================================================================
RCS file: /cvs/extras/rpms/jwhois/devel/jwhois.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -p -r1.52 -r1.53
--- jwhois.spec	16 Aug 2009 17:28:02 -0000	1.52
+++ jwhois.spec	3 Sep 2009 09:11:16 -0000	1.53
@@ -1,6 +1,6 @@
 Name: jwhois
 Version: 4.0
-Release: 17%{?dist}
+Release: 18%{?dist}
 URL: http://www.gnu.org/software/jwhois/
 Source0: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz
 Patch0: jwhois-4.0-connect.patch
@@ -66,17 +66,25 @@ echo .so man1/jwhois.1 > $RPM_BUILD_ROOT
 %config(noreplace) %{_sysconfdir}/jwhois.conf
 
 %post
-/sbin/install-info %{_infodir}/jwhois.info %{_infodir}/dir || :
+if [ -f %{_infodir}/jwhois.info ]; then # --excludedocs?
+    /sbin/install-info %{_infodir}/jwhois.info %{_infodir}/dir || :
+fi
 
 %preun
 if [ $1 = 0 ]; then
-    /sbin/install-info --delete %{_infodir}/jwhois.info %{_infodir}/dir || :
+    if [ -f %{_infodir}/jwhois.info ]; then # --excludedocs?
+        /sbin/install-info --delete %{_infodir}/jwhois.info %{_infodir}/dir || :
+    fi
 fi
 
 %clean
 rm -fr $RPM_BUILD_ROOT
 
 %changelog
+* Thu Sep  3 2009 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.0-18
+- Fix errors installing jwhois with --excludedocs
+  Resolves: #515940
+
 * Sun Aug 16 2009 Robert Scheck <robert at fedoraproject.org> - 4.0-17
 - Update jwhois.conf for .edu.ar, .bs, .by, .dk, .name, .ng, .ps,
   .sg, .sl, .sv, .co.zw domains and handles from .name and .aero




More information about the fedora-extras-commits mailing list