[DRE-commits] [SCM] ruby-ffi.git branch, master, updated. debian/1.0.11debian-3-6-g234ee33

Antonio Terceiro terceiro at debian.org
Sat Jun 30 13:54:59 UTC 2012


The following commit has been merged in the master branch:
commit 7afef9133215c7b1babccf84b243fc2c14531c56
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Jun 30 10:44:09 2012 -0300

    Generate gemspec with rake before installing

diff --git a/debian/changelog b/debian/changelog
index 6c2be69..e3deced 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ ruby-ffi (1.0.11debian-4) UNRELEASED; urgency=low
   * debian/ruby-tests-rb: re-enable tests
   * debian/patches/disable-rake-compiler.patch: disable rake-compiler
     requirement in Rakefile, not needed.
+  * debian/rules: generate gemspec with rake before dh_auto_install (added
+    rake as build dependency)
 
  -- Antonio Terceiro <terceiro at debian.org>  Sat, 30 Jun 2012 10:10:11 -0300
 
diff --git a/debian/control b/debian/control
index 865c194..bc56f9b 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Antonio Terceiro <terceiro at debian.org>, Micah Anderson <micah at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), libffi-dev, ruby-rspec
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), libffi-dev, ruby-rspec, rake
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-ffi.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-ffi.git;a=summary
diff --git a/debian/rules b/debian/rules
index fad2bd8..2dbffee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,11 @@ endif
 %:
 	dh $@ --buildsystem=ruby --with ruby
 
+override_dh_auto_install:
+	rake gem:spec
+	dh_auto_install
+
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf build/
+	$(RM) ffi.gemspec

-- 
ruby-ffi.git



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