summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-09-12 11:21:37 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-09-12 18:16:22 +0300
commit193640614699699ab877f59e0cb04a1afe39c67a (patch)
tree6aa7f65a8a239ab19c7c9af4196eda713d78983b
parent7ef5b7c236e96b765137f72123d6667bb97ed631 (diff)
downloadlibrpm-tizen-release-20160411.tar.gz
librpm-tizen-release-20160411.tar.bz2
librpm-tizen-release-20160411.zip
Change-Id: I24adddedc2ef5d6cf192186ad613b7a599686449 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--packaging/librpm-tizen.spec6
1 files changed, 3 insertions, 3 deletions
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