[DRE-commits] r2377 - in packages/libgems-ruby/trunk/debian: . patches

daigo at alioth.debian.org daigo at alioth.debian.org
Tue Dec 25 12:25:14 UTC 2007


Author: daigo
Date: 2007-12-25 12:25:14 +0000 (Tue, 25 Dec 2007)
New Revision: 2377

Added:
   packages/libgems-ruby/trunk/debian/patches/02_rakefile.dpatch
Modified:
   packages/libgems-ruby/trunk/debian/changelog
   packages/libgems-ruby/trunk/debian/patches/00list
   packages/libgems-ruby/trunk/debian/rules
Log:
* Added debian/patches/02_rakefile.dpatch: rubygems is not required for
  Rakefile. 

Modified: packages/libgems-ruby/trunk/debian/changelog
===================================================================
--- packages/libgems-ruby/trunk/debian/changelog	2007-12-25 12:09:43 UTC (rev 2376)
+++ packages/libgems-ruby/trunk/debian/changelog	2007-12-25 12:25:14 UTC (rev 2377)
@@ -1,6 +1,8 @@
 libgems-ruby (1.0.1-1) unstable; urgency=low
 
   * New upstream release.
+  * Added debian/patches/02_rakefile.dpatch: rubygems is not required for
+    Rakefile. 
 
  -- Daigo Moriwaki <daigo at debian.org>  Tue, 25 Dec 2007 21:04:14 +0900
 

Modified: packages/libgems-ruby/trunk/debian/patches/00list
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/00list	2007-12-25 12:09:43 UTC (rev 2376)
+++ packages/libgems-ruby/trunk/debian/patches/00list	2007-12-25 12:25:14 UTC (rev 2377)
@@ -1,4 +1,5 @@
 01_default_gem_path.dpatch
+02_rakefile.dpatch
 03_disable_update_system.dpatch
 08_tighter_search_regex.dpatch
 21_avoid_ioseek.dpatch

Added: packages/libgems-ruby/trunk/debian/patches/02_rakefile.dpatch
===================================================================
--- packages/libgems-ruby/trunk/debian/patches/02_rakefile.dpatch	                        (rev 0)
+++ packages/libgems-ruby/trunk/debian/patches/02_rakefile.dpatch	2007-12-25 12:25:14 UTC (rev 2377)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_rakefile.dpatch by Daigo Moriwaki <daigo at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: rubygems is not required.
+
+ at DPATCH@
+diff -urNad trunk~/Rakefile trunk/Rakefile
+--- trunk~/Rakefile	2007-12-21 10:33:11.000000000 +0900
++++ trunk/Rakefile	2007-12-25 21:15:37.000000000 +0900
+@@ -6,7 +6,7 @@
+ # See LICENSE.txt for permissions.
+ #++
+ 
+-require 'rubygems'
++#require 'rubygems'
+ require 'rake/clean'
+ require 'rake/testtask'
+ require 'rake/packagetask'


Property changes on: packages/libgems-ruby/trunk/debian/patches/02_rakefile.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/libgems-ruby/trunk/debian/rules
===================================================================
--- packages/libgems-ruby/trunk/debian/rules	2007-12-25 12:09:43 UTC (rev 2376)
+++ packages/libgems-ruby/trunk/debian/rules	2007-12-25 12:25:14 UTC (rev 2377)
@@ -47,7 +47,7 @@
 
 install:
 	$(RUBY18) setup.rb --no-rdoc --no-ri --prefix=debian/tmp
-	$(RUBY18) -rfileutils -e "FileUtils::mkdir_p 'debian/tmp$(RUBY18LIBDIR)'"
+	mkdir -p debian/tmp$(RUBY18LIBDIR)
 	$(RAKE) rdoc
 	mv debian/tmp/lib/* debian/tmp$(RUBY18LIBDIR)/
 	mv debian/tmp/bin debian/tmp/usr/




More information about the Pkg-ruby-extras-commits mailing list