reopen 1025096
found 1025096 4.11.23-1
fixed 1025096 4.12.14-1
thanks
Please consider fixing this in stable as well.
I attach a proposal for a 4.11.23-1+deb11u1 version,
which is just a backport of the fix applied in 4.12.14-1.
Thanks.
diff -Nru nanoc-4.11.23/debian/changelog nanoc-4.11.23/debian/changelog
--- nanoc-4.11.23/debian/changelog 2021-02-06 15:28:54.000000000 +0100
+++ nanoc-4.11.23/debian/changelog 2022-12-23 15:24:01.000000000 +0100
@@ -1,3 +1,9 @@
+nanoc (4.11.23-1+deb11u1) bullseye; urgency=medium
+
+ * Disable test that checks for the current year (Closes: #1025096)
+
+ -- Antonio Terceiro <terce...@debian.org> Fri, 23 Dec 2022 11:24:01 -0300
+
nanoc (4.11.23-1) unstable; urgency=medium
* New upstream version 4.11.23
diff -Nru
nanoc-4.11.23/debian/patches/0018-Disable-test-that-requires-a-given-file-to-contain-t.patch
nanoc-4.11.23/debian/patches/0018-Disable-test-that-requires-a-given-file-to-contain-t.patch
---
nanoc-4.11.23/debian/patches/0018-Disable-test-that-requires-a-given-file-to-contain-t.patch
1970-01-01 01:00:00.000000000 +0100
+++
nanoc-4.11.23/debian/patches/0018-Disable-test-that-requires-a-given-file-to-contain-t.patch
2022-12-23 15:24:01.000000000 +0100
@@ -0,0 +1,21 @@
+From: Antonio Terceiro <terce...@debian.org>
+Date: Fri, 23 Dec 2022 11:20:14 -0300
+Subject: Disable test that requires a given file to contain the current year
+
+This is a time bomb for any downstream distributors
+
+Forwarded: not-needed
+---
+ nanoc-core/spec/nanoc/core_spec.rb | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/nanoc-core/spec/nanoc/core_spec.rb
++++ b/nanoc-core/spec/nanoc/core_spec.rb
+@@ -4,6 +4,7 @@
+
+ describe Nanoc::Core do
+ it 'has up-to-date version information' do
++ skip "This is a time bomb for downstream distributors"
+ current_year = Date.today.year
+ expect(described_class.version_information).to match(/–#{current_year} /)
+ end
diff -Nru nanoc-4.11.23/debian/patches/series
nanoc-4.11.23/debian/patches/series
--- nanoc-4.11.23/debian/patches/series 2021-02-06 15:28:54.000000000 +0100
+++ nanoc-4.11.23/debian/patches/series 2022-12-23 15:24:01.000000000 +0100
@@ -15,3 +15,4 @@
0015-nanoc-core-skip-tests-that-fail-under-autopkgtest.patch
0016-filesystem_spec-skip-tests-that-fail-on-debian.patch
0017-nanoc-core-require-nanoc-version-for-test.patch
+0018-Disable-test-that-requires-a-given-file-to-contain-t.patch