Rebuilt for Boost 1.81

This commit is contained in:
Richard Shaw 2023-05-23 13:29:08 -05:00
parent 3f438e2ef4
commit 9753a0edcc
1 changed files with 10 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#global rctag rc4
%global rctag rc1
Name: wsjtx
Version: 2.6.1
Version: 2.7.0
Release: 2%{?dist}
Summary: Weak Signal communication by K1JT
License: GPLv3+
@ -10,6 +10,8 @@ URL: http://physics.princeton.edu/pulsar/k1jt/wsjtx.html
Source0: https://sourceforge.net/projects/wsjt/files/%{name}-%{version}%{?rctag:-%{rctag}}/%{name}-%{version}%{?rctag:-%{rctag}}.tgz
Source100: wsjtx.appdata.xml
Patch0: wsjtx.patch
BuildRequires: cmake
BuildRequires: dos2unix
BuildRequires: tar
@ -25,7 +27,7 @@ BuildRequires: hamlib-devel
BuildRequires: fftw-devel
BuildRequires: libusbx-devel
BuildRequires: systemd-devel
%if 0%{?rhel}
%if 0%{?rhel} && 0%{?rhel} < 9
BuildRequires: boost169-devel
%else
BuildRequires: boost-devel
@ -46,7 +48,8 @@ from the Moon.
%prep
%setup -n %{name}-%{version}%{?rctag:-%{rctag}}
%setup -n %{name}-%{version}
#{?rctag:-%{rctag}}
# remove bundled hamlib
rm -f src/hamlib*.tgz* src/hamlib*.tar.gz*
@ -57,6 +60,8 @@ rm -f src/wsjtx.tgz*
cd %{name}
%patch 0 -p2
%if ! 0%{?rhel} < 8
# remove bundled boost. EL 7 is not required version.
rm -rf boost
@ -132,6 +137,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
%{_bindir}/fmeasure
%{_bindir}/fmtave
%{_bindir}/fst4sim
%{_bindir}/hash22calc
%{_bindir}/jt4code
%{_bindir}/jt65code
%{_bindir}/jt9