X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf.d%2Fpackaging%2Frpm%2Fagl-app-framework-binder.spec;h=150fd9f6c21bb0f5cdcce394a954807f220de6bb;hb=51b8ff088991a18d744b6b86430afc8d83c4fcd8;hp=94de1c796b8f3b14c26f55b73f3baeb848b05f64;hpb=77bf8a30c07a4ab5690337ed362dae4414e590fb;p=src%2Fapp-framework-binder.git diff --git a/conf.d/packaging/rpm/agl-app-framework-binder.spec b/conf.d/packaging/rpm/agl-app-framework-binder.spec index 94de1c79..150fd9f6 100644 --- a/conf.d/packaging/rpm/agl-app-framework-binder.spec +++ b/conf.d/packaging/rpm/agl-app-framework-binder.spec @@ -16,7 +16,7 @@ Group: Development/Libraries/C and C++ Url: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/app-framework-binder Source: app-framework-binder-%{version}.tar.gz #BuildRequires: gdb -BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.62 +BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.60 BuildRequires: make BuildRequires: cmake BuildRequires: pkgconfig(libsystemd) >= 222 @@ -28,7 +28,13 @@ BuildRequires: pkgconfig(json-c) BuildRequires: file-devel BuildRequires: gcc-c++ -Requires: libmicrohttpd >= 0.9.62 +%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 @@ -51,7 +57,7 @@ This service is evolving permanently and is only designed as a helper for develo %build export PKG_CONFIG_PATH=%{_libdir}/pkgconfig -%cmake -DAGL_DEVEL=1 -DINCLUDE_MONITORING=ON +%cmake -DAGL_DEVEL=1 -DINCLUDE_MONITORING=ON -DCMAKE_C_FLAGS="-D_FORTIFY_SOURCE=1" %__make %{?_smp_mflags}