From 5c521d258d1cf466c2be92f38fd13f7cb4fc1321f4ae92feff6b4ea944819b46 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 23 Oct 2023 13:39:35 +0000 Subject: [PATCH] Version for the package at build time OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=145 --- psmisc.changes | 5 +++++ psmisc.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/psmisc.changes b/psmisc.changes index d78360a..d12054d 100644 --- a/psmisc.changes +++ b/psmisc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 23 13:36:04 UTC 2023 - Dr. Werner Fink + +- Fix version at configure time as there was no .tarball-version + ------------------------------------------------------------------- Thu Feb 16 16:06:59 UTC 2023 - Ludwig Nussel diff --git a/psmisc.spec b/psmisc.spec index 4c788a3..5a532f3 100644 --- a/psmisc.spec +++ b/psmisc.spec @@ -70,6 +70,7 @@ grep -h src/ po/*.po|\ tr ' ' '\n'|\ sort -t : -k1,1 -u|\ sed -r 's/:[0-9]+$//' > po/POTFILES.in +echo %version > .tarball-version autoreconf -fi CFLAGS="-D_GNU_SOURCE -D_DEFAULT_SOURCE ${RPM_OPT_FLAGS} -pipe -fPIE" CXXFLAGS="$CFLAGS"