[SCM] Debian packaging of libimage-exif-perl branch, master, updated. 0615eb2f29dbe6f9d02cc5eef38db8e876a4462b

gregor herrmann gregoa at debian.org
Sun May 27 17:51:41 UTC 2012


The following commit has been merged in the master branch:
commit aa542252bc4ada8237b5a2525193d08001bb125d
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun May 27 19:47:03 2012 +0200

    Drop hashbang.patch, fix hashbang via debian/rules.

diff --git a/debian/patches/hashbang.patch b/debian/patches/hashbang.patch
deleted file mode 100644
index 517c212..0000000
--- a/debian/patches/hashbang.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- a/examples/create_web_gallery.pl
-+++ b/examples/create_web_gallery.pl
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/perl -w
-+#!/usr/bin/perl -w
- #
- # author : sergey s prozhogin (ccpro at rrelaxo.org.ru)
- # script creates web gallery. 
diff --git a/debian/patches/series b/debian/patches/series
index 44e3337..fdb8e57 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 #EXIF_T_GPSIFD.patch
-hashbang.patch
diff --git a/debian/rules b/debian/rules
index cbe925d..1749286 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,11 @@
 #!/usr/bin/make -f
+
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_installexamples:
+	dh_installexamples
+	sed -i '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*

-- 
Debian packaging of libimage-exif-perl



More information about the Pkg-perl-cvs-commits mailing list