[DRE-commits] [SCM] ruby-rr.git branch, master, updated. upstream/1.0.5-16-g9910508
Praveen Arimbrathodiyil
praveen at debian.org
Fri Apr 26 18:58:10 UTC 2013
The following commit has been merged in the master branch:
commit 250a5f321612cdbe7e9dd0a604cb1cc7429ea1d0
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Apr 27 00:05:29 2013 +0530
correct unable to find VERSION issue
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c9f1789
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use_moved_VERSION.patch
diff --git a/debian/patches/use_moved_VERSION.patch b/debian/patches/use_moved_VERSION.patch
new file mode 100644
index 0000000..db255df
--- /dev/null
+++ b/debian/patches/use_moved_VERSION.patch
@@ -0,0 +1,9 @@
+--- a/lib/rr/version.rb
++++ b/lib/rr/version.rb
+@@ -1,5 +1,5 @@
+
+ module RR
+- VERSION = File.read(File.expand_path('../../../VERSION', __FILE__)).strip
++ VERSION = File.read(File.expand_path('../rr/VERSION', __FILE__)).strip
+ def self.version; VERSION; end
+ end
diff --git a/debian/rules b/debian/rules
index b2793a0..1ed7fb8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,5 +14,10 @@
%:
dh $@ --buildsystem=ruby --with ruby
+#move VERSION file inside lib/rr
+override_dh_auto_install:
+ cp VERSION lib/rr/VERSION
+ dh_auto_install
+
override_dh_installchangelogs:
dh_installchangelogs CHANGES.md
--
ruby-rr.git
More information about the Pkg-ruby-extras-commits
mailing list