[emacs/f20] /usr/bin/emacs-nox link marked as %ghost file (#1123573)

Petr Hracek phracek at fedoraproject.org
Mon Aug 4 08:38:01 UTC 2014


commit 2c2fff5d1511c1b441cc5c5535f10a3aeceac765
Author: Petr Hracek <phracek at redhat.com>
Date:   Mon Aug 4 10:37:23 2014 +0200

    /usr/bin/emacs-nox link marked as %ghost file (#1123573)

 emacs.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/emacs.spec b/emacs.spec
index 30d5f3c..d48c865 100644
--- a/emacs.spec
+++ b/emacs.spec
@@ -3,7 +3,7 @@ Summary: GNU Emacs text editor
 Name: emacs
 Epoch: 1
 Version: 24.3
-Release: 19%{?dist}
+Release: 20%{?dist}
 License: GPLv3+
 URL: http://www.gnu.org/software/emacs/
 Group: Applications/Editors
@@ -289,6 +289,8 @@ cd ..
 # Let alternatives manage the symlink
 rm %{buildroot}%{_bindir}/emacs
 touch %{buildroot}%{_bindir}/emacs
+rm %{buildroot}%{_bindir}/emacs-nox
+touch %{buildroot}%{_bindir}/emacs-nox
 
 # Do not compress the files which implement compression itself (#484830)
 gunzip %{buildroot}%{_datadir}/emacs/%{version}/lisp/jka-compr.el.gz
@@ -436,7 +438,7 @@ update-desktop-database &> /dev/null || :
 
 %files nox
 %{_bindir}/emacs-%{version}-nox
-%attr(0755,-,-) %ghost %{_bindir}/emacs
+%attr(0755,-,-) %ghost %{_bindir}/emacs-nox
 
 %files -f common-filelist common
 %config(noreplace) %{_sysconfdir}/skel/.emacs
@@ -472,6 +474,9 @@ update-desktop-database &> /dev/null || :
 %dir %{_datadir}/emacs/site-lisp/site-start.d
 
 %changelog
+* Mon Aug 04 2014 Petr Hracek <phracek at redhat.com> - 1:24.3-20
+- /usr/bin/emacs-nox link marked as %ghost file (#1123573)
+
 * Fri Aug 01 2014 Petr Hracek <phracek at redhat.com> - 1:24.3-19
 - Provide /usr/bin/emacs-nox (#1123573)
 


More information about the scm-commits mailing list