[DRE-commits] [pry] 05/08: Prepare RSpec: create/remove empty files(can't handling quilt)
Youhei SASAKI
uwabami-guest at moszumanska.debian.org
Tue Aug 12 11:11:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
uwabami-guest pushed a commit to branch master
in repository pry.
commit a8fa523a8b6bd181172d9ba41765223c79d7431e
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Tue Aug 12 20:07:55 2014 +0900
Prepare RSpec: create/remove empty files(can't handling quilt)
Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
.../0002-Modify-upstream-spec-for-Debian-Package.patch | 13 ++++++-------
debian/rules | 15 +++++++++++++++
2 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/debian/patches/0002-Modify-upstream-spec-for-Debian-Package.patch b/debian/patches/0002-Modify-upstream-spec-for-Debian-Package.patch
index 3851efb..a0ecc1f 100644
--- a/debian/patches/0002-Modify-upstream-spec-for-Debian-Package.patch
+++ b/debian/patches/0002-Modify-upstream-spec-for-Debian-Package.patch
@@ -9,13 +9,8 @@ Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
2 files changed, 3 insertions(+), 6 deletions(-)
create mode 100644 Rakefile
-diff --git a/Rakefile b/Rakefile
-new file mode 100644
-index 0000000..e69de29
-diff --git a/spec/helper.rb b/spec/helper.rb
-index b579d8c..da296cf 100644
---- a/spec/helper.rb
-+++ b/spec/helper.rb
+--- pry.orig/spec/helper.rb
++++ pry/spec/helper.rb
@@ -1,15 +1,12 @@
require 'bundler/setup'
require 'pry/test/helper'
@@ -35,3 +30,7 @@ index b579d8c..da296cf 100644
class Module
public :remove_const
public :remove_method
+--- /dev/null
++++ pry/Rakefile
+@@ -0,0 +1 @@
++# dummy
diff --git a/debian/rules b/debian/rules
index 77d9421..07664bc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,18 @@ export DH_RUBY_IGNORE_TESTS=require-rubygems
%:
dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_build:
+ mkdir -p $(CURDIR)/spec/fixtures/slinky
+ touch $(CURDIR)/spec/fixtures/cat_load_path
+ touch $(CURDIR)/spec/fixtures/cat_load_path.rb
+ touch $(CURDIR)/spec/fixtures/slinky.rb
+ touch $(CURDIR)/spec/fixtures/slinky/slinky.rb
+ dh_auto_build
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -fr $(CURDIR)/spec/fixtures/cat_load_path
+ rm -fr $(CURDIR)/spec/fixtures/cat_load_path.rb
+ rm -fr $(CURDIR)/spec/fixtures/slinky.rb
+ rm -fr $(CURDIR)/spec/fixtures/slinky/slinky.rb
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/pry.git
More information about the Pkg-ruby-extras-commits
mailing list