[DRE-commits] [ruby-rspec] 12/25: additional clean-up

Cédric Boutillier boutil at moszumanska.debian.org
Sat Mar 28 20:34:12 UTC 2015


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

boutil pushed a commit to branch no_submodules
in repository ruby-rspec.

commit c2c1a60ae375e274a14c77da02d2f367167e5d5b
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Mar 24 23:01:38 2015 +0100

    additional clean-up
---
 debian/rules | 27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

diff --git a/debian/rules b/debian/rules
index d3b72ed..9b3be54 100755
--- a/debian/rules
+++ b/debian/rules
@@ -101,23 +101,16 @@ override_dh_installman:
 	dh_installman
 
 override_dh_auto_install:
-	DH_RUBY_GEMSPEC=debian/rspec.gemspec dh_auto_install -pruby-rspec
-	DH_RUBY_GEMSPEC=debian/rspec-core.gemspec dh_auto_install -pruby-rspec-core
-	DH_RUBY_GEMSPEC=debian/rspec-expectations.gemspec dh_auto_install -pruby-rspec-expectations
-	DH_RUBY_GEMSPEC=debian/rspec-mocks.gemspec dh_auto_install -pruby-rspec-mocks
-	DH_RUBY_GEMSPEC=debian/rspec-support.gemspec dh_auto_install -pruby-rspec-support
-	rm -rf debian/ruby-rspec-core/usr/lib/ruby/vendor_ruby/autotest/
+	# need to have rspec in bin/ to be correctly autoinstalled
+	dh_install -pruby-rspec-core rspec-core/exe/rspec usr/bin
+	# create rspec-mocks/tmp used in tests
+	mkdir -p rspec-mocks/tmp
+	dh_auto_install
 
 override_dh_auto_clean:
+	rm -rf rspec-core/tmp/
+	rm -rf rspec-expectations/coverage/
+	rm -rf rspec-mocks/coverage/
+	rm -rf rspec-mocks/tmp
 	rm -rf man/
-	DH_RUBY_GEMSPEC=debian/rspec.gemspec dh_auto_clean -pruby-rspec
-	DH_RUBY_GEMSPEC=debian/rspec-core.gemspec dh_auto_clean -pruby-rspec-core
-	DH_RUBY_GEMSPEC=debian/rspec-expectations.gemspec dh_auto_clean -pruby-rspec-expectations
-	DH_RUBY_GEMSPEC=debian/rspec-mocks.gemspec dh_auto_clean -pruby-rspec-mocks
-	DH_RUBY_GEMSPEC=debian/rspec-support.gemspec dh_auto_clean -pruby-rspec-support
-
-override_dh_installchangelogs:
-	dh_installchangelogs -pruby-rspec-core rspec-core/Changelog.md -O--buildsystem=ruby
-	dh_installchangelogs -pruby-rspec-expectations rspec-expectations/Changelog.md -O--buildsystem=ruby
-	dh_installchangelogs -pruby-rspec-mocks rspec-mocks/Changelog.md -O--buildsystem=ruby
-	dh_installchangelogs -pruby-rspec-support rspec-support/Changelog.md -O--buildsystem=ruby
+	dh_auto_clean

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



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