X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf.d%2Fpackaging%2Frpm%2Fagl-app-framework-binder.spec;h=f9e339dc1344b00e93c5ca698fd75adb2d71d368;hb=14b401595576394f6d17aeddd6c172a445e30757;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..f9e339dc 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++ -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 @@ -60,7 +66,7 @@ export PKG_CONFIG_PATH=%{_libdir}/pkgconfig %make_install mkdir -p %{buildroot}%{_sysconfdir}/profile.d -cat << EOF > %{buildroot}%{_sysconfdir}/profile.d/AGL-%{name}.sh +cat << EOF > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh #---------- AGL %%{name} options Start ---------" # Object: AGL cmake option for binder/bindings export LD_LIBRARY_PATH=%{_libdir}:\${LD_LIBRARY_PATH} @@ -90,7 +96,7 @@ EOF #app-framework-binder demo %{_libdir}/afb/*.so -%config(noreplace) %{_sysconfdir}/profile.d/AGL-%{name}.sh +%config(noreplace) %{_sysconfdir}/profile.d/%{name}.sh #app-framework-binder monitoring %dir %{_libdir}/afb/monitoring