From 193640614699699ab877f59e0cb04a1afe39c67a Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 12 Sep 2014 11:21:37 +0300 Subject: rpm packaging: fix build deps for CentOS 7 Change-Id: I24adddedc2ef5d6cf192186ad613b7a599686449 Signed-off-by: Markus Lehtonen --- packaging/librpm-tizen.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packaging/librpm-tizen.spec') diff --git a/packaging/librpm-tizen.spec b/packaging/librpm-tizen.spec index 3ee46c799..844d69938 100644 --- a/packaging/librpm-tizen.spec +++ b/packaging/librpm-tizen.spec @@ -29,7 +29,7 @@ BuildRequires: lua-devel %endif BuildRequires: make BuildRequires: patch -%if 0%{?fedora} || 0%{?centos_version} +%if 0%{?fedora} || 0%{?centos_ver} || 0%{?centos_version} BuildRequires: popt-devel %else BuildRequires: pkgconfig(popt) @@ -37,7 +37,7 @@ BuildRequires: pkgconfig(popt) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(nss) BuildRequires: pkg-config -%if 0%{?centos_version} +%if 0%{?centos_ver} || 0%{?centos_version} BuildRequires: python-devel %else BuildRequires: pkgconfig(python) >= 2.6 @@ -51,7 +51,7 @@ BuildRequires: pkgconfig(libsmack) %if 0%{?suse_version} BuildRequires: fdupes %endif -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?centos_ver} >= 7 BuildRequires: libdb-devel %else BuildRequires: db-devel -- cgit v1.2.3