RC2 in the spec file, not Source

This commit is contained in:
Tru Huynh (pasteur.fr) 2018-03-23 20:15:36 +01:00
parent 8ef222dfad
commit 6c279c957b
2 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
Name: barrier
Version: 2.0.0
#Version: 2.0.0-RC2 ###FIXME can't have a dash - in the version string
Summary: Keyboard and mouse sharing solution
Group: Applications/Productivity
URL: https://github.com/debauchee/barrier/
Source: barrier-2.0.0-Source.tar.gz
Source: barrier-2.0.0-RC2.tar.gz
#Source: barrier-2.0.0-Source.tar.gz
#Source: https://github.com/debauchee/barrier/archive/v2.0.0-RC2.tar.gz
# workaround the git versionning and set to Release instead of the default Debug
#Source1: build_env.sh
@ -38,8 +38,8 @@ Work seamlessly across Windows, macOS and Linux.
%endif
%prep
%setup -n %{name}-2.0.0-Source
#%setup -n %{name}-2.0.0-RC2
#%setup -n %{name}-2.0.0-Source
%setup -n %{name}-2.0.0-RC2
%build
echo "export B_BUILD_TYPE=Release" > build_env.sh

View File

@ -10,4 +10,4 @@ RUN yum -y install cmake3 make qt5-qtbase-devel gcc \
# during the testing period using truatpasteurdotfr/barrier pre-released tarball
# final version should use the https://github.com/debauchee/barrier release versions
RUN wget https://github.com/truatpasteurdotfr/barrier/archive/v2.0.0-RC2.tar.gz -O barrier-2.0.0-Source.tar.gz && rpmbuild -ta barrier-2.0.0-Source.tar.gz | tee rpmbuild.log
RUN wget https://github.com/truatpasteurdotfr/barrier/archive/v2.0.0-RC2.tar.gz -O barrier-2.0.0-RC2.tar.gz && rpmbuild -ta barrier-2.0.0-RC2.tar.gz | tee rpmbuild.log