[packages/nut] - explicitly specify augeas lenses dir instead of relying on installed packages

qboosh qboosh at pld-linux.org
Wed Jul 27 18:27:39 CEST 2022


commit 5343d2a17534936b067ef2c4fd1f483b430e177f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jul 27 18:29:45 2022 +0200

    - explicitly specify augeas lenses dir instead of relying on installed packages

 nut.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/nut.spec b/nut.spec
index 1fd14d2..7056dc1 100644
--- a/nut.spec
+++ b/nut.spec
@@ -217,6 +217,7 @@ Statyczne biblioteki NUT-a.
 export CXXFLAGS="%{rpmcxxflags} -std=c++11"
 %configure \
 	--datadir=%{_datadir}/%{name} \
+	--with-augeas-lenses-dir=%{_datadir}/augeas/lenses/dist \
 	--with-cgipath=/home/services/httpd/cgi-bin \
 	--with-drvpath=/lib/nut \
 	--with-htmlpath=%{_datadir}/%{name}/html \
@@ -438,7 +439,7 @@ fi
 %attr(755,root,root) /lib/nut/victronups
 %dir %{_datadir}/nut
 %{systemdtmpfilesdir}/nut-common.tmpfiles
-%{_datadir}/augeas/lenses/nut*.aug
+%{_datadir}/augeas/lenses/dist/nut*.aug
 %{_datadir}/nut/cmdvartab
 %{_datadir}/nut/driver.list
 %{_mandir}/man5/nut.conf.5*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nut.git/commitdiff/5343d2a17534936b067ef2c4fd1f483b430e177f



More information about the pld-cvs-commit mailing list