diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/librpm-tizen.spec | 6 |
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 |