r70560 - in /trunk/libclass-prototyped-perl/debian: changelog examples patches/example-interpreter patches/series rules
rra at users.alioth.debian.org
rra at users.alioth.debian.org
Sat Mar 5 23:46:01 UTC 2011
Author: rra
Date: Sat Mar 5 23:45:53 2011
New Revision: 70560
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70560
Log:
Fix examples
Add a #! line to the example Perl script and stop installing a copy of
the graph that the example script itself creates.
Added:
trunk/libclass-prototyped-perl/debian/patches/example-interpreter
Modified:
trunk/libclass-prototyped-perl/debian/changelog
trunk/libclass-prototyped-perl/debian/examples
trunk/libclass-prototyped-perl/debian/patches/series
trunk/libclass-prototyped-perl/debian/rules
Modified: trunk/libclass-prototyped-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-prototyped-perl/debian/changelog?rev=70560&op=diff
==============================================================================
--- trunk/libclass-prototyped-perl/debian/changelog (original)
+++ trunk/libclass-prototyped-perl/debian/changelog Sat Mar 5 23:45:53 2011
@@ -18,7 +18,7 @@
* Update debhelper compatibility level to V8.
- Switch from CDBS to pure dh debhelper.
- Use debhelper rule minimization with overrides.
- * Install upstream examples.
+ * Install upstream example.
* Change Debian source format to 3.0 (quilt).
* Update debian/copyright to proposed DEP-5 format.
* Merge Build-Depends and Build-Depends-Indep. The separation is
Modified: trunk/libclass-prototyped-perl/debian/examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-prototyped-perl/debian/examples?rev=70560&op=diff
==============================================================================
--- trunk/libclass-prototyped-perl/debian/examples (original)
+++ trunk/libclass-prototyped-perl/debian/examples Sat Mar 5 23:45:53 2011
@@ -1,1 +1,1 @@
-examples/*
+examples/graphtest.pl
Added: trunk/libclass-prototyped-perl/debian/patches/example-interpreter
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-prototyped-perl/debian/patches/example-interpreter?rev=70560&op=file
==============================================================================
--- trunk/libclass-prototyped-perl/debian/patches/example-interpreter (added)
+++ trunk/libclass-prototyped-perl/debian/patches/example-interpreter Sat Mar 5 23:45:53 2011
@@ -1,0 +1,12 @@
+Author: Russ Allbery <rra at debian.org>
+Description: Add a #! line to the graphtest.pl example so that it's
+ executable when installed.
+
+--- libclass-prototyped-perl.orig/examples/graphtest.pl
++++ libclass-prototyped-perl/examples/graphtest.pl
+@@ -1,3 +1,5 @@
++#!/usr/bin/perl
++
+ use Class::Prototyped qw(:EZACCESS);
+ use Class::Prototyped::Graph;
+
Modified: trunk/libclass-prototyped-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-prototyped-perl/debian/patches/series?rev=70560&op=diff
==============================================================================
--- trunk/libclass-prototyped-perl/debian/patches/series (original)
+++ trunk/libclass-prototyped-perl/debian/patches/series Sat Mar 5 23:45:53 2011
@@ -1,2 +1,3 @@
pod-spelling
pod-long-line
+example-interpreter
Modified: trunk/libclass-prototyped-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-prototyped-perl/debian/rules?rev=70560&op=diff
==============================================================================
--- trunk/libclass-prototyped-perl/debian/rules (original)
+++ trunk/libclass-prototyped-perl/debian/rules Sat Mar 5 23:45:53 2011
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
-TMPDIR := debian/$(shell dh_listpackages)
+PACKAGE := $(shell dh_listpackages)
+TMPDIR := debian/$(PACKAGE)
override_dh_auto_install:
dh_auto_install
More information about the Pkg-perl-cvs-commits
mailing list