use obsolute path create soft link file

This commit is contained in:
wang--ge 2025-01-14 20:32:44 +08:00
parent 328868cc09
commit c1a76958ec

View File

@ -13,7 +13,7 @@
Name: valgrind
Version: 3.16.0
Release: 6
Release: 7
Epoch: 1
Summary: An instrumentation framework for building dynamic analysis tools
License: GPLv2+
@ -74,7 +74,7 @@ mkdir -p ../../lib/valgrind
for i in *-%{arch_val}-*;do
j=`echo $i | sed 's/-%{arch_val}-/-%{arch_old_val}-/'`
ln -sf $i $j
ln -sf $i ../../lib/valgrind/$j
ln -sf %{_libdir}/valgrind/$i ../../lib/valgrind/$j
done
%endif
popd
@ -106,6 +106,12 @@ popd
%{_mandir}/man1/*
%changelog
* Tue Jan 14 2025 Ge Wang <wang__ge@126.com> - 1:3.16.0-7
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:x86_64: use obsolute path create soft link file
* Tue Jan 07 2025 Ge Wang <wang__ge@126.com> - 1:3.16.0-6
- Type:bugfix
- ID:NA