[DRE-maint] Bug#704249: building only for ruby1.8

Cédric Boutillier cedric.boutillier at gmail.com
Thu Apr 4 18:50:51 UTC 2013


Control: tag -1 patch pending

Hi,

I am specializing the package to work only with Ruby 1.8.
It will still not work with Ruby 1.9 of course, but at least will pull
ruby1.8 correctly if needed, and no native extension will be built for
Ruby 1.9.

Attached the debdiff with ruby-fusefs 0.7.0-2.

Best wishes,

Cédric
-------------- next part --------------
diff -Nru ruby-fusefs-0.7.0/debian/changelog ruby-fusefs-0.7.0/debian/changelog
--- ruby-fusefs-0.7.0/debian/changelog	2012-06-26 23:23:54.000000000 +0200
+++ ruby-fusefs-0.7.0/debian/changelog	2013-04-04 17:34:19.000000000 +0200
@@ -1,3 +1,15 @@
+ruby-fusefs (0.7.0-3) unstable; urgency=high
+
+  * Team upload.
+  * Set urgency to high as an RC bug is fixed.
+  * debian/control: build only for Ruby 1.8. (Closes: #704249)
+    - mention in the description that ruby-fusefs will work only with Ruby 1.8
+    - set XS-Ruby-Versions: to ruby1.8 to disable the build of the binary
+      extension with Ruby 1.9
+    - set ruby1.8 as a dependency instead of the ruby metapackage.
+
+ -- Cédric Boutillier <boutil at debian.org>  Thu, 04 Apr 2013 17:33:22 +0200
+
 ruby-fusefs (0.7.0-2) unstable; urgency=low
 
   * Bumped build-dependency on gem2deb to >= 0.3.0~.
diff -Nru ruby-fusefs-0.7.0/debian/control ruby-fusefs-0.7.0/debian/control
--- ruby-fusefs-0.7.0/debian/control	2012-06-26 23:15:48.000000000 +0200
+++ ruby-fusefs-0.7.0/debian/control	2013-04-03 17:39:31.000000000 +0200
@@ -9,18 +9,20 @@
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-fusefs.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-fusefs.git;a=summary
 Homepage: http://github.com/duairc/fusefs
-XS-Ruby-Versions: all
+XS-Ruby-Versions: ruby1.8
 
 Package: ruby-fusefs
 Architecture: any
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby1.8
 Replaces: libfusefs-ruby (<< 0.7.0-1~), libfusefs-ruby1.8 (<< 0.7.0-1~)
 Breaks: libfusefs-ruby (<< 0.7.0-1~), libfusefs-ruby1.8 (<< 0.7.0-1~)
 Provides: libfusefs-ruby, libfusefs-ruby1.8
 Description: library to easily define a filesystem in Ruby using fuse
  This library provides a simple API to define a FUSE filesystem in Ruby.
  It is *NOT* a full implementation of the FUSE API.
+ .
+ This package currently only works with Ruby 1.8.
 
 Package: libfusefs-ruby
 Section: oldlibs


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