Bump up the version to 2.0.4
PATCH v2 1/1 Bump up the version to 2.0.4
From: Eugene Loh <[email protected]>
Note that test/unittest/preprocessor/tst.predefined.sh checks that the __SUNW_D_VERSION preprocessor symbol is consistent with the "dtrace -vV" message, and both of them simply use the last entry of versions.list and therefore will be consistent for in-tree builds.
When RPM packages are built from the .spec file, however, _DT_VERSION, used for the "dtrace -vV" "This is" message, comes from the .spec file.
Append a 2.0.4 entry to versions.list.
Remove the VERSION=%{version} from dtrace.spec build's make line, so that the version of the implementation is defined by the source code itself. The version in the spec file should be only the version of the packaging.
--- dtrace.spec | 3 +-- libdtrace/versions.list | 1 + 2 files changed, 2 insertions(+), 2 deletions(-)
dtrace.spec +1 -2
@@ -131,8 +131,7 @@ it always tests the installed DTrace. %setup -q %build -make -j $(getconf _NPROCESSORS_ONLN) VERSION=%{version} \ - %{bpfc} %{maybe_use_fuse2} +make -j $(getconf _NPROCESSORS_ONLN) %{bpfc} %{maybe_use_fuse2} # Force off debuginfo splitting. We have no debuginfo in dtrace proper, # and the testsuite requires debuginfo for proper operation.
libdtrace/versions.list +1 -0
@@ -65,3 +65,4 @@ 2.0.1 D API 2.0.1 Linux (BPF) 2.0.2 D API 2.0.2 Linux (BPF) 2.0.3 D API 2.0.3 Linux (BPF) +2.0.4 D API 2.0.4 Linux (BPF)
Signature · 1 line
2.47.3
Quoted 10 lines · On Sun, Oct 26, 2025 at 10:27:37PM -0400, [email protected] wrote:
From: Eugene Loh <[email protected]>
Note that
test/unittest/preprocessor/tst.predefined.shchecks that the__SUNW_D_VERSIONpreprocessor symbol is consistent with the "dtrace -vV" message, and both of them simply use the last entry of versions.list and therefore will be consistent for in-tree builds.When RPM packages are built from the .spec file, however,
_DT_VERSION, used for the "dtrace -vV" "This is" message, comes from the .spec file.
Quoted 8 lines
Append a 2.0.4 entry to versions.list.
Remove the VERSION=%{version} from dtrace.spec build's make line, so that the version of the implementation is defined by the source code itself. The version in the spec file should be only the version of the packaging.
Signed-off-by Eugene Loh <[email protected]>
Quoted 31 lines
--- dtrace.spec | 3 +-- libdtrace/versions.list | 1 + 2 files changed, 2 insertions(+), 2 deletions(-)dtrace.spec +1
-2@@ -131,8 +131,7 @@ it always tests the installed DTrace. %setup -q %build -make -j $(getconf _NPROCESSORS_ONLN) VERSION=%{version} \ - %{bpfc} %{maybe_use_fuse2} +make -j $(getconf _NPROCESSORS_ONLN) %{bpfc} %{maybe_use_fuse2} # Force off debuginfo splitting. We have no debuginfo in dtrace proper, # and the testsuite requires debuginfo for proper operation.libdtrace/versions.list +1
-0@@ -65,3 +65,4 @@ 2.0.1 D API 2.0.1 Linux (BPF) 2.0.2 D API 2.0.2 Linux (BPF) 2.0.3 D API 2.0.3 Linux (BPF) +2.0.4 D API 2.0.4 Linux (BPF)Signature · 1 line
2.47.3