diff --git a/rpmbuild/qcma.spec b/rpmbuild/qcma.spec index 63885d9..13f59d4 100644 --- a/rpmbuild/qcma.spec +++ b/rpmbuild/qcma.spec @@ -10,7 +10,7 @@ %define _verprefix v%{_version} %endif -%if %{defined fedora} +%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} %define _qt5base qt5-qtbase %define _qt5imageformats qt5-qtimageformats %define _pkgconfig pkgconfig