aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUmer Saleem <[email protected]>2023-11-16 21:58:47 +0500
committerTony Hutter <[email protected]>2023-11-16 14:23:03 -0800
commit0733fe2aa56b123b153f9fe8ad86d5e67d40dc7d (patch)
treea40c549ad4740435af5738797ee8b72d72582dc4
parentfd836dfe24f8649e3ee40c1c61fb37b5222aa367 (diff)
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 <[email protected]> Reviewed-by: Tony Hutter <[email protected]>
-rw-r--r--.gitignore1
-rw-r--r--configure.ac1
-rw-r--r--contrib/debian/changelog.in (renamed from contrib/debian/changelog)6
3 files changed, 8 insertions, 0 deletions
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
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 <[email protected]> Wed, 15 Nov 2023 15:00:00 +0500
+
openzfs-linux (2.2.0-0) unstable; urgency=low
* OpenZFS 2.2.0 is tagged.