[DRE-commits] [ruby-devise] 10/13: unapply patches only after build
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sun Jan 3 12:54:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-devise.
commit 5bb12da93a29f4a71432e3c69f60c04ba315a9ad
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sun Jan 3 17:30:34 2016 +0530
unapply patches only after build
---
debian/rules | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 4834d54..e7d3cd9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,12 @@ override_dh_auto_install:
clean:
if test -f lib/devise.rb; then echo "not touching lib"; \
else rm -rf lib; fi
- if test -d debian/lib; then mv debian/lib .; fi
- dh clean --buildsystem=ruby --with ruby
+ if test -d debian/lib; then mv debian/lib .;\
+ patch --reverse lib/generators/devise/install_generator.rb \
+ < debian/patches/locales.patch; \
+ patch --reverse lib/devise/rails.rb < debian/patches/engine-root.rb; \
+ fi
sed -i s/$$(ruby -r ./lib/devise/version -e \
"puts Devise::VERSION")/VERSION/ debian/install
+ dh clean --buildsystem=ruby --with ruby
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-devise.git
More information about the Pkg-ruby-extras-commits
mailing list