- Update macros.xemacs to treat epoch correctly and be consistent with

xemacs package
- Use site_start_d macro consistently
23.1-5
- emacs contains nxml-mode (#516391)
This commit is contained in:
Jonathan G. Underwood 2009-10-13 23:42:16 +00:00
parent 8c1b29cd80
commit d2c1a04f6c

View File

@ -4,7 +4,7 @@ Summary: GNU Emacs text editor
Name: emacs
Epoch: 1
Version: 23.1
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv3+
URL: http://www.gnu.org/software/emacs/
Group: Applications/Editors
@ -178,7 +178,7 @@ ${TOPDIR}/src/emacs %{bytecompargs} site-lisp/*.el
# Create pkgconfig file
cat > emacs.pc << EOF
sitepkglispdir=%{site_lisp}
sitestartdir=%{site_lisp}/site-start.d
sitestartdir=%{site_start_d}
Name: emacs
Description: GNU Emacs text editor
@ -188,7 +188,8 @@ EOF
# Create macros.emacs RPM macro file
cat > macros.emacs << EOF
%%_emacs_version %{version}
%%_emacs_epoch %{epoch}
%%_emacs_ev %{?epoch:%{epoch}:}%{version}
%%_emacs_evr %{?epoch:%{epoch}:}%{version}-%{release}
%%_emacs_sitelispdir %{site_lisp}
%%_emacs_sitestartdir %{site_start_d}
%%_emacs_bytecompile /usr/bin/emacs %bytecompargs
@ -381,6 +382,10 @@ alternatives --install %{_bindir}/etags emacs.etags %{_bindir}/etags.emacs 80 \
%dir %{_datadir}/emacs/%{version}
%changelog
* Wed Oct 14 2009 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1:23.1-6
- Update macros.xemacs to treat epoch correctly and be consistent with xemacs package
- Use site_start_d macro consistently
* Tue Sep 29 2009 Daniel Novotny <dnovotny@redhat.com> 1:23.1-5
- emacs contains nxml-mode (#516391)