Update spec file to support building alpha versions.

This commit is contained in:
Richard Shaw 2021-01-01 12:54:48 -06:00
parent 3a64875267
commit 2cc0b25fed
1 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,6 @@
# For test builds, should be set to 0 for release builds.
%global alpha 0
Name: fldigi
Version: 4.1.17
Release: 1%{?dist}
@ -5,7 +8,12 @@ Summary: Digital modem program for Linux
License: GPLv3+
URL: http://www.w1hkj.com/Fldigi.html
%if %{alpha}
Source0: http://www.w1hkj.com/alpha/%{name}/%{name}-%{version}.tar.gz
%else
Source0: http://www.w1hkj.com/files/%{name}/%{name}-%{version}.tar.gz
%endif
Source100: fldigi.appdata.xml
#BuildRequires: automake autoconf libtool