From 13dc8220ecc97ec5ec921196d004e81e6e11e445 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Dec 2020 09:46:10 +0100 Subject: [PATCH] Fix location --- mosquitto.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mosquitto.spec b/mosquitto.spec index 30baca8..d247c79 100644 --- a/mosquitto.spec +++ b/mosquitto.spec @@ -20,9 +20,9 @@ BuildRequires: tcp_wrappers-libs #BuildRequires: uthash-devel Provides: bundled(uthash) -Requires(pre): shadow-utils -Requires(post): systemd -Requires(preun): systemd +Requires(pre): shadow-utils +Requires(post): systemd +Requires(preun): systemd Requires(postun): systemd %description @@ -65,7 +65,10 @@ export LIB_SUFFIX=64 mkdir -p %{buildroot}%{_unitdir} install -p -m 0644 service/systemd/%{name}.service.notify %{buildroot}%{_unitdir}/%{name}.service mv %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf.example %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf +# Temporary fix till be location is fixed upstream +%ifnarch armv7hl i686 mv %{buildroot}/usr/lib/*.so %{buildroot}%{_libdir}/ +%endif %check #make test