fix unknown corruption

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=237
This commit is contained in:
Dave Plater 2024-11-03 09:26:41 +00:00 committed by Git OBS Bridge
parent b7261a4bb4
commit 9d289397c3

View File

@ -29,7 +29,7 @@ Source: https://github.com/audacity/audacity/archive/Audacity-%{version}
Source1: audacity-license-nyquist
Source2: audacity-rpmlintrc
%if %{with vst3}
Source3: vst3sdk-3.7.12_build_20.tar.xz
#Source3: vst3sdk-3.7.12_build_20.tar.xz
%endif
# PATCH-FIX-OPENSUSE audacity-no_buildstamp.patch davejplater@gmail.com -- Remove the buildstamp.
Patch0: audacity-no_buildstamp.patch
@ -39,7 +39,7 @@ Patch1: audacity-no_return_in_nonvoid.patch
Patch3: lib64-plugins-default-path.patch
BuildRequires: cmake >= 3.16
BuildRequires: desktop-file-utils
%if 0%{?suse_version} <= 1600
%if 0%{?suse_version} < 1600
BuildRequires: gcc12
BuildRequires: gcc12-c++
%else
@ -142,7 +142,7 @@ tar xf %{SOURCE3} --strip-components=1 --one-top-level=vst3sdk
%endif
%build
%if 0%{?suse_version} <= 1600
%if 0%{?suse_version} < 1600
export CC=gcc-12
export CXX=g++-12
%endif