rpms/emacs/devel emacs.spec,1.153,1.154

Karel Klíč kklic at fedoraproject.org
Tue Feb 9 14:39:49 UTC 2010


Author: kklic

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

Modified Files:
	emacs.spec 
Log Message:
Added a comment about alternatives(8) in %%posttrans to the spec file


Index: emacs.spec
===================================================================
RCS file: /cvs/extras/rpms/emacs/devel/emacs.spec,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -p -r1.153 -r1.154
--- emacs.spec	14 Jan 2010 12:16:03 -0000	1.153
+++ emacs.spec	9 Feb 2010 14:39:49 -0000	1.154
@@ -4,7 +4,7 @@ Summary: GNU Emacs text editor
 Name: emacs
 Epoch: 1
 Version: 23.1
-Release: 23%{?dist}
+Release: 24%{?dist}
 License: GPLv3+
 URL: http://www.gnu.org/software/emacs/
 Group: Applications/Editors
@@ -331,6 +331,8 @@ alternatives --remove emacs %{_bindir}/e
 
 %posttrans
 #check if there is "remainder" old version, which was not deleted
+# the check can be removed for Fedora 14, as the bug it handled was
+# present only in some old Emacs package version
 if alternatives --display emacs > /dev/null; then
 VER=$(alternatives --display emacs | sed -ne 's/.*emacs-\([0-9\.]\+\).*/\1/p' | head -1)
 if [ ${VER} != %{version} ]; then
@@ -345,6 +347,8 @@ alternatives --remove emacs %{_bindir}/e
 
 %posttrans nox
 #check if there is "remainder" old version, which was not deleted
+# the check can be removed for Fedora 14, as the bug it handled was
+# present only in some old Emacs package version
 if alternatives --display emacs > /dev/null; then
 VER=$(alternatives --display emacs | sed -ne 's/.*emacs-\([0-9\.]\+\).*/\1/p' | head -1)
 if [ ${VER} != %{version} ]; then
@@ -415,6 +419,9 @@ alternatives --install %{_bindir}/etags 
 %dir %{_datadir}/emacs/%{version}
 
 %changelog
+* Tue Feb  9 2010 Karel Klic <kklic at redhat.com> 1:23.1-24
+- Added a comment about alternatives(8) in %%posttrans to the spec file
+
 * Thu Jan 14 2010 Jonathan G. Underwood <jonathan.underwood at gmail.com> 1:23.1-23
 - Add patch to fix rhbz#547566 (from Juanma Barranquero)
 



More information about the scm-commits mailing list