GNU bug report logs - #67588
libtool --version copyright year stale

Previous Next

Package: libtool;

Reported by: Karl Berry <karl <at> freefriends.org>

Date: Sat, 2 Dec 2023 18:52:02 UTC

Severity: normal

Done: Mike Frysinger <vapier <at> gentoo.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mike Frysinger <vapier <at> gentoo.org>
To: 67588 <at> debbugs.gnu.org
Subject: bug#67588: [PATCH] maint: add hook to automate release version updates
Date: Fri, 12 Jan 2024 02:13:24 -0500
Fixes libtool bug https://bugs.gnu.org/67588.

Automate the process to avoid it falling stale again in the future,
and then refresh here to get in sync.

* cfg.mk: Add rule to update libtool.m4 release version.
* m4/libtool.m4: Update release year.
---
 cfg.mk        | 5 +++++
 m4/libtool.m4 | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/cfg.mk b/cfg.mk
index 03ada1c11d54..62782ba809fb 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -23,6 +23,11 @@
 
 update-copyright-env := UPDATE_COPYRIGHT_FORCE=1 UPDATE_COPYRIGHT_USE_INTERVALS=1
 
+update-copyright: update-release-year
+update-release-year:
+	$(AM_V_GEN)year=`date +%Y`; \
+	sed -i "/_LT_COPY/,+1 { /Copyright/ {s:[0-9][0-9][0-9][0-9]:$${year}:} }" m4/libtool.m4
+
 # Set format of NEWS
 old_NEWS_hash := 68e212222416d15e517576ce749b131f
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index b9d3b1a5e3a6..8606c4e243f1 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -9,7 +9,7 @@
 # modifications, as long as this notice is preserved.
 
 m4_define([_LT_COPYING], [dnl
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2024 Free Software Foundation, Inc.
 # This is free software; see the source for copying conditions.  There is NO
 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
-- 
2.43.0





This bug report was last modified 1 year and 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.