rpms/make/devel make.spec,1.48,1.49

Petr Machata pmachata at fedoraproject.org
Tue Aug 11 14:09:32 UTC 2009


Author: pmachata

Update of /cvs/pkgs/rpms/make/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2877

Modified Files:
	make.spec 
Log Message:
- Fix installation with --excludedocs
- Resolves: #515917
- Change previous ChangeLog entry, it turned out that that commit actually did resolve the mentioned bug.



Index: make.spec
===================================================================
RCS file: /cvs/pkgs/rpms/make/devel/make.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -p -r1.48 -r1.49
--- make.spec	31 Jul 2009 11:48:15 -0000	1.48
+++ make.spec	11 Aug 2009 14:09:31 -0000	1.49
@@ -3,7 +3,7 @@ Summary: A GNU tool which simplifies the
 Name: make
 Epoch: 1
 Version: 3.81
-Release: 17%{?dist}
+Release: 18%{?dist}
 License: GPLv2+
 Group: Development/Tools
 URL: http://www.gnu.org/software/make/
@@ -65,11 +65,15 @@ echo ============END TESTING===========
 rm -rf ${RPM_BUILD_ROOT}
 
 %post
-/sbin/install-info %{_infodir}/make.info.gz %{_infodir}/dir --entry="* Make: (make).                 The GNU make utility." || :
+if [ -f %{_infodir}/make.info.gz ]; then # for --excludedocs
+   /sbin/install-info %{_infodir}/make.info.gz %{_infodir}/dir --entry="* Make: (make).                 The GNU make utility." || :
+fi
 
 %preun
 if [ $1 = 0 ]; then
-   /sbin/install-info --delete %{_infodir}/make.info.gz %{_infodir}/dir --entry="* Make: (make).                 The GNU make utility." || :
+   if [ -f %{_infodir}/make.info.gz ]; then # for --excludedocs
+      /sbin/install-info --delete %{_infodir}/make.info.gz %{_infodir}/dir --entry="* Make: (make).                 The GNU make utility." || :
+   fi
 fi
 
 %files  -f %{name}.lang
@@ -80,9 +84,12 @@ fi
 %{_infodir}/*.info*
 
 %changelog
+* Tue Aug 11 2009 Petr Machata <pmachata at redhat.com> - 1:3.81-18
+- Fix installation with --excludedocs
+- Resolves: #515917
+
 * Fri Jul 31 2009 Petr Machata <pmachata at redhat.com> - 1:3.81-17
-- Replace the use of strcpy on overlapping areas with memmove.  It's
-  possible that this ...
+- Replace the use of strcpy on overlapping areas with memmove
 - Resolves: #514721
 
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:3.81-16




More information about the scm-commits mailing list