[libhttp-oai-perl] 05/07: Remove workaround to rename directory for commandline scripts.

gregor herrmann gregoa at debian.org
Sat Jul 15 13:59:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libhttp-oai-perl.

commit 3d6b9273b38f0c3551fd1fcde8bc81b3279561b5
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jul 15 15:54:50 2017 +0200

    Remove workaround to rename directory for commandline scripts.
    
    The directory is renamed in the new upstream release.
---
 debian/libhttp-oai-perl.examples |  3 +--
 debian/rules                     | 13 -------------
 2 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/debian/libhttp-oai-perl.examples b/debian/libhttp-oai-perl.examples
index ca5b24f..5f8a82b 100644
--- a/debian/libhttp-oai-perl.examples
+++ b/debian/libhttp-oai-perl.examples
@@ -1,3 +1,2 @@
 examples/*
-# bin/ gets renamed to script/ in debian/rules
-script/oai_static_gateway.pl
+bin/*
diff --git a/debian/rules b/debian/rules
index d42918d..35cf7ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,16 +6,6 @@ TMP     = $(CURDIR)/debian/$(PACKAGE)
 %:
 	dh $@
 
-# Module::Build::Tiny expects scripts in script/ not bin/
-override_dh_clean:
-	dh_clean
-	[ ! -d $(CURDIR)/script -a -d $(CURDIR)/bin ] || mv -v $(CURDIR)/script $(CURDIR)/bin
-
-override_dh_auto_configure:
-	[ ! -d $(CURDIR)/bin -a -d $(CURDIR)/script ] || mv -v $(CURDIR)/bin $(CURDIR)/script
-	dh_auto_configure
-
-
 override_dh_auto_test:
 	# \$ENV{PWD} is not guaranteed to be set on buildds?!
 	# cf. https://buildd.debian.org/status/fetch.php?pkg=libhttp-oai-perl&arch=all&ver=4.04-1&stamp=1500072575&raw=0
@@ -24,9 +14,6 @@ override_dh_auto_test:
 
 override_dh_auto_install:
 	dh_auto_install
-	# remove example script
-	$(RM) -v $(TMP)/usr/bin/oai_static_gateway.pl \
-		$(TMP)/usr/share/man/man1/oai_static_gateway.pl.1p
 	# rename scripts and manpages
 	mv $(TMP)/usr/bin/oai_browser.pl $(TMP)/usr/bin/oai_browser
 	mv $(TMP)/usr/bin/oai_pmh.pl $(TMP)/usr/bin/oai_pmh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-oai-perl.git



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