[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#688262: unblock: dbtoepub/0+svn9150-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please unblock package dbtoepub

The files have been installed into a ruby 1.8 related location.
Therefor dbtoepub failed to run recently [1]. The fix simply
installes the files into a ruby version independent location
according to [2].

[1] http://bugs.debian.org/687366
[2] http://lists.debian.org/debian-ruby/2012/04/msg00066.html

unblock dbtoepub/0+svn9150-2

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (850, 'unstable'), (700, 'testing'), (560, 'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlBbb+kACgkQm0bx+wiPa4xrFgCfTn9guAuB2V2cgLRmJk/3iC8c
qXAAn335jJNLPsKcmjkCgKJ69k8gg5QB
=lYaj
-----END PGP SIGNATURE-----
diff -Nru dbtoepub-0+svn9150/debian/changelog dbtoepub-0+svn9150/debian/changelog
--- dbtoepub-0+svn9150/debian/changelog	2012-05-17 18:31:38.000000000 +0200
+++ dbtoepub-0+svn9150/debian/changelog	2012-09-20 21:27:10.000000000 +0200
@@ -1,3 +1,11 @@
+dbtoepub (0+svn9150-2) unstable; urgency=low
+
+  * debian/dbtoepub.install: Change installation location to version
+    independent place according to policy (closes: #687366).
+  * debian/rules (override_dh_install): Ditto.
+
+ -- Daniel Leidert (dale) <daniel.leidert@wgdd.de>  Thu, 20 Sep 2012 21:26:54 +0200
+
 dbtoepub (0+svn9150-1) unstable; urgency=low
 
   * New snapshot based on SVN revision 9150.
diff -Nru dbtoepub-0+svn9150/debian/dbtoepub.install dbtoepub-0+svn9150/debian/dbtoepub.install
--- dbtoepub-0+svn9150/debian/dbtoepub.install	2009-05-10 16:10:55.000000000 +0200
+++ dbtoepub-0+svn9150/debian/dbtoepub.install	2012-09-20 21:19:15.000000000 +0200
@@ -1,2 +1,2 @@
 bin/dbtoepub	usr/bin/
-bin/lib/*	usr/lib/ruby/1.8/dbtoepub/
+bin/lib/*	usr/lib/ruby/vendor_ruby/dbtoepub/
diff -Nru dbtoepub-0+svn9150/debian/patches/514030_debianize_dbtoepub.patch dbtoepub-0+svn9150/debian/patches/514030_debianize_dbtoepub.patch
--- dbtoepub-0+svn9150/debian/patches/514030_debianize_dbtoepub.patch	2012-05-15 23:12:30.000000000 +0200
+++ dbtoepub-0+svn9150/debian/patches/514030_debianize_dbtoepub.patch	2012-09-20 21:26:11.000000000 +0200
@@ -1,7 +1,7 @@
 Author: Daniel Leidert <daniel.leidert@wgdd.de>
 Description: The dbtoepub script and its modules need to be debianized.
  - epub/bin/dbtoepub: The modules are installed into
-   /usr/lib/ruby/1.8/dbtoepub.
+   /usr/lib/ruby/vendor_ruby/dbtoepub.
  - epub/bin/lib/docbook.rb: Create temporary directory with Dir::tmpdir.
    Use local stylesheet path. Delete output directory.
  - epub/docbook.xsl: Use local stylesheet paths
diff -Nru dbtoepub-0+svn9150/debian/rules dbtoepub-0+svn9150/debian/rules
--- dbtoepub-0+svn9150/debian/rules	2012-05-15 23:09:55.000000000 +0200
+++ dbtoepub-0+svn9150/debian/rules	2012-09-20 21:26:11.000000000 +0200
@@ -9,4 +9,4 @@
 
 override_dh_install:
 	dh_install
-	chmod 644 $(CURDIR)/debian/$(PACKAGE)/usr/lib/ruby/1.8/dbtoepub/docbook.rb
+	chmod 644 $(CURDIR)/debian/$(PACKAGE)/usr/lib/ruby/vendor_ruby/dbtoepub/docbook.rb

Reply to: