From d75c0cbd1a2f9824ebb9a600b0e4353040b1fcc4 Mon Sep 17 00:00:00 2001 From: Michael Cronenworth Date: Wed, 15 Feb 2023 21:20:44 -0600 Subject: [PATCH] Fix fedora conditional --- FAudio.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/FAudio.spec b/FAudio.spec index e1dd876..51b5680 100644 --- a/FAudio.spec +++ b/FAudio.spec @@ -12,9 +12,9 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make -%if 0%{fedora} +%if 0%{?fedora} BuildRequires: SDL2-devel >= 2.24 -%{endif} +%endif BuildRequires: mingw32-filesystem >= 95 BuildRequires: mingw32-gcc @@ -77,10 +77,10 @@ cp -rp . ../mingw-build %build -%if 0%{fedora} +%if 0%{?fedora} %cmake %cmake_build -%{endif} +%endif pushd ../mingw-build %mingw_cmake @@ -89,9 +89,9 @@ popd %install -%if 0%{fedora} +%if 0%{?fedora} %cmake_install -%{endif} +%endif pushd ../mingw-build %mingw_make_install @@ -99,7 +99,7 @@ pushd ../mingw-build popd -%if 0%{fedora} +%if 0%{?fedora} %files -n libFAudio %license LICENSE %doc README @@ -118,7 +118,7 @@ popd %{_includedir}/FAPOFX.h %{_includedir}/FAudio.h %{_includedir}/FAudioFX.h -%{endif} +%endif %files -n mingw32-%{name}