mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-02 06:35:29 +02:00
versioning: add build version to rpm packaging
GitLab: #2045 Change-Id: I44e1c6862305706bb177b1d8f4b1900f1c0098a5
This commit is contained in:
parent
b15d692a0e
commit
eb6b6a2b93
2 changed files with 2 additions and 1 deletions
|
@ -82,6 +82,7 @@ cd %{_builddir}/jami-%{version} && \
|
||||||
-DAPPSTREAM_CATALOG_DIR=%{appstream_catalog_dir} \
|
-DAPPSTREAM_CATALOG_DIR=%{appstream_catalog_dir} \
|
||||||
-DWITH_DAEMON_SUBMODULE=true \
|
-DWITH_DAEMON_SUBMODULE=true \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DBUILD_VERSION=${BUILD_VERSION} \
|
||||||
..
|
..
|
||||||
make -C %{_builddir}/jami-%{version}/build %{_smp_mflags} V=2
|
make -C %{_builddir}/jami-%{version}/build %{_smp_mflags} V=2
|
||||||
|
|
||||||
|
|
|
@ -134,7 +134,7 @@ rpmbuild --define "debug_package %{nil}" -ba jami-libclient.spec
|
||||||
rpmbuild --define "debug_package %{nil}" -ba jami-qt.spec
|
rpmbuild --define "debug_package %{nil}" -ba jami-qt.spec
|
||||||
|
|
||||||
# Build the Qt client.
|
# 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.
|
# Move the built packages to the output directory.
|
||||||
mv /root/rpmbuild/RPMS/*/* /opt/output
|
mv /root/rpmbuild/RPMS/*/* /opt/output
|
||||||
|
|
Loading…
Add table
Reference in a new issue