Control: tags -1 + patch pending

Dear maintainer,

I've prepared an NMU for pspp (versioned as 0.7.9+git20120620-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards
-- 
Sebastian Ramacher
diff -Nru pspp-0.7.9+git20120620/debian/changelog pspp-0.7.9+git20120620/debian/changelog
--- pspp-0.7.9+git20120620/debian/changelog	2012-06-25 00:57:27.000000000 +0200
+++ pspp-0.7.9+git20120620/debian/changelog	2013-02-05 00:25:40.000000000 +0100
@@ -1,3 +1,13 @@
+pspp (0.7.9+git20120620-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/699263: Add patch from upstream to fix test suite failures.
+    Since the default epoch depends on the current year, the test suite broke
+    on January 1, 2013. The patch adds the epoch to the test suite. (Closes:
+    #699263)
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Tue, 05 Feb 2013 00:25:38 +0100
+
 pspp (0.7.9+git20120620-1) unstable; urgency=low
 
   * New upstream snapshot, fixes non-ASCII import issue (Closes: #676371).
diff -Nru pspp-0.7.9+git20120620/debian/patches/699263 pspp-0.7.9+git20120620/debian/patches/699263
--- pspp-0.7.9+git20120620/debian/patches/699263	1970-01-01 01:00:00.000000000 +0100
+++ pspp-0.7.9+git20120620/debian/patches/699263	2013-02-04 23:07:11.000000000 +0100
@@ -0,0 +1,30 @@
+Description: Fix dependency on current year in tests.
+ The tests for expressions broke on Jan 1, 2013 because the default epoch
+ depends on the current year.  This commit fixes the tests by setting a
+ fixed epoch for dates.
+Last-Update: 2013-02-04
+Origin: upstream,
+ http://git.savannah.gnu.org/gitweb/?p=pspp.git;a=commit;h=65a665dc6
+Bug-Debian: http://bugs.debian.org/699263
+
+---
+ tests/language/expressions/evaluate.at |    3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+--- a/tests/language/expressions/evaluate.at
++++ b/tests/language/expressions/evaluate.at
+@@ -3,12 +3,13 @@
+    AT_DATA([evaluate.sps],
+      [set mxwarn 1000.
+ set mxerr 1000.
++set epoch 1940.
+ m4_foreach([check], [m4_shift($@)],
+                  [DEBUG EVALUATE NOOPT m4_argn(4, check)/[]m4_car(check).
+ DEBUG EVALUATE m4_argn(4, check)/[]m4_car(check).
+ ])])
+    AT_CAPTURE_FILE([evaluate.sps])
+-   m4_pushdef([i], [2])
++   m4_pushdef([i], [3])
+    AT_CHECK([pspp --testing-mode --error-file=- --no-output evaluate.sps], 
+      [m4_if(m4_bregexp([m4_foreach([check], [m4_shift($@)], [m4_argn(3, check)])], [error:]), [-1], [0], [1])], 
+      [stdout])
diff -Nru pspp-0.7.9+git20120620/debian/patches/series pspp-0.7.9+git20120620/debian/patches/series
--- pspp-0.7.9+git20120620/debian/patches/series	2012-01-24 19:30:17.000000000 +0100
+++ pspp-0.7.9+git20120620/debian/patches/series	2013-02-04 23:07:56.000000000 +0100
@@ -1 +1,2 @@
 fix_paths_in_manpage
+699263

Reply via email to