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}