[DRE-commits] [ruby-uglifier] 03/11: Refresh pacakging with a new `dh-make-ruby -w` run
Antonio Terceiro
terceiro at moszumanska.debian.org
Mon Aug 8 01:05:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-uglifier.
commit d6e9ccbd2c503d4445bac96d97a1af35357dbc8b
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun Aug 7 17:50:45 2016 -0300
Refresh pacakging with a new `dh-make-ruby -w` run
---
debian/changelog | 1 +
debian/control | 11 ++++++-----
debian/ruby-tests.rake | 10 ++++------
debian/rules | 2 ++
4 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1f39751..f8dd51d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ ruby-uglifier (2.7.2-2) UNRELEASED; urgency=medium
[ Antonio Terceiro ]
* Use UglifyJS source from libjs-uglify
+ * Refresh pacakging with a new `dh-make-ruby -w` run
-- Cédric Boutillier <boutil at moszumanska.debian.org> Sun, 07 Aug 2016 10:37:33 -0300
diff --git a/debian/control b/debian/control
index e59c3a0..20b69fe 100644
--- a/debian/control
+++ b/debian/control
@@ -6,25 +6,26 @@ Uploaders: Antonio Terceiro <terceiro at debian.org>
Build-Depends: debhelper (>= 9~),
gem2deb,
rake,
- ruby-execjs,
- ruby-json,
+ ruby-execjs (>= 0.3.0),
+ ruby-json (>= 1.8.0),
ruby-rspec,
ruby-source-map,
libjs-source-map,
libjs-uglify,
ruby-yajl
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-uglifier.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-uglifier.git
Homepage: http://github.com/lautis/uglifier
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-uglifier
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ruby | ruby-interpreter,
- ruby-execjs,
- ruby-multi-json,
+ ruby-execjs (>= 0.3.0),
+ ruby-json (>= 1.8.0),
libjs-source-map,
libjs-uglify,
${misc:Depends},
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 9f92d2f..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,5 @@
-require 'rspec/core'
-require 'rspec/core/rake_task'
-RSpec::Core::RakeTask.new(:spec) do |spec|
- spec.pattern = FileList['spec/**/*_spec.rb']
-end
+require 'gem2deb/rake/spectask'
-task :default => :spec
+Gem2Deb::Rake::RSpecTask.new do |spec|
+ spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/rules b/debian/rules
index 1295d46..d4e0889 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+export GEM2DEB_TEST_RUNNER = --check-dependencies
+
%:
dh $@ --buildsystem=ruby --with ruby
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-uglifier.git
More information about the Pkg-ruby-extras-commits
mailing list