[DRE-commits] [SCM] ruby-bdb.git branch, debian-sid, updated. debian/0.6.5-7-3-gec52151

Gunnar Wolf gwolf at gwolf.org
Wed Jun 1 15:33:10 UTC 2011


The following commit has been merged in the debian-sid branch:
commit ec5215161a7a25583d804657ae6a055dcdf3c227
Author: Gunnar Wolf <gwolf at gwolf.org>
Date:   Wed Jun 1 10:21:20 2011 -0500

    Create tmp/ directories needed if they are unavailable

diff --git a/debian/changelog b/debian/changelog
index 44f0461..c297d4d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,8 +19,10 @@ ruby-bdb (0.6.5-7) unstable; urgency=low
 
   [ Gunnar Wolf ]
   * Clarified and completed debian/copyright information
+  * Create tmp/ directories needed for running the tests if they are
+    unavailable (Git does not track empty directories)
 
- -- Gunnar Wolf <gwolf at debian.org>  Wed, 01 Jun 2011 09:54:13 -0500
+ -- Gunnar Wolf <gwolf at debian.org>  Wed, 01 Jun 2011 10:21:01 -0500
 
 libdb-ruby (0.6.5-6) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index abd449f..591a28e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,12 @@ export DH_RUBY_GEMSPEC=debian/bdb.gemspec
 
 override_dh_installdocs:
 	dh_installdocs -O--buildsystem=ruby -X*.rd -X*.rb
+
+override_dh_clean:
+	dh_clean
+	# This package is maintained in a Git repository, and empty
+	# directories are not tracked by Git. In order to run the test
+	# suite, create the needed tmp/ directories if they are not
+	# present
+	mkdir -p bdbxml2/tests/tmp bdbxml2/examples/tmp bdbxml2/tmp tests/tmp \
+	    bdbxml1/tests/tmp bdbxml1/examples/tmp bdbxml1/tmp examples/tmp tmp

-- 
ruby-bdb.git



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