From 4247f7b55778dd98f1e2bc4f1d982259714f149b Mon Sep 17 00:00:00 2001 From: codestation Date: Sat, 21 Feb 2015 17:55:49 -0430 Subject: [PATCH] Add centos support in spec file. --- rpmbuild/qcma.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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