Version for the package at build time

OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=145
This commit is contained in:
Dr. Werner Fink 2023-10-23 13:39:35 +00:00 committed by Git OBS Bridge
parent 851d15e1f9
commit 5c521d258d
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 23 13:36:04 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Fix version at configure time as there was no .tarball-version
-------------------------------------------------------------------
Thu Feb 16 16:06:59 UTC 2023 - Ludwig Nussel <lnussel@suse.de>

View File

@ -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"