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

This commit is contained in:
Petr Hracek 2014-08-04 10:07:40 +02:00
parent 503309baac
commit 9ec93c528a

View File

@ -3,7 +3,7 @@ Summary: GNU Emacs text editor
Name: emacs
Epoch: 1
Version: 24.3
Release: 20%{?dist}
Release: 21%{?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@redhat.com> - 1:24.3-21
- /usr/bin/emacs-nox link marked as %ghost file (#1123573)
* Fri Aug 01 2014 Petr Hracek <phracek@redhat.com> - 1:24.3-20
- Provide /usr/bin/emacs-nox (#1123573)