tags 735660 + patch
tags 735660 + pending
thanks

Dear maintainer,

I've prepared an NMU for ruby-filesystem (versioned as 0.5-5.1) and
uploaded it to DELAYED/0. Please feel free to tell me if I
should delay it longer.

Regards.

Cédric
diff -Nru ruby-filesystem-0.5/debian/changelog ruby-filesystem-0.5/debian/changelog
--- ruby-filesystem-0.5/debian/changelog	2012-11-24 14:29:39.000000000 +0100
+++ ruby-filesystem-0.5/debian/changelog	2014-04-22 14:57:03.000000000 +0200
@@ -1,3 +1,19 @@
+ruby-filesystem (0.5-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Upload to unstable.
+  * Do not depend explicitly on a version of ruby (Closes: #735660)
+    - XS-Ruby-Versions is now set to all
+  * Drop DM-Upload-Allowed flag
+  * Drop quilt from Build-Depends (the 3.0 (quilt) source format is used)
+  * Rely on gem2deb magic to build and install
+    - erase upstream outdated Makefile, regenerated from extconf
+    - move files to ext/filesystem instead of build to use gem convention
+    - don't override dh_auto_build and dh_auto_install targets
+    - drop the --with quilt option to dh, add --buildsystem=ruby
+
+ -- Cédric Boutillier <bou...@debian.org>  Tue, 22 Apr 2014 14:13:14 +0200
+
 ruby-filesystem (0.5-5) experimental; urgency=low
 
   * Fix segfault on 64bit environment (use NULL (!=0) for termination for
diff -Nru ruby-filesystem-0.5/debian/control ruby-filesystem-0.5/debian/control
--- ruby-filesystem-0.5/debian/control	2012-11-24 14:29:39.000000000 +0100
+++ ruby-filesystem-0.5/debian/control	2014-04-22 14:56:19.000000000 +0200
@@ -2,10 +2,9 @@
 Section: ruby
 Priority: extra
 Maintainer: Tatsuki Sugiura <s...@nemui.org>
-Build-Depends: debhelper (>= 8.0.0), quilt, gem2deb (>= 0.2.7~), ruby1.8, ruby1.8-dev, ruby1.9.1, ruby1.9.1-dev
+Build-Depends: debhelper (>= 8.0.0), gem2deb (>= 0.2.7~)
 Standards-Version: 3.9.3
-DM-Upload-Allowed: yes
-XS-Ruby-Versions: 1.8 1.9.1
+XS-Ruby-Versions: all
 Uploaders: Taku YASUI <t...@debian.org>
 
 Package: ruby-filesystem
diff -Nru ruby-filesystem-0.5/debian/rules ruby-filesystem-0.5/debian/rules
--- ruby-filesystem-0.5/debian/rules	2012-11-24 14:29:39.000000000 +0100
+++ ruby-filesystem-0.5/debian/rules	2014-04-22 14:39:25.000000000 +0200
@@ -1,23 +1,12 @@
 #!/usr/bin/make -f
 
-TARGETDIR=$(CURDIR)/debian/ruby-filesystem
-RBCONFIG=ruby -rrbconfig -e 'print RbConfig::CONFIG[ARGV[0]]'
-
 %:
-	dh $@ --with ruby --with quilt
+	dh $@ --buildsystem=ruby --with ruby
 
 override_dh_auto_configure:
-	mkdir -p build
-	cp -a *.rb *.c build
-
-override_dh_auto_build:
-
-override_dh_auto_install:
-	cd build && ruby1.8 -Ku extconf.rb
-	make -C build install DESTDIR=$(TARGETDIR) sitedir=$(TARGETDIR)/usr/lib/ruby/vendor_ruby
-	make -C build clean
-	cd build && ruby1.9.1 -Ku extconf.rb
-	make -C build install DESTDIR=$(TARGETDIR) sitedir=$(TARGETDIR)/usr/lib/ruby/vendor_ruby
+	mkdir -p ext/filesystem
+	cp -a *.rb *.c ext/filesystem
 
 override_dh_auto_clean:
-	rm -rf build
+	rm -f Makefile
+	rm -rf ext/

Attachment: signature.asc
Description: Digital signature

Reply via email to