[DRE-commits] [ruby-bson] 06/07: Take over ruby-bson-ext and ship the native extension in ruby-bson

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Tue Dec 20 10:45:55 UTC 2016


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

apoikos pushed a commit to branch master
in repository ruby-bson.

commit e7dc8da0394ddc37f026b614945f9e175901a4f3
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Mon Dec 19 17:38:13 2016 +0200

    Take over ruby-bson-ext and ship the native extension in ruby-bson
    
    As of 4.2, the native extension is built by this very same source and is
    required[1] for the driver to work. As such, it does not make sense to
    ship the native extension in a separate package (previously
    ruby-bson-ext).
    
    So, mark ruby-bson as arch: any and provide the appropriate dummy
    package for ruby-bson-ext.
    
    [1] https://jira.mongodb.org/browse/RUBY-1141
---
 debian/control | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 7a4dd44..c154df9 100644
--- a/debian/control
+++ b/debian/control
@@ -18,15 +18,24 @@ Homepage: http://www.mongodb.org
 XS-Ruby-Versions: all
 
 Package: ruby-bson
-Architecture: all
+Architecture: any
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
          ${misc:Depends},
          ${shlibs:Depends}
-Recommends: ruby-bson-ext
+Breaks: ruby-bson-ext (<< 4.2.0~)
+Replaces: ruby-bson-ext (<< 4.2.0~)
 Description: Ruby implementation of BSON
  BSON is a binary-encoded serialization of JSON-like documents. It is a binary
  form for representing simple data structures and associative arrays.
  .
  This library provides an implementation of BSON for the Ruby programming
  language.
+
+Package: ruby-bson-ext
+Architecture: all
+Section: oldlibs
+Priority: extra
+Depends: ruby-bson (>= 4.2.0~), ${misc:Depends}
+Description: transitional dummy package
+ This is a transitional dummy package. It can safely be removed.

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



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