From 07ef80945c9c7c493fd0017e559fad0a26b84c17 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 7 Sep 2026 11:41:17 +0200 Subject: qtmaildir: fix version string by disabling build number QTMAILDIR_BUILD_NUMBER is ON upstream so developers can distinguish builds of an unreleased version. In a package it makes the release report "0.27.0 build 1", numbering a release after a counter that restarts in every fresh build directory. Turn it off. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_016yeUGcX28FHJNQMtkzqx5e --- qtmaildir/qtmaildir.SlackBuild | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qtmaildir') diff --git a/qtmaildir/qtmaildir.SlackBuild b/qtmaildir/qtmaildir.SlackBuild index e9bf63f..907f7e4 100644 --- a/qtmaildir/qtmaildir.SlackBuild +++ b/qtmaildir/qtmaildir.SlackBuild @@ -78,6 +78,11 @@ find -L . \ # QTMAILDIR_BUILD_TESTS=OFF skips the test suite, which needs Qt6::Test and # builds nothing that ships. +# +# QTMAILDIR_BUILD_NUMBER=OFF keeps the version a clean X.Y.Z. That option is +# ON upstream so a developer can tell one build of an unreleased version from +# another, and it would make this package report "0.27.0 build 1", numbering a +# release after a counter that starts at 1 in every fresh build directory. mkdir -p build cd build cmake \ @@ -86,6 +91,7 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DQTMAILDIR_BUILD_TESTS=OFF \ + -DQTMAILDIR_BUILD_NUMBER=OFF \ -DCMAKE_BUILD_TYPE=Release .. make make install/strip DESTDIR=$PKG -- cgit v1.2.3