diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-09-12 11:21:37 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-09-12 18:16:22 +0300 |
commit | 193640614699699ab877f59e0cb04a1afe39c67a (patch) | |
tree | 6aa7f65a8a239ab19c7c9af4196eda713d78983b /packaging | |
parent | 7ef5b7c236e96b765137f72123d6667bb97ed631 (diff) | |
download | librpm-tizen-193640614699699ab877f59e0cb04a1afe39c67a.tar.gz librpm-tizen-193640614699699ab877f59e0cb04a1afe39c67a.tar.bz2 librpm-tizen-193640614699699ab877f59e0cb04a1afe39c67a.zip |
rpm packaging: fix build deps for CentOS 7spin-release-latestrelease-20161231release-20160930release-20160615release-20160531release-20160411release-20160315devel_psk_20160727
Change-Id: I24adddedc2ef5d6cf192186ad613b7a599686449
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
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 |