1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-11-03 17:27:29 -05:00

Rearrange the order of checking for the %{is_prerelease} macro

This commit is contained in:
John Zaitseff 2012-04-16 15:13:26 +10:00
parent 77d0e3c47f
commit 9058a9a81a

View File

@ -13,16 +13,17 @@
%define real_version 7.4-pre2
%define fake_version 7.3.99.2
%define release_num 1
%define is_prerelease 1
Name: trader
%if ! 0%{?is_prerelease}
Version: %{real_version}
Source0: ftp://ftp.zap.org.au/pub/trader/unix/trader-%{version}.tar.bz2
%else
%if 0%{?is_prerelease}
Version: %{fake_version}
Source0: ftp://ftp.zap.org.au/pub/trader/unix/prerelease/trader-%{real_version}.tar.gz
%else
Version: %{real_version}
Source0: ftp://ftp.zap.org.au/pub/trader/unix/trader-%{version}.tar.bz2
%endif
%if 0%{?suse_version} > 1000