r7857 - in /trunk/libsys-syslog-perl/debian: changelog control patches/ patches/00list patches/skip-test-that-needs-dev-log.dpatch rules
rmayorga-guest at users.alioth.debian.org
rmayorga-guest at users.alioth.debian.org
Sat Sep 22 09:21:15 UTC 2007
Author: rmayorga-guest
Date: Sat Sep 22 09:21:15 2007
New Revision: 7857
URL: http://svn.debian.org/wsvn/?sc=1&rev=7857
Log:
* libtest-distribution-perl and dpatch added to Buld-Dep
* Apply patch from previous version in order to skip tests if /dev/log is not present
* use dpatch at debian/rules
* Added myself to Uploaders
Added:
trunk/libsys-syslog-perl/debian/patches/
trunk/libsys-syslog-perl/debian/patches/00list
trunk/libsys-syslog-perl/debian/patches/skip-test-that-needs-dev-log.dpatch (with props)
Modified:
trunk/libsys-syslog-perl/debian/changelog
trunk/libsys-syslog-perl/debian/control
trunk/libsys-syslog-perl/debian/rules
Modified: trunk/libsys-syslog-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libsys-syslog-perl/debian/changelog?rev=7857&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/debian/changelog (original)
+++ trunk/libsys-syslog-perl/debian/changelog Sat Sep 22 09:21:15 2007
@@ -1,15 +1,17 @@
-libsys-syslog-perl (0.21-1) UNRELEASED; urgency=low
+libsys-syslog-perl (0.21-1) unstable; urgency=low
[ Damyan Ivanov ]
- NEEDS INVESTIGATION: test suite fails
-
* New upstream release
* Fix upstream URL in debian/copyright
* Added Homepage to debian/control
* Added myself to Uploaders (and wrapped it)
[ Rene Mayorga ]
- * libtest-distribution-perl added to B-D
+ * libtest-distribution-perl and dpatch added to Buld-Dep
+ * Apply patch from previous version in order to skip tests
+ if /dev/log is not present
+ * use dpatch at debian/rules
+ * Added myself to Uploaders
-- Rene Mayorga <rmayorga at debian.org.sv> Fri, 21 Sep 2007 23:48:13 -0600
Modified: trunk/libsys-syslog-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libsys-syslog-perl/debian/control?rev=7857&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/debian/control (original)
+++ trunk/libsys-syslog-perl/debian/control Sat Sep 22 09:21:15 2007
@@ -3,11 +3,12 @@
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>, Niko Tyni <ntyni at iki.fi>,
- Alexis Sukrieh <sukria at debian.org>, Damyan Ivanov <dmn at debian.org>
+ Alexis Sukrieh <sukria at debian.org>, Damyan Ivanov <dmn at debian.org>,
+ Rene Mayorga <rmayorga at debian.org.sv>
XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libsys-syslog-perl/
XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/
Build-Depends: debhelper (>= 5), perl, libtest-pod-coverage-perl,
- libtest-pod-perl, libtest-distribution-perl
+ libtest-pod-perl, libtest-distribution-perl, dpatch
Standards-Version: 3.7.2
Package: libsys-syslog-perl
Added: trunk/libsys-syslog-perl/debian/patches/00list
URL: http://svn.debian.org/wsvn/trunk/libsys-syslog-perl/debian/patches/00list?rev=7857&op=file
==============================================================================
--- trunk/libsys-syslog-perl/debian/patches/00list (added)
+++ trunk/libsys-syslog-perl/debian/patches/00list Sat Sep 22 09:21:15 2007
@@ -1,0 +1,1 @@
+skip-test-that-needs-dev-log.dpatch
Added: trunk/libsys-syslog-perl/debian/patches/skip-test-that-needs-dev-log.dpatch
URL: http://svn.debian.org/wsvn/trunk/libsys-syslog-perl/debian/patches/skip-test-that-needs-dev-log.dpatch?rev=7857&op=file
==============================================================================
--- trunk/libsys-syslog-perl/debian/patches/skip-test-that-needs-dev-log.dpatch (added)
+++ trunk/libsys-syslog-perl/debian/patches/skip-test-that-needs-dev-log.dpatch Sat Sep 22 09:21:15 2007
@@ -1,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## skip-test-.dpatch by Rene Mayorga <rmayorga at debian.org.sv>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad libsys-syslog-perl~/t/syslog.t libsys-syslog-perl/t/syslog.t
+--- libsys-syslog-perl~/t/syslog.t 2007-09-21 23:41:53.000000000 -0600
++++ libsys-syslog-perl/t/syslog.t 2007-09-22 03:17:57.000000000 -0600
+@@ -185,6 +185,7 @@
+
+ BEGIN { $tests += 10 }
+ SKIP: {
++ skip "syslogd not running", 10 unless ( -w "/dev/log" );
+ skip "not testing setlogsock('stream') on Win32", 10 if $is_Win32;
+ skip "the 'unix' mechanism works, so the tests will likely fail with the 'stream' mechanism", 10
+ if grep {/unix/} @passed;
Propchange: trunk/libsys-syslog-perl/debian/patches/skip-test-that-needs-dev-log.dpatch
------------------------------------------------------------------------------
svn:executable = *
Modified: trunk/libsys-syslog-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libsys-syslog-perl/debian/rules?rev=7857&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/debian/rules (original)
+++ trunk/libsys-syslog-perl/debian/rules Sat Sep 22 09:21:15 2007
@@ -4,6 +4,8 @@
#export DH_VERBOSE=1
PERL=/usr/bin/perl
+
+include /usr/share/dpatch/dpatch.make
configure: configure-stamp
configure-stamp:
@@ -12,14 +14,14 @@
touch configure-stamp
build: configure-stamp build-stamp
-build-stamp:
+build-stamp: patch-stamp
dh_testdir
$(PERL) Makefile.PL
$(MAKE)
$(MAKE) test
touch build-stamp
-clean:
+clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
More information about the Pkg-perl-cvs-commits
mailing list