1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-01 22:25:26 +02:00

versioning: add build version to rpm packaging

GitLab: #2045
Change-Id: I44e1c6862305706bb177b1d8f4b1900f1c0098a5
This commit is contained in:
Félix Boucher 2025-05-02 13:07:45 -04:00 committed by François-Simon Fauteux-Chapleau
parent b15d692a0e
commit eb6b6a2b93
2 changed files with 2 additions and 1 deletions

View file

@ -82,6 +82,7 @@ cd %{_builddir}/jami-%{version} && \
-DAPPSTREAM_CATALOG_DIR=%{appstream_catalog_dir} \
-DWITH_DAEMON_SUBMODULE=true \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_VERSION=${BUILD_VERSION} \
..
make -C %{_builddir}/jami-%{version}/build %{_smp_mflags} V=2

View file

@ -134,7 +134,7 @@ rpmbuild --define "debug_package %{nil}" -ba jami-libclient.spec
rpmbuild --define "debug_package %{nil}" -ba jami-qt.spec
# Build the Qt client.
rpmbuild --define "debug_package %{nil}" -ba jami.spec
rpmbuild --define "debug_package %{nil}" --define "BUILD_VERSION ${BUILD_VERSION}" -ba jami.spec
# Move the built packages to the output directory.
mv /root/rpmbuild/RPMS/*/* /opt/output