[DRE-commits] r2785 - packages/libgems-ruby/trunk/debian

daigo at alioth.debian.org daigo at alioth.debian.org
Sat Jun 14 14:18:28 UTC 2008


Author: daigo
Date: 2008-06-14 14:18:27 +0000 (Sat, 14 Jun 2008)
New Revision: 2785

Added:
   packages/libgems-ruby/trunk/debian/README.Debian
Removed:
   packages/libgems-ruby/trunk/debian/rubygems1.8.README.Debian
Modified:
   packages/libgems-ruby/trunk/debian/rules
Log:
Fixed debian/rules to correctly replace VERSION with 1.9. Merged to debian/README.Debian

Copied: packages/libgems-ruby/trunk/debian/README.Debian (from rev 2777, packages/libgems-ruby/trunk/debian/rubygems1.8.README.Debian)
===================================================================
--- packages/libgems-ruby/trunk/debian/README.Debian	                        (rev 0)
+++ packages/libgems-ruby/trunk/debian/README.Debian	2008-06-14 14:18:27 UTC (rev 2785)
@@ -0,0 +1,20 @@
+Notes for rubygems{1.8|1.9} in Debian
+=====================================
+
+Since some patches are applied to fit Debian FHS, Debian's RubyGems behaves
+a bit differently than the original.
+
+* Directory where gems are to be installed
+
+/var/lib/gems is default in Debian instead of /usr/lib/gems. You can
+override it by defining GEM_HOME environment variable. 
+
+* Executables provided by gems
+
+Gems which Debian's RubyGems will install are stored at /var/lib/gems instead
+of /usr/lib/ruby/gems. Executables of the gems will be put at
+/var/lib/gems/{1.8|1.9.0}/bin. In order to use them you manually have to
+add the directory in your PATH environment variable or make symbolic links at
+/usr/bin or /usr/local/bin.
+
+ -- Daigo Moriwaki <daigo at debian.org>  Mon, 09 Jun 2008

Deleted: packages/libgems-ruby/trunk/debian/rubygems1.8.README.Debian
===================================================================
--- packages/libgems-ruby/trunk/debian/rubygems1.8.README.Debian	2008-06-14 10:35:07 UTC (rev 2784)
+++ packages/libgems-ruby/trunk/debian/rubygems1.8.README.Debian	2008-06-14 14:18:27 UTC (rev 2785)
@@ -1,25 +0,0 @@
-libgems-ruby for Debian
------------------------
-
-Some patches are applied to fit Debian FHS
-
-* Directory where gems are to be installed
-
-/var/lib/gems is used in Debian. However, you can override it by defining
-GEM_HOME environment variable. If you go with your GEM_HOME, some files should
-be manually installed.
-  $ cp -r /var/lib/gems/1.8/gems/sources-0.0.1 $GEM_HOME/gems/
-  $ cp    /var/lib/gems/1.8/specifications/sources-0.0.1.gemspec \
-          $GEM_HOME/specifications/
-Replace version numbers above with what you really have. 
-
-
-* Executables in gems
-
-Gems which Debian's RubyGems will install are stored at /var/lib/gems instead
-of /usr/lib/ruby/gems. Executables of the gems will be put at
-/var/lib/gems/1.8/bin (for Ruby 1.8). In order to use them you manually have to
-add the directory in your PATH environment variable or make symbolic links at
-/usr/bin.
-
- -- Daigo Moriwaki <daigo at debian.org>  Sat, 22 Apr 2006

Modified: packages/libgems-ruby/trunk/debian/rules
===================================================================
--- packages/libgems-ruby/trunk/debian/rules	2008-06-14 10:35:07 UTC (rev 2784)
+++ packages/libgems-ruby/trunk/debian/rules	2008-06-14 14:18:27 UTC (rev 2785)
@@ -3,7 +3,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/dpatch.mk
 
-DEB_INSTALL_CHANGELOGS_ALL = ChangeLog
+DEB_INSTALL_CHANGELOGS_ALL = ChangeLog debian/README.Debian
 
 RUBY18 = /usr/bin/ruby1.8
 RUBY19 = /usr/bin/ruby1.9
@@ -57,7 +57,7 @@
 	find $(CURDIR)/debian/ -type f -name "*.in" | \
 	  while read fname; \
 	  do \
-	    sed -e 's/@@VERSION@@/1\.8/g' -e 's/@@DOTLESS_VERSION@@/18/g' \
+	    sed -e 's/@@VERSION@@/1\.9/g' -e 's/@@DOTLESS_VERSION@@/19/g' \
 		< $$fname > `expr $$fname : '\(.*\)\.in$$'`1.9; \
 	  done; \
 	  : \




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