Control: tag -1 + patch

On Wed, 25 Jun 2014 23:30:43 +0300, Niko Tyni wrote:

> This package fails to build with perl_5.20.0-1 from experimental:
> 
>   rmdir --ignore-fail-on-non-empty --parents 
> /«PKGBUILDDIR»/debian/libmozilla-ldap-perl/usr/lib/perl5
>   rmdir: failed to remove 
> '/«PKGBUILDDIR»/debian/libmozilla-ldap-perl/usr/lib/perl5': No such file or 
> directory
>   make: *** [install-stamp] Error 1
>   debian/rules:36: recipe for target 'install-stamp' failed

I'm attaching a patch which removes the spurious rmdir.

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Donovan: Barabajagal
diff -Nru libmozilla-ldap-perl-1.5.3/debian/changelog libmozilla-ldap-perl-1.5.3/debian/changelog
--- libmozilla-ldap-perl-1.5.3/debian/changelog	2012-06-27 08:56:07.000000000 +0200
+++ libmozilla-ldap-perl-1.5.3/debian/changelog	2014-07-02 23:49:23.000000000 +0200
@@ -1,3 +1,12 @@
+libmozilla-ldap-perl (1.5.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "hardcodes /usr/lib/perl5":
+    - debian/rules: drop the rmdir call which has no effect anyway.
+    (Closes: #752708)
+
+ -- gregor herrmann <gre...@debian.org>  Wed, 02 Jul 2014 23:44:01 +0200
+
 libmozilla-ldap-perl (1.5.3-1) unstable; urgency=low
 
   [ Timo Aaltonen ]
diff -Nru libmozilla-ldap-perl-1.5.3/debian/rules libmozilla-ldap-perl-1.5.3/debian/rules
--- libmozilla-ldap-perl-1.5.3/debian/rules	2012-06-27 08:56:07.000000000 +0200
+++ libmozilla-ldap-perl-1.5.3/debian/rules	2014-07-02 23:47:49.000000000 +0200
@@ -38,7 +38,6 @@
 	dh_clean -k
 	$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
 	touch install-stamp
 
 binary-indep:

Attachment: signature.asc
Description: Digital Signature

Reply via email to