From 5796e3a74265f1d808b232dcaf65ba440de019c0 Mon Sep 17 00:00:00 2001 From: Umer Saleem Date: Thu, 16 Nov 2023 21:58:47 +0500 Subject: [PATCH] Packaging: Auto-generate changelog during configure (#15528) Auto-generate changelog based off on @VERSION@ during configure, so that it is not needed to be update with new releases / version updates. Signed-off-by: Umer Saleem Reviewed-by: Tony Hutter --- .gitignore | 1 + configure.ac | 1 + contrib/debian/{changelog => changelog.in} | 6 ++++++ 3 files changed, 8 insertions(+) rename contrib/debian/{changelog => changelog.in} (74%) diff --git a/.gitignore b/.gitignore index 47d17ae16d34..a2cb92dd5406 100644 --- a/.gitignore +++ b/.gitignore @@ -83,6 +83,7 @@ modules.order Makefile Makefile.in +changelog *.patch *.orig *.tmp diff --git a/configure.ac b/configure.ac index 99db7a1e35f6..2ce049c58219 100644 --- a/configure.ac +++ b/configure.ac @@ -67,6 +67,7 @@ ZFS_AC_DEBUG_INVARIANTS AC_CONFIG_FILES([ contrib/debian/rules + contrib/debian/changelog Makefile include/Makefile lib/libzfs/libzfs.pc diff --git a/contrib/debian/changelog b/contrib/debian/changelog.in similarity index 74% rename from contrib/debian/changelog rename to contrib/debian/changelog.in index 0d6a987dc2c4..9ced39b1f7b5 100644 --- a/contrib/debian/changelog +++ b/contrib/debian/changelog.in @@ -1,3 +1,9 @@ +openzfs-linux (@VERSION@-1) unstable; urgency=low + + * OpenZFS @VERSION@ is tagged. + + -- Umer Saleem Wed, 15 Nov 2023 15:00:00 +0500 + openzfs-linux (2.2.99-1) unstable; urgency=low * OpenZFS 2.2 is tagged.