mirror of
https://git.zap.org.au/git/trader.git
synced 2024-11-03 17:27:29 -05:00
Convert the definition of is_prerelease to a boolean (0 or 1)
This commit is contained in:
parent
3212a672f9
commit
f6434ee5f3
10
trader.spec
10
trader.spec
@ -13,16 +13,16 @@
|
||||
|
||||
%define real_version 7.4-pre2
|
||||
%define fake_version 7.3.99.2
|
||||
%define is_prerelease yes
|
||||
%define is_prerelease 1
|
||||
|
||||
Name: trader
|
||||
|
||||
%if %{is_prerelease} == yes
|
||||
Version: %{fake_version}
|
||||
Source0: ftp://ftp.zap.org.au/pub/trader/unix/prerelease/trader-%{real_version}.tar.gz
|
||||
%else
|
||||
%if ! %{is_prerelease}
|
||||
Version: %{real_version}
|
||||
Source0: ftp://ftp.zap.org.au/pub/trader/unix/trader-%{version}.tar.bz2
|
||||
%else
|
||||
Version: %{fake_version}
|
||||
Source0: ftp://ftp.zap.org.au/pub/trader/unix/prerelease/trader-%{real_version}.tar.gz
|
||||
%endif
|
||||
|
||||
Release: 1%{?dist}
|
||||
|
Loading…
Reference in New Issue
Block a user