[packages/parigp] fix install without tex if tex is installed without all deps
atler
atler at pld-linux.org
Sun Jan 29 22:42:33 CET 2023
commit 2459fafd983a1402fbe05ca802442eca450f3749
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Jan 29 22:41:59 2023 +0100
fix install without tex if tex is installed without all deps
parigp.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/parigp.spec b/parigp.spec
index 9e1e460..53c0ae1 100644
--- a/parigp.spec
+++ b/parigp.spec
@@ -252,7 +252,8 @@ install -d $RPM_BUILD_ROOT{%{_datadir}/parigp/galdata,%{_examplesdir}/parigp} \
# parigp, pari & pari-devel
%{__make} -C Olinux-%{_target_cpu} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ %{!?with_tex:TEX=: LATEX=:}
install src/tags $RPM_BUILD_ROOT%{_datadir}/parigp/misc
install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/parigp.git/commitdiff/2459fafd983a1402fbe05ca802442eca450f3749
More information about the pld-cvs-commit
mailing list