[DRE-commits] [ruby-mizuho] 03/15: Remove sourceless js files and embedded code copies.

Felix Geyer fgeyer at alioth.debian.org
Sat Oct 26 10:29:33 UTC 2013


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

fgeyer pushed a commit to branch master
in repository ruby-mizuho.

commit 6278de558081b156ebff0ca25b8875f164cc88fc
Author: Felix Geyer <fgeyer at debian.org>
Date:   Sat Oct 26 11:54:02 2013 +0200

    Remove sourceless js files and embedded code copies.
---
 debian/README.source |    3 +++
 debian/changelog     |    2 +-
 debian/rules         |    4 ++++
 debian/watch         |    1 +
 4 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..3229f02
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,3 @@
+Minified javascript code without source and embedded code
+copies have been stripped from the ruby-mizuho tarball,
+see the dfsg-free target in debian/rules.
diff --git a/debian/changelog b/debian/changelog
index 719429e..99b5308 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ruby-mizuho (0.9.19-1) UNRELEASED; urgency=low
+ruby-mizuho (0.9.19+dfsg-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #nnnn)
 
diff --git a/debian/rules b/debian/rules
index a5e7dc8..e76e75b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,7 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+dfsg-free:
+	rm templates/jquery-1.6.1.min.js templates/jquery-1.7.1.min.js
+	rm -r source-highlight asciidoc
diff --git a/debian/watch b/debian/watch
index 189a350..af0b11b 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
+opts=dversionmangle=s/\+dfsg$// \
 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/mizuho .*/mizuho-(.*).tar.gz

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



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