diff --git a/audacity.spec b/audacity.spec index a60274b..4a1317e 100644 --- a/audacity.spec +++ b/audacity.spec @@ -7,7 +7,7 @@ Name: audacity Version: 2.1.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Multitrack audio editor Group: Applications/Multimedia License: GPLv2 @@ -53,7 +53,9 @@ BuildRequires: vamp-plugin-sdk-devel >= 2.0 BuildRequires: zip BuildRequires: zlib-devel # We need /usr/bin/wx-config so that configure can detect the wx-config version: +%if 0%{?rhel} || 0%{?fedora} < 28 BuildRequires: wxGTK3-devel +%endif # But we will actually use the --toolkit=gtk2 version using --with-wx-version BuildRequires: compat-wxGTK3-gtk2-devel BuildRequires: autoconf @@ -109,7 +111,9 @@ done %build %configure \ --with-help \ +%if 0%{?rhel} || 0%{?fedora} < 28 --with-wx-version=3.0-gtk2 \ +%endif --with-libsndfile=system \ --with-libsoxr=system \ --without-libresample \ @@ -212,6 +216,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %changelog +* Wed Oct 04 2017 Scott Talbert - 2.1.3-7 +- Update to build against merged compat-wxGTK3-gtk2-devel package + * Sat Sep 30 2017 Jerry James - 2.1.3-6 - Rebuild for soundtouch 2.0.0