!54 [sync] PR-52: fix sw_64 build error
From: @openeuler-sync-bot Reviewed-by: @weidongkl Signed-off-by: @weidongkl
This commit is contained in:
commit
0a7f6ebdd0
@ -18,7 +18,7 @@
|
||||
|
||||
Name: graphviz
|
||||
Version: 8.1.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Graph Visualization Tools
|
||||
License: EPL-1.0
|
||||
URL: http://www.graphviz.org/
|
||||
@ -124,7 +124,7 @@ Summary: Ruby extension for graphviz
|
||||
Requires: %{name} = %{version}-%{release} ruby
|
||||
%description ruby
|
||||
Ruby extension for graphviz.
|
||||
%ifnarch loongarch64
|
||||
%ifnarch loongarch64 sw_64
|
||||
%package tcl
|
||||
Summary: Tcl extension & tools for graphviz
|
||||
Requires: %{name} = %{version}-%{release} tcl >= 8.3 tk
|
||||
@ -211,7 +211,7 @@ mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
||||
echo "%{_libdir}/graphviz" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
touch $RPM_BUILD_ROOT%{_libdir}/graphviz/config%{pluginsver}
|
||||
|
||||
%ifarch loongarch64
|
||||
%ifarch loongarch64 sw_64
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/lua/5.4/
|
||||
mv $RPM_BUILD_ROOT/usr/lib/lua/5.4/gv.so $RPM_BUILD_ROOT/usr/lib64/lua/5.4/gv.so
|
||||
%endif
|
||||
@ -307,13 +307,16 @@ php --no-php-ini --define extension_dir=$RPM_BUILD_ROOT%{_libdir}/graphviz/php/
|
||||
%{_libdir}/graphviz/ruby/
|
||||
%{_libdir}/*ruby*/*
|
||||
|
||||
%ifnarch loongarch64
|
||||
%ifnarch loongarch64 sw_64
|
||||
%files tcl
|
||||
%{_libdir}/graphviz/tcl/
|
||||
%{_libdir}/tcl*/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Mar 11 2025 mahailiang <mahailiang@uniontech.com> - 8.1.0-3
|
||||
- fix sw_64 build error
|
||||
|
||||
* Tue Feb 06 2024 yaoxin <yao_xin001@hoperun.com> - 8.1.0-2
|
||||
- Fix CVE-2023-46045
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user