[SCM] Debian packaging of Module-Build-Tiny CPAN distribution branch, master, updated. 222534ff1ab8128471f7ddfb2011792db16a7646

gregor herrmann gregoa at debian.org
Sat Jun 29 19:44:21 UTC 2013


The following commit has been merged in the master branch:
commit 5446a77272e4cb23fa76be18cac9254d580a2997
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jun 29 21:41:59 2013 +0200

    drop option-parsing.patch and revert d/rules
    
    Git-Dch: Ignore

diff --git a/debian/changelog b/debian/changelog
index 0b8c781..adc82db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,10 +7,6 @@ libmodule-build-tiny-perl (0.023-1) UNRELEASED; urgency=low
   https://rt.cpan.org/Public/Bug/Display.html?id=85006
   https://rt.cpan.org/Public/Bug/Display.html?id=86240
 
-  option-parsing.patch is a quick ugly implementation of accepting key=value
-  options; disabled for now, let's see what upstream sys in CPAN RT#85006
-  if there is a change or we enable the patch, d/rules can be reverted
-
   * Initial release (closes: #714382).
 
  -- gregor herrmann <gregoa at debian.org>  Fri, 28 Jun 2013 16:38:14 +0200
diff --git a/debian/patches/option-parsing.patch b/debian/patches/option-parsing.patch
deleted file mode 100644
index 62d1d0b..0000000
--- a/debian/patches/option-parsing.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Description: also accept key=value command line options
-Origin: vendor
-Bug: https://rt.cpan.org/Ticket/Display.html?id=85006
-Forwarded: no
-Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2013-06-28
-
---- a/lib/Module/Build/Tiny.pm
-+++ b/lib/Module/Build/Tiny.pm
-@@ -112,6 +112,10 @@
- 	my @env = defined $ENV{PERL_MB_OPT} ? split_like_shell($ENV{PERL_MB_OPT}) : ();
- 	unshift @ARGV, map { @{$_} } $bpl, \@env;
- 	GetOptions(\my %opt, qw/install_base=s install_path=s% installdirs=s destdir=s prefix=s config=s% uninst:1 verbose:1 dry_run:1 pureperl-only:1 create_packlist=i/);
-+	foreach (@ARGV) {
-+		my ( $key, $value ) = split('=');
-+		$opt{$key} = $value if defined $value;
-+	}
- 	$_ = detildefy($_) for grep { defined } @opt{qw/install_base destdir prefix/}, values %{ $opt{install_path} };
- 	@opt{'config', 'meta'} = (ExtUtils::Config->new($opt{config}), get_meta());
- 	$actions{$action}->(%opt, install_paths => ExtUtils::InstallPaths->new(%opt, dist_name => $opt{meta}->name));
diff --git a/debian/patches/series b/debian/patches/series
index 9a016db..ad39c44 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 manpage-section-mismatch.patch
-#option-parsing.patch
diff --git a/debian/rules b/debian/rules
index dfa0edf..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,4 @@
 #!/usr/bin/make -f
 
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
 %:
 	dh $@
-
-override_dh_auto_configure:
-	dh_auto_configure -- --installdirs=vendor
-
-override_dh_auto_install:
-	dh_auto_install -- --destdir=$(TMP) --create_packlist=0

-- 
Debian packaging of Module-Build-Tiny CPAN distribution



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