[DRE-commits] [ruby-ffi] 06/06: prepare for upload

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Oct 11 22:56:15 UTC 2014


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

terceiro pushed a commit to branch master
in repository ruby-ffi.

commit f42624e877a6514140d4db1a267c1ca6fded79b0
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Oct 11 19:52:22 2014 -0300

    prepare for upload
---
 debian/changelog     | 8 ++++++--
 debian/ruby-tests.rb | 6 ------
 debian/rules         | 2 ++
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4df03a1..344e6b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,13 @@
-ruby-ffi (1.9.6debian-1) UNRELEASED; urgency=medium
+ruby-ffi (1.9.6debian-1) unstable; urgency=medium
 
   * New upstream release
   * debian/patches/disable-rake-compiler.patch: refresh
+  * debian/repack.sh: remove object files included in upstream source
+  * debian/ruby-tests.rb: removed step to compile the test library since the
+    upstream test suite will now do that for us
+  * debian/rules: properly clean artifacts of the test library build
 
- -- Antonio Terceiro <terceiro at debian.org>  Sat, 11 Oct 2014 19:11:33 -0300
+ -- Antonio Terceiro <terceiro at debian.org>  Sat, 11 Oct 2014 19:52:12 -0300
 
 ruby-ffi (1.9.3debian-3) unstable; urgency=medium
 
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 36751de..69922a4 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,10 +1,4 @@
-# build the test lib for this Ruby version
-system('make -f libtest/GNUmakefile') or raise("Failed to build test library")
-
 require 'rspec/autorun'
 Dir.glob('./spec/*/*_spec.rb').each do |spec|
   require spec
 end
-
-# cleanup test library
-require 'fileutils'
diff --git a/debian/rules b/debian/rules
index d7fcfe8..83854b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,8 @@ platform_dir := debian/ruby-ffi/usr/lib/ruby/vendor_ruby/ffi/platform
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf build/
+	rm -f spec/ffi/fixtures/*.so
+	rm -f spec/ffi/fixtures/*.o
 
 gen_arch_config:
 	(cd ext/ffi_c && ruby extconf.rb && make && cp ffi_c.so ../../lib)

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



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