diff options
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 |