Flatpak lua files location fix.
This commit is contained in:
parent
8f0b09e730
commit
420b6df744
@ -431,6 +431,12 @@ rmdir %{buildroot}%{_libdir}/graphviz/python
|
|||||||
# Ghost plugins config
|
# Ghost plugins config
|
||||||
touch %{buildroot}%{_libdir}/graphviz/config%{pluginsver}
|
touch %{buildroot}%{_libdir}/graphviz/config%{pluginsver}
|
||||||
|
|
||||||
|
# Fix lua file placement for flatpak
|
||||||
|
if [ "%{_prefix}" != "/usr" ]; then
|
||||||
|
cp -ru %{buildroot}/usr/* %{buildroot}%{_prefix}/
|
||||||
|
rm -rf %{buildroot}/usr/*
|
||||||
|
fi
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{PHP}
|
%if %{PHP}
|
||||||
# Minimal load test of php extension
|
# Minimal load test of php extension
|
||||||
|
Loading…
Reference in New Issue
Block a user