From b12114a7c7884ec74e0561439df1f49303cbaf32 Mon Sep 17 00:00:00 2001 From: Karel Klic Date: Fri, 13 Jul 2012 11:03:08 +0200 Subject: [PATCH] Remove php-mode from the main package. It should be packaged separately. rhbz#751749 --- emacs.spec | 11 ++++++----- php-mode-init.el | 7 ------- sources | 1 - 3 files changed, 6 insertions(+), 13 deletions(-) delete mode 100644 php-mode-init.el diff --git a/emacs.spec b/emacs.spec index 7ab9904..4f4f863 100644 --- a/emacs.spec +++ b/emacs.spec @@ -3,7 +3,7 @@ Summary: GNU Emacs text editor Name: emacs Epoch: 1 Version: 24.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -12,8 +12,6 @@ Source1: emacs.desktop Source2: emacsclient.desktop Source3: dotemacs.el Source4: site-start.el -Source7: http://php-mode.svn.sourceforge.net/svnroot/php-mode/tags/php-mode-1.5.0/php-mode.el -Source8: php-mode-init.el # rpm-spec-mode from XEmacs Source10: rpm-spec-mode.el Source11: rpm-spec-mode-init.el @@ -161,7 +159,7 @@ packages that add functionality to Emacs. %patch9 -p1 -b .nogets # Install site-lisp files -cp %SOURCE7 %SOURCE10 site-lisp +cp %SOURCE10 site-lisp pushd site-lisp %patch1 -p0 %patch2 -p0 @@ -291,7 +289,7 @@ mv %{buildroot}%{_bindir}/{ctags,gctags} install -p -m 0644 site-lisp/*.el{,c} %{buildroot}%{site_lisp} mkdir -p %{buildroot}%{site_lisp}/site-start.d -install -p -m 0644 %SOURCE8 %SOURCE11 %SOURCE13 %{buildroot}%{site_lisp}/site-start.d +install -p -m 0644 %SOURCE11 %SOURCE13 %{buildroot}%{site_lisp}/site-start.d # Default initialization file mkdir -p %{buildroot}%{_sysconfdir}/skel @@ -443,6 +441,9 @@ update-desktop-database &> /dev/null || : %dir %{_datadir}/emacs/site-lisp/site-start.d %changelog +* Fri Jul 13 2012 Karel Klíč - 1:24.1-4 +- Remove php-mode from the main package. It should be packaged separately. rhbz#751749 + * Wed Jul 11 2012 Karel Klíč - 1:24.1-3 - Fix org-mode to work without emacs-el installed. rhbz#830162 - Fix building without gets function, which is removed from recent version of glibc. diff --git a/php-mode-init.el b/php-mode-init.el deleted file mode 100644 index db1d2f7..0000000 --- a/php-mode-init.el +++ /dev/null @@ -1,7 +0,0 @@ -;; Use php-mode for .php,.php3,.php4 and .phtml files - -(autoload 'php-mode "php-mode" "Major mode for editing PHP code." t) - -(add-to-list 'auto-mode-alist - '("\\.php[34]\\'\\|\\.php\\'\\|\\.phtml\\'" . php-mode)) - diff --git a/sources b/sources index e91e980..e47992b 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ 8ba0932c498bc8fb10d7ddba52227e5b emacs-24.1.tar.bz2 -d9a1e06bb579950c58fd3c1d8e813ce6 php-mode.el