[DRE-commits] [ruby-passenger] 04/11: Build for Ruby 2.0 instead of 1.8.

Felix Geyer fgeyer at moszumanska.debian.org
Sat Nov 23 10:22:06 UTC 2013


This is an automated email from the git hooks/post-receive script.

fgeyer pushed a commit to branch master
in repository ruby-passenger.

commit 1757d5b9144851108d87ace8d96949349aaf8fb1
Author: Felix Geyer <fgeyer at debian.org>
Date:   Fri Nov 22 18:46:48 2013 +0100

    Build for Ruby 2.0 instead of 1.8.
---
 debian/changelog | 1 +
 debian/rules     | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bd68d03..a5914f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-passenger (4.0.20-1) UNRELEASED; urgency=low
 
   * New upstream release.
   * Refresh fix_install_path.patch.
+  * Build for Ruby 2.0 instead of 1.8.
 
  -- Felix Geyer <fgeyer at debian.org>  Thu, 10 Oct 2013 23:06:56 +0200
 
diff --git a/debian/rules b/debian/rules
index 09b63c9..3ca8be5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,21 +11,21 @@ export USE_VENDORED_LIBEV=false
 	dh $@ --buildsystem=ruby --with ruby,apache2,autoreconf
 
 override_dh_auto_build:
-	/usr/bin/ruby1.8 /usr/bin/rake fakeroot
-	mv pkg/fakeroot pkg/fakeroot1.8
 	/usr/bin/ruby1.9.1 /usr/bin/rake fakeroot
 	mv pkg/fakeroot pkg/fakeroot1.9.1
+	/usr/bin/ruby2.0 /usr/bin/rake fakeroot
+	mv pkg/fakeroot pkg/fakeroot2.0
 
 override_dh_auto_install:
 	mkdir debian/tmp/
-	cp -a pkg/fakeroot1.8/* debian/tmp/
 	cp -a pkg/fakeroot1.9.1/* debian/tmp/
+	cp -a pkg/fakeroot2.0/* debian/tmp/
 	rm -f debian/tmp/usr/share/doc/phusion-passenger/images/._phusion_banner.png
 
 override_dh_auto_clean:
 	dh_auto_clean -O--buildsystem=ruby
-	rm -rf pkg/fakeroot1.8
 	rm -rf pkg/fakeroot1.9.1
+	rm -rf pkg/fakeroot2.0
 
 override_dh_install:
 	dh_install --list-missing -O--buildsystem=ruby

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-passenger.git



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