[packages/ruby] drop emacs ruby-mode, it is now provided by the emacs package (emacs-23.2.x) itself

glen glen at pld-linux.org
Thu Mar 21 15:59:20 CET 2013


commit e5a5555132f536decb16abfad7b512eb1c9d0fb6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Mar 21 16:39:11 2013 +0200

    drop emacs ruby-mode, it is now provided by the emacs package (emacs-23.2.x) itself
    
    this is according to fedora:
    http://pkgs.fedoraproject.org/cgit/ruby.git/commit/ruby.spec?id=84e77dfb4d03c2ab81a1a265845c895f8ed738b1

 ruby.spec | 37 -------------------------------------
 1 file changed, 37 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index 187245d..80c89bc 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -7,7 +7,6 @@
 #
 # Conditional build:
 %bcond_without	doc		# skip (time-consuming) docs generating; intended for speed up test builds
-%bcond_without	emacs		# skip building package with ruby-mode for emacs
 %bcond_without	tk		# skip building package with Tk bindings
 %bcond_without	batteries	# Don't include rubygems, json or rake
 %bcond_with	bootstrap	# build bootstrap version
@@ -53,7 +52,6 @@ BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
 BuildRequires:	bison
 BuildRequires:	db-devel
-%{?with_emacs:BuildRequires:	emacs}
 BuildRequires:	gdbm-devel >= 1.8.3
 BuildRequires:	libffi-devel
 BuildRequires:	ncurses-devel
@@ -221,19 +219,6 @@ Ruby examples.
 %description examples -l pl.UTF-8
 Przykłady programów w języku Ruby.
 
-%package emacs-mode
-Summary:	Ruby mode and debugger for Emacs
-Summary(pl.UTF-8):	Tryb Ruby i debugger dla Emacsa
-Group:		Development/Tools
-Requires:	%{name}-modules = %{epoch}:%{version}-%{release}
-Requires:	emacs-common
-
-%description emacs-mode
-Ruby mode and debugger for Emacs.
-
-%description emacs-mode -l pl.UTF-8
-Tryb Ruby i debugger dla Emacsa.
-
 %prep
 %if %{with bootstrap}
 %setup -q -n %{name}-%{basever}-p%{patchlevel} -a1 -a2 -a3 -a100
@@ -303,19 +288,6 @@ cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1
 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/ri/%{ruby_ver}/system/JSON
 %endif
 
-# ruby emacs mode - borrowed from FC-4
-%if %{with emacs}
-install -d $RPM_BUILD_ROOT%{_emacs_lispdir}/{%{name}-mode,site-start.d}
-cp -a misc/*.el $RPM_BUILD_ROOT%{_emacs_lispdir}/%{name}-mode
-%{__rm} $RPM_BUILD_ROOT%{_emacs_lispdir}/%{name}-mode/rubydb2x.el*
-install -p %{SOURCE6} $RPM_BUILD_ROOT%{_emacs_lispdir}/site-start.d
-cat << 'EOF' > path.el
-(setq load-path (cons "." load-path) byte-compile-warnings nil)
-EOF
-emacs --no-site-file -q -batch -l path.el -f batch-byte-compile $RPM_BUILD_ROOT%{_emacs_lispdir}/%{name}-mode/*.el
-%{__rm} path.el*
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -484,12 +456,3 @@ rm -rf $RPM_BUILD_ROOT
 %files examples
 %defattr(644,root,root,755)
 %{_examplesdir}/%{name}-%{version}
-
-%if %{with emacs}
-%files emacs-mode
-%defattr(644,root,root,755)
-%doc misc/*
-%dir %{_emacs_lispdir}/%{name}-mode
-%{_emacs_lispdir}/%{name}-mode/*.elc
-%{_emacs_lispdir}/site-start.d/*.el
-%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/e5a5555132f536decb16abfad7b512eb1c9d0fb6



More information about the pld-cvs-commit mailing list