mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
chore(build): force qt5 version and dir in rpm
This commit is contained in:
parent
ee527531d1
commit
c31ccedd1b
2 changed files with 4 additions and 5 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# -*- rpm-spec -*-
|
||||
|
||||
%define _qt5_version 5.10.1
|
||||
%define _qt5_dir /opt/com.belledonne-communications/linphone
|
||||
|
||||
%define _qt5_archdatadir %{_qt5_dir}
|
||||
%define _qt5_bindir %{_qt5_dir}/bin
|
||||
%define _qt5_docdir %{_qt5_dir}/doc
|
||||
|
|
|
|||
|
|
@ -74,8 +74,4 @@ cd ..
|
|||
mkdir -p ${RPM_FOLDER}/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
|
||||
tar --transform "s/^${REPO_FOLDER}/${RPM_NAME}/" -czvf ${RPM_FOLDER}/rpmbuild/SOURCES/${RPM_NAME}.tar.gz ${REPO_FOLDER}/
|
||||
|
||||
rpmbuild -bb \
|
||||
--define '_qt5_dir /opt/com.belledonne-communications/linphone' \
|
||||
--define "_qt5_version ${QT_VERSION}" \
|
||||
--define "_topdir $PWD/${RPM_FOLDER}/rpmbuild" \
|
||||
build/rpm/qt5.spec
|
||||
rpmbuild -bb --define "_topdir $PWD/${RPM_FOLDER}/rpmbuild" build/rpm/qt5.spec
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue