From 3ab82c15957943c42357191251f8ec4ea4a83dd7 Mon Sep 17 00:00:00 2001 From: Jan Friesse Date: Mon, 1 Jun 2020 17:52:35 +0200 Subject: [PATCH] Fix hardcoded-library-path Signed-off-by: Jan Friesse --- booth.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/booth.spec b/booth.spec index 93df525..b3d0812 100644 --- a/booth.spec +++ b/booth.spec @@ -270,15 +270,15 @@ VERBOSE=1 make check %files site # OCF (agent + a helper) ## /usr/lib/ocf/resource.d/pacemaker provided by pacemaker -/usr/lib/ocf/resource.d/pacemaker/booth-site -%dir /usr/lib/ocf/lib/booth - /usr/lib/ocf/lib/booth/geo_attr.sh +%{_usr}/lib/ocf/resource.d/pacemaker/booth-site +%dir %{_usr}/lib/ocf/lib/booth + %{_usr}/lib/ocf/lib/booth/geo_attr.sh # geostore (command + OCF agent) %{_sbindir}/geostore %{_mandir}/man8/geostore.8* ## /usr/lib/ocf/resource.d provided by resource-agents -%dir /usr/lib/ocf/resource.d/booth - /usr/lib/ocf/resource.d/booth/geostore +%dir %{_usr}/lib/ocf/resource.d/booth + %{_usr}/lib/ocf/resource.d/booth/geostore # helper (possibly used in the configuration hook) %dir %{_datadir}/booth %{_datadir}/booth/service-runnable @@ -288,12 +288,13 @@ VERBOSE=1 make check # /usr/share/booth provided by -site %{test_path} # /usr/lib/ocf/resource.d/booth provided by -site -/usr/lib/ocf/resource.d/booth/sharedrsc +%{_usr}/lib/ocf/resource.d/booth/sharedrsc %changelog * Mon Jun 1 2020 Jan Friesse - 1.0-5.385cc25.git.3 - Add CI tests - Enable gating +- Fix hardcoded-library-path * Mon Jun 1 2020 Jan Friesse - 1.0-5.385cc25.git.2 - Package /var/lib/booth where booth can chroot