[DRE-commits] [bundler] 01/01: Split into 2 binary packages
Antonio Terceiro
terceiro at moszumanska.debian.org
Tue Feb 16 10:53:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository bundler.
commit a8e825177c362228ecfd6f401abb729413ae1815
Author: Antonio Terceiro <terceiro at debian.org>
Date: Tue Feb 16 08:45:52 2016 -0200
Split into 2 binary packages
---
debian/changelog | 10 +++++-----
debian/control | 23 ++++++++++++++++------
...an-overrides => ruby-bundler.lintian-overrides} | 0
debian/tests/control | 4 ++--
4 files changed, 24 insertions(+), 13 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e4ef7fa..5accb55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,11 +5,11 @@ bundler (1.11.2-1) UNRELEASED; urgency=medium
were not supported in gem2deb, this package now requires gem2deb >= 0.26
to build.
* Refresh patch
- * Move build-essential, less, ruby-dev and sudo from Recommends: to
- Suggests:. This way users installing Rails applications won't get
- a full toolchain installed as well.
- - mention the need for build-essential, ruby-dev and sudo for development
- use cases in package description.
+ * Split into two binary packages:
+ - ruby-bundler: for use as dependency by application packages (won't pull
+ a development toolchain into end user systems).
+ - bundler: for use by application developers, recommends build-essential
+ and ruby-dev
* Switch Vcs-Git URL to https
* debian/control: add `Testsuite: autopkgtest`
diff --git a/debian/control b/debian/control
index 65a69c9..dede9e0 100644
--- a/debian/control
+++ b/debian/control
@@ -16,9 +16,8 @@ Homepage: http://bundler.io
Testsuite: autopkgtest
XS-Ruby-Versions: all
-Package: bundler
+Package: ruby-bundler
Architecture: all
-XB-Ruby-Versions: ${ruby:Versions}
Depends: ruby | ruby-interpreter,
ruby-molinillo,
ruby-net-http-persistent (>= 2.7-1),
@@ -26,7 +25,21 @@ Depends: ruby | ruby-interpreter,
rubygems-integration,
${misc:Depends},
${shlibs:Depends}
-Suggests: build-essential,
+Breaks: bundler (<< 1.11.2-1~)
+Replaces: bundler (<< 1.11.2-1~)
+Description: Manage Ruby application dependencies (runtime)
+ Bundler manages a Ruby application's dependencies through its entire
+ life, across many machines, systematically and repeatably.
+ .
+ This package must be used as dependency for checking application dependencies
+ at runtime.
+
+Package: bundler
+Architecture: all
+Depends: ruby-bundler (= ${source:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: build-essential,
less,
ruby-dev,
sudo
@@ -34,6 +47,4 @@ Description: Manage Ruby application dependencies
Bundler manages a Ruby application's dependencies through its entire
life, across many machines, systematically and repeatably.
.
- Bundler is used both by application runtimes to check their dependencies on
- startup, and by developers to manage dependencies of their projects. The later
- will probably also need to install build-essential, ruby-dev, and sudo.
+ This package is most useful for application developers.
diff --git a/debian/bundler.lintian-overrides b/debian/ruby-bundler.lintian-overrides
similarity index 100%
rename from debian/bundler.lintian-overrides
rename to debian/ruby-bundler.lintian-overrides
diff --git a/debian/tests/control b/debian/tests/control
index 9e141da..aa73058 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
Tests: testsuite bundle-gem
-Depends: @, build-essential, bash, ruby-dev, libxml2-dev, libz-dev, git
-Restrictions: rw-build-tree allow-stderr
+Depends: @, libxml2-dev, libz-dev, git
+Restrictions: rw-build-tree allow-stderr needs-recommends
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/bundler.git
More information about the Pkg-ruby-extras-commits
mailing list