summaryrefslogtreecommitdiffstats
path: root/conf.d/packaging/rpm
diff options
context:
space:
mode:
authorronan <ronan.lemartret@iot.bzh>2019-02-28 17:05:15 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-07 15:46:52 +0100
commitc829f91dc7ea9c403f0e70dbfd84dc1e0e5319f5 (patch)
treefaaacc07a0a487f18b7d3e45208470c2b71ae8c8 /conf.d/packaging/rpm
parentff2b8be09ec68755ce3fd196b21474c1abe38db0 (diff)
Fix build dep on OBS
Change-Id: I95fa03c430b9f488b3b5b9a9bdfc50a1ff0f0421 Signed-off-by: ronan <ronan.lemartret@iot.bzh>
Diffstat (limited to 'conf.d/packaging/rpm')
-rw-r--r--conf.d/packaging/rpm/agl-app-framework-binder.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf.d/packaging/rpm/agl-app-framework-binder.spec b/conf.d/packaging/rpm/agl-app-framework-binder.spec
index dbdb8989..9883b7c6 100644
--- a/conf.d/packaging/rpm/agl-app-framework-binder.spec
+++ b/conf.d/packaging/rpm/agl-app-framework-binder.spec
@@ -28,7 +28,13 @@ BuildRequires: pkgconfig(json-c)
BuildRequires: file-devel
BuildRequires: gcc-c++
+%if 0%{?suse_version}
+Requires: libmicrohttpd12 >= 0.9.60
+%endif
+
+%if 0%{?fedora_version}
Requires: libmicrohttpd >= 0.9.60
+%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build