[DRE-commits] r3199 - in packages/libhaml-ruby/trunk/debian: . patches

gwolf at alioth.debian.org gwolf at alioth.debian.org
Sat Feb 14 01:02:42 UTC 2009


Author: gwolf
Date: 2009-02-14 01:02:41 +0000 (Sat, 14 Feb 2009)
New Revision: 3199

Modified:
   packages/libhaml-ruby/trunk/debian/changelog
   packages/libhaml-ruby/trunk/debian/patches/get-version-from-right-path
Log:
Updated debian/patches/get-version-from-right-path for upstream
structure changes; preparing for upload


Modified: packages/libhaml-ruby/trunk/debian/changelog
===================================================================
--- packages/libhaml-ruby/trunk/debian/changelog	2009-02-13 18:32:54 UTC (rev 3198)
+++ packages/libhaml-ruby/trunk/debian/changelog	2009-02-14 01:02:41 UTC (rev 3199)
@@ -1,8 +1,9 @@
-libhaml-ruby (2.0.7-2) UNRELEASED; urgency=low
+libhaml-ruby (2.0.8-1) unstable; urgency=low
 
+  * New upstream release
   * Fixed debian/watch, which included "/" as part of the directory name
 
- -- Gunnar Wolf <gwolf at debian.org>  Fri, 13 Feb 2009 12:32:36 -0600
+ -- Gunnar Wolf <gwolf at debian.org>  Fri, 13 Feb 2009 18:56:19 -0600
 
 libhaml-ruby (2.0.7-1) unstable; urgency=low
 

Modified: packages/libhaml-ruby/trunk/debian/patches/get-version-from-right-path
===================================================================
--- packages/libhaml-ruby/trunk/debian/patches/get-version-from-right-path	2009-02-13 18:32:54 UTC (rev 3198)
+++ packages/libhaml-ruby/trunk/debian/patches/get-version-from-right-path	2009-02-14 01:02:41 UTC (rev 3199)
@@ -1,16 +1,16 @@
 # Upstream has defined that, at initialization, the version number should
 # be retrieved from the path this would be installed... Were it to be installed
 # as a Gem :-/ Fix that... In a somewhat dirty way, but still.
-Index: libhaml-ruby-2.0.6/lib/haml.rb
+Index: libhaml-ruby-2.0.8/lib/haml/version.rb
 ===================================================================
---- libhaml-ruby-2.0.6.orig/lib/haml.rb	2008-12-18 19:29:36.000000000 -0600
-+++ libhaml-ruby-2.0.6/lib/haml.rb	2008-12-18 19:34:39.000000000 -0600
-@@ -1002,7 +1002,7 @@
-   def self.version
-     return @@version if defined?(@@version)
+--- libhaml-ruby-2.0.8.orig/lib/haml/version.rb	2009-02-13 18:59:37.000000000 -0600
++++ libhaml-ruby-2.0.8/lib/haml/version.rb	2009-02-13 19:00:18.000000000 -0600
+@@ -8,7 +8,7 @@
+     def version
+       return @@version if defined?(@@version)
  
--    numbers = File.read(scope('VERSION')).strip.split('.').map { |n| n.to_i }
-+    numbers = File.read('/usr/lib/ruby/1.8/haml/VERSION').strip.split('.').map { |n| n.to_i }
-     @@version = {
-       :major => numbers[0],
-       :minor => numbers[1],
+-      numbers = File.read(scope('VERSION')).strip.split('.').map { |n| n.to_i }
++      numbers = File.read('/usr/lib/ruby/1.8/haml/VERSION').strip.split('.').map { |n| n.to_i }
+       @@version = {
+         :major => numbers[0],
+         :minor => numbers[1],




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