From 0733fe2aa56b123b153f9fe8ad86d5e67d40dc7d 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 47d17ae16..a2cb92dd5 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 4c75616e4..f31fe1db8 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 ba42ea59f..525519a73 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.0-0) unstable; urgency=low * OpenZFS 2.2.0 is tagged.