[libweb-simple-perl] 03/05: Replace pod_fragment.patch with an override in debian/rules.
gregor herrmann
gregoa at debian.org
Sat May 24 12:28:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libweb-simple-perl.
commit 8e37db4322fa7f253a9c6955dc4dfe4f1194beeb
Author: gregor herrmann <gregoa at debian.org>
Date: Sat May 24 14:21:32 2014 +0200
Replace pod_fragment.patch with an override in debian/rules.
---
debian/patches/pod_fragment.patch | 39 ---------------------------------------
debian/patches/series | 1 -
debian/rules | 7 +++++++
3 files changed, 7 insertions(+), 40 deletions(-)
diff --git a/debian/patches/pod_fragment.patch b/debian/patches/pod_fragment.patch
deleted file mode 100644
index 4b023c1..0000000
--- a/debian/patches/pod_fragment.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Description: remove POD fragment
-Forwarded: no
-Author: gregor herrmann <gregoa at debian.org>
-Origin: vendor
-Last-Update: 2010-07-11
-
---- a/lib/Web/Simple/HackedPlack.pm
-+++ b/lib/Web/Simple/HackedPlack.pm
-@@ -70,30 +70,3 @@
- }
-
- 1;
--__END__
--
--=head1 SYNOPSIS
--
-- ## in your .cgi
-- #!/usr/bin/perl
-- use Plack::Server::CGI;
--
-- # or Plack::Util::load_psgi("/path/to/app.psgi");
-- my $app = sub {
-- my $env = shift;
-- return [
-- 200,
-- [ 'Content-Type' => 'text/plain', 'Content-Length' => 13 ],
-- 'Hello, world!',
-- ];
-- };
--
-- Plack::Server::CGI->new->run($app);
--
--=head1 SEE ALSO
--
--L<Plack::Server::Base>
--
--=cut
--
--
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 73259a4..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-pod_fragment.patch
diff --git a/debian/rules b/debian/rules
index 2d33f6a..ac0141a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,11 @@
#!/usr/bin/make -f
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
%:
dh $@
+
+override_dh_auto_install:
+ dh_auto_install
+ $(RM) -v $(TMP)/usr/share/man/man3/Web::Simple::HackedPlack.3pm
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libweb-simple-perl.git
More information about the Pkg-perl-cvs-commits
mailing list