r7001 - in /trunk/libcrypt-rijndael-perl/debian: changelog control patches/ patches/00list patches/01_manpage_section_fix.dpatch rules

tincho-guest at users.alioth.debian.org tincho-guest at users.alioth.debian.org
Mon Aug 20 12:32:02 UTC 2007


Author: tincho-guest
Date: Mon Aug 20 12:32:02 2007
New Revision: 7001

URL: http://svn.debian.org/wsvn/?sc=1&rev=7001
Log:
* Added dpatch stuff for managing source changes.

Added:
    trunk/libcrypt-rijndael-perl/debian/patches/
    trunk/libcrypt-rijndael-perl/debian/patches/00list
    trunk/libcrypt-rijndael-perl/debian/patches/01_manpage_section_fix.dpatch   (with props)
Modified:
    trunk/libcrypt-rijndael-perl/debian/changelog
    trunk/libcrypt-rijndael-perl/debian/control
    trunk/libcrypt-rijndael-perl/debian/rules

Modified: trunk/libcrypt-rijndael-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcrypt-rijndael-perl/debian/changelog?rev=7001&op=diff
==============================================================================
--- trunk/libcrypt-rijndael-perl/debian/changelog (original)
+++ trunk/libcrypt-rijndael-perl/debian/changelog Mon Aug 20 12:32:02 2007
@@ -7,8 +7,9 @@
   * debian/watch version bumped and regex improved.
   * Added packaging copyright and licensing.
   * Fixed manpage section (3 -> 3pm)
+  * Added dpatch stuff for managing source changes.
 
- -- Martín Ferrari <martin.ferrari at gmail.com>  Mon, 20 Aug 2007 13:19:27 +0100
+ -- Martín Ferrari <martin.ferrari at gmail.com>  Mon, 20 Aug 2007 13:30:28 +0100
 
 libcrypt-rijndael-perl (0.05-7) unstable; urgency=medium
 

Modified: trunk/libcrypt-rijndael-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libcrypt-rijndael-perl/debian/control?rev=7001&op=diff
==============================================================================
--- trunk/libcrypt-rijndael-perl/debian/control (original)
+++ trunk/libcrypt-rijndael-perl/debian/control Mon Aug 20 12:32:02 2007
@@ -5,7 +5,7 @@
 Uploaders: Gustavo Franco <stratus at debian.org>, Niko Tyni <ntyni at iki.fi>,
  Martín Ferrari <martin.ferrari at gmail.com>
 Build-Depends: debhelper (>= 5), perl (>= 5.8), libtest-pod-coverage-perl,
- libtest-pod-perl
+ libtest-pod-perl, dpatch
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcrypt-rijndael-perl/
 XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libcrypt-rijndael-perl/

Added: trunk/libcrypt-rijndael-perl/debian/patches/00list
URL: http://svn.debian.org/wsvn/trunk/libcrypt-rijndael-perl/debian/patches/00list?rev=7001&op=file
==============================================================================
--- trunk/libcrypt-rijndael-perl/debian/patches/00list (added)
+++ trunk/libcrypt-rijndael-perl/debian/patches/00list Mon Aug 20 12:32:02 2007
@@ -1,0 +1,1 @@
+01_manpage_section_fix

Added: trunk/libcrypt-rijndael-perl/debian/patches/01_manpage_section_fix.dpatch
URL: http://svn.debian.org/wsvn/trunk/libcrypt-rijndael-perl/debian/patches/01_manpage_section_fix.dpatch?rev=7001&op=file
==============================================================================
--- trunk/libcrypt-rijndael-perl/debian/patches/01_manpage_section_fix.dpatch (added)
+++ trunk/libcrypt-rijndael-perl/debian/patches/01_manpage_section_fix.dpatch Mon Aug 20 12:32:02 2007
@@ -1,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_manpage_section_fix.dpatch by Martín Ferrari <martin.ferrari at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Corrected name of man page to be in section 3pm
+
+ at DPATCH@
+diff -urNad libcrypt-rijndael-perl~/Makefile.PL libcrypt-rijndael-perl/Makefile.PL
+--- libcrypt-rijndael-perl~/Makefile.PL	2007-08-20 13:25:24.000000000 +0100
++++ libcrypt-rijndael-perl/Makefile.PL	2007-08-20 13:28:58.000000000 +0100
+@@ -16,7 +16,7 @@
+ 
+ 
+ 	'MAN3PODS'     => {
+-			'Rijndael.pm' => '$(INST_MAN3DIR)/Crypt::Rijndael.3',
++			'Rijndael.pm' => '$(INST_MAN3DIR)/Crypt::Rijndael.3pm',
+ 			},
+ 
+ 	clean          => { FILES    => q|*.bak Crypt-*| },
+@@ -28,4 +28,4 @@
+ 	           },
+ 
+     OBJECT       => q[_rijndael$(OBJ_EXT) Rijndael$(OBJ_EXT)],
+-); 
+\ No newline at end of file
++); 

Propchange: trunk/libcrypt-rijndael-perl/debian/patches/01_manpage_section_fix.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Modified: trunk/libcrypt-rijndael-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libcrypt-rijndael-perl/debian/rules?rev=7001&op=diff
==============================================================================
--- trunk/libcrypt-rijndael-perl/debian/rules (original)
+++ trunk/libcrypt-rijndael-perl/debian/rules Mon Aug 20 12:32:02 2007
@@ -1,6 +1,7 @@
 #! /usr/bin/make -f
 # -*-makefile-*-
 # debian/rules file for libcrypt-rijndael-perl
+include /usr/share/dpatch/dpatch.make
 
 ifndef PERL
 PERL = /usr/bin/perl
@@ -16,14 +17,15 @@
 endif
 
 # thanks to: Gergely Nagy.
-Makefile: Makefile.PL
+Makefile: patch Makefile.PL
 	${PERL} Makefile.PL INSTALLDIRS=vendor
 build: Makefile
 	dh_testdir
 	${MAKE} OPTIMIZE="${CFLAGS} -g -Wall" LD_RUN_PATH=
 	${MAKE} test
 
-clean:	checkroot
+clean: clean-patched unpatch
+clean-patched: checkroot
 	rm -f build-stamp
 	[ ! -f Makefile ] || $(MAKE) distclean
 	dh_clean




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