diff options
author | Zhang Qiang <qiang.z.zhang@intel.com> | 2013-02-22 17:45:44 -0500 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-11 17:48:02 +0300 |
commit | 168f1c3782a7e7831bbaa5f5ef2a33aa402334fd (patch) | |
tree | 8a034865a0a6dfb1b467560e752cc0071acad95f /packaging/librpm-tizen.spec | |
parent | f7c7290ca8ca74a431575a239a02a6b28359d83c (diff) | |
download | librpm-tizen-168f1c3782a7e7831bbaa5f5ef2a33aa402334fd.tar.gz librpm-tizen-168f1c3782a7e7831bbaa5f5ef2a33aa402334fd.tar.bz2 librpm-tizen-168f1c3782a7e7831bbaa5f5ef2a33aa402334fd.zip |
fix packaging dependency issue for centos
Change-Id: I503381df3107c59c8cac45048358ad9e59c8e0ac
Diffstat (limited to 'packaging/librpm-tizen.spec')
-rw-r--r-- | packaging/librpm-tizen.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/librpm-tizen.spec b/packaging/librpm-tizen.spec index e9db6ae04..21b0b0592 100644 --- a/packaging/librpm-tizen.spec +++ b/packaging/librpm-tizen.spec @@ -18,7 +18,7 @@ BuildRequires: gzip BuildRequires: libtool BuildRequires: make BuildRequires: patch -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?centos_version} BuildRequires: popt-devel %else BuildRequires: pkgconfig(popt) @@ -26,7 +26,11 @@ BuildRequires: pkgconfig(popt) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(nss) BuildRequires: pkg-config +%if 0%{?centos_version} +BuildRequires: python-devel +%else BuildRequires: pkgconfig(python) >= 2.6 +%endif # Disable security %if 0 BuildRequires: uthash-devel |