aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-11 09:59:49 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-11 09:59:49 +0200
commitb4cdfa95632c87481e3783a740d475b721ca17b9 (patch)
tree55052712de8b37c953d366669caaae89e749afce
parent2d52dba59e1d9a2a1f3d46315e5bbebdd1068e8c (diff)
spec: libdbi-drivers: sqlite3-devel vs sqlite-devel
It's called sqlite-devel in centos. Change-Id: I67c2b66cc413957fc956b0f140060ce5f79fd5de
-rw-r--r--rpm-local/spec/libdbi-drivers/libdbi-drivers.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm-local/spec/libdbi-drivers/libdbi-drivers.spec b/rpm-local/spec/libdbi-drivers/libdbi-drivers.spec
index 39b4c7f..d4cc4dd 100644
--- a/rpm-local/spec/libdbi-drivers/libdbi-drivers.spec
+++ b/rpm-local/spec/libdbi-drivers/libdbi-drivers.spec
@@ -40,7 +40,11 @@ BuildRequires: libtool
BuildRequires: mysql-devel
BuildRequires: openjade
BuildRequires: postgresql-devel
+%if 0%{centos_ver}
+BuildRequires: sqlite-devel
+%else
BuildRequires: sqlite3-devel
+%endif
BuildRequires: xz
%define build_doc 0
%if %build_doc