[DRE-commits] r3509 - in packages/libserialport-ruby/trunk/debian: . patches

Paul van Tilburg paulvt at alioth.debian.org
Tue May 5 12:42:51 UTC 2009


Author: paulvt
Date: 2009-05-05 12:42:51 +0000 (Tue, 05 May 2009)
New Revision: 3509

Added:
   packages/libserialport-ruby/trunk/debian/patches/
   packages/libserialport-ruby/trunk/debian/patches/01-add-shebang-fix-load.patch
Modified:
   packages/libserialport-ruby/trunk/debian/changelog
   packages/libserialport-ruby/trunk/debian/rules
Log:
  - Also load the CDBS simple-patchsys class.
* Added debian/patches/01-add-shebang-fix-load.patch to fix the example
  so that it complies with policy and loads the correct lib.

Modified: packages/libserialport-ruby/trunk/debian/changelog
===================================================================
--- packages/libserialport-ruby/trunk/debian/changelog	2009-05-05 12:30:15 UTC (rev 3508)
+++ packages/libserialport-ruby/trunk/debian/changelog	2009-05-05 12:42:51 UTC (rev 3509)
@@ -1,4 +1,4 @@
-libserialport-ruby (0.7.0-1) UNRELEASED; urgency=low
+libserialport-ruby (0.7.0-1) unstable; urgency=low
 
   [ Arnaud Cornet ]
   * Update my mail address.
@@ -15,9 +15,12 @@
   * debian/rules:
     - Switched from upstream extconf to Debian's native setup.rb-based
       building.
+    - Also load the CDBS simple-patchsys class.
   * Added debian/libserialport-ruby.examples. 
+  * Added debian/patches/01-add-shebang-fix-load.patch to fix the example
+    so that it complies with policy and loads the correct lib.
 
- -- Paul van Tilburg <paulvt at debian.org>  Tue, 05 May 2009 14:26:29 +0200
+ -- Paul van Tilburg <paulvt at debian.org>  Tue, 05 May 2009 14:42:33 +0200
 
 libserialport-ruby (0.6-3) unstable; urgency=low
 

Added: packages/libserialport-ruby/trunk/debian/patches/01-add-shebang-fix-load.patch
===================================================================
--- packages/libserialport-ruby/trunk/debian/patches/01-add-shebang-fix-load.patch	                        (rev 0)
+++ packages/libserialport-ruby/trunk/debian/patches/01-add-shebang-fix-load.patch	2009-05-05 12:42:51 UTC (rev 3509)
@@ -0,0 +1,10 @@
+--- examples/miniterm.rb.orig	2009-05-05 14:35:57.000000000 +0200
++++ examples/miniterm.rb	2009-05-05 14:36:14.000000000 +0200
+@@ -1,4 +1,6 @@
+-require "../serialport.so"
++#!/usr/bin/env ruby
++
++require "serialport"
+ 
+ 
+ if ARGV.size < 4

Modified: packages/libserialport-ruby/trunk/debian/rules
===================================================================
--- packages/libserialport-ruby/trunk/debian/rules	2009-05-05 12:30:15 UTC (rev 3508)
+++ packages/libserialport-ruby/trunk/debian/rules	2009-05-05 12:42:51 UTC (rev 3509)
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
 
 clean::




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