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

Jiri Skala jskala at fedoraproject.org
Mon Sep 14 12:17:29 UTC 2009


Author: jskala

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

Modified Files:
	mgetty.spec 
Log Message:
* Mon Sep 14 2009 Jiri Skala <jskala at redhat.com> - 1.1.36-5
- fixed #516001 - Errors installing mgetty with --excludedocs



Index: mgetty.spec
===================================================================
RCS file: /cvs/extras/rpms/mgetty/devel/mgetty.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -p -r1.52 -r1.53
--- mgetty.spec	25 Jul 2009 12:08:47 -0000	1.52
+++ mgetty.spec	14 Sep 2009 12:17:29 -0000	1.53
@@ -3,7 +3,7 @@
 Summary: A getty replacement for use with data and fax modems
 Name: mgetty
 Version: 1.1.36
-Release: 4%{?dist}
+Release: 5%{?dist}
 Source: ftp://mgetty.greenie.net/pub/mgetty/source/1.1/mgetty%{version}-%{date}.tar.gz
 Source1: ftp://mgetty.greenie.net/pub/mgetty/source/1.1/mgetty%{version}-%{date}.tar.gz.asc
 Source2: logrotate.mgetty
@@ -176,10 +176,12 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/g3topbm
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/install-info %{_infodir}/mgetty.info.gz %{_infodir}/dir --entry="* mgetty: (mgetty).		Package to handle faxes, voicemail and more." || :
+if [ -f %{_infodir}/mgetty.inf* ]; then
+	/sbin/install-info %{_infodir}/mgetty.info.gz %{_infodir}/dir --entry="* mgetty: (mgetty).		Package to handle faxes, voicemail and more." || :
+fi
 
 %preun
-if [ $1 = 0 ]; then
+if [ -f %{_infodir}/mgetty.inf* ]; then
     /sbin/install-info --delete %{_infodir}/mgetty.info.gz %{_infodir}/dir --entry="* mgetty: (mgetty). 	Package to handle faxes, voicemail and more." || :
 fi
 
@@ -319,6 +321,9 @@ fi
 %{_mandir}/man1/viewfax.1*
 
 %changelog
+* Mon Sep 14 2009 Jiri Skala <jskala at redhat.com> - 1.1.36-5
+- fixed #516001 - Errors installing mgetty with --excludedocs
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.36-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the scm-commits mailing list