diff --git a/trader.spec b/trader.spec index 121fe85..0db670c 100644 --- a/trader.spec +++ b/trader.spec @@ -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