[DRE-commits] [redmine-recaptcha] 01/01: - Added the right Vcs-* fields to debian/control. - debian/rules: Override the dh_install target with a post-install rename of all the .rhtml files to .html.erb.
David Martínez
ender at moszumanska.debian.org
Thu Jan 9 07:43:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
ender pushed a commit to branch master
in repository redmine-recaptcha.
commit c4d104d16bcb3549af66cff70f629f8aac26eef1
Author: David Martínez Moreno <ender at debian.org>
Date: Wed Jan 8 23:42:28 2014 -0800
- Added the right Vcs-* fields to debian/control.
- debian/rules: Override the dh_install target with a post-install rename of
all the .rhtml files to .html.erb.
---
debian/changelog | 3 +++
debian/control | 4 +++-
debian/rules | 5 +++++
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index d06ad4c..22e7b08 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,9 +9,12 @@ redmine-recaptcha (0.1.0+git20121018-2) UNRELEASED; urgency=medium
0.3.6-1).
- Bumped Standards-Version to 3.9.5.
- Removed ${shlibs:Depends} as it makes no sense for a bunch of scripts.
+ - Added the right Vcs-* fields.
* Fixed installation of docs.
* Fixed installation directory, which was causing the settings page to give
a 404.
+ * debian/rules: Override the dh_install target with a post-install rename of
+ all the .rhtml files to .html.erb.
-- David Martínez Moreno <ender at debian.org> Mon, 06 Jan 2014 18:09:42 -0800
diff --git a/debian/control b/debian/control
index f0ff471..3926680 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,10 @@ Priority: optional
Maintainer: David Martínez Moreno <ender at debian.org>
Build-Depends: debhelper (>= 9), quilt
Standards-Version: 3.9.5
-Vcs-Git: git://github.com/srstclair/redmine_recaptcha.git
Homepage: https://github.com/srstclair/redmine_recaptcha
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/redmine-recaptcha.git
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/redmine-recaptcha.git
+
Package: redmine-plugin-recaptcha
Architecture: all
diff --git a/debian/rules b/debian/rules
index 15fa49f..2389ac0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,3 +3,8 @@
#
%:
dh $@
+
+override_dh_install:
+ dh_install
+ # In Redmine 2.x .rhtml files are .html.erb.
+ find debian/redmine-plugin-recaptcha -type f -name '*.rhtml' -print0 | xargs -0 rename 's/.rhtml$$/.html.erb/'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/redmine-recaptcha.git
More information about the Pkg-ruby-extras-commits
mailing list