remove empty soft link file
(cherry picked from commit 8c05ba5dd97adc9b028a4b5329d8768b8f97fd5c)
This commit is contained in:
parent
68fbd38547
commit
33a55351fe
@ -21,7 +21,7 @@
|
||||
|
||||
Name: valgrind
|
||||
Version: 3.22.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Epoch: 1
|
||||
Summary: An instrumentation framework for building dynamic analysis tools
|
||||
License: GPLv2+
|
||||
@ -90,13 +90,6 @@ OPTFLAGS="`echo " $optflags " | sed 's/ -m\(64\|3[21]\) / /g;s/ -fexceptions / /
|
||||
|
||||
pushd %{buildroot}%{_libdir}/valgrind/
|
||||
rm -f *.supp.in *.a
|
||||
%if "%{arch_old_val}" != ""
|
||||
rm -f *-%{arch_old_val}-* || :
|
||||
for i in *-%{arch_val}-*; do
|
||||
j=`echo $i | sed 's/-%{arch_val}-/-%{arch_old_val}-/'`
|
||||
ln -sf ../../lib/valgrind/$j $j
|
||||
done
|
||||
%endif
|
||||
popd
|
||||
|
||||
pushd %{buildroot}%{_includedir}/%{name}
|
||||
@ -111,9 +104,6 @@ popd
|
||||
%dir %{_libexecdir}/%{name}
|
||||
%{_libexecdir}/valgrind/*[^o]
|
||||
%attr(0755,root,root) %{_libexecdir}/valgrind/vgpreload*-%{arch_val}-*so
|
||||
%if "%{arch_old_val}" != ""
|
||||
%{_libdir}/%{name}/*-%{arch_old_val}-*
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}
|
||||
@ -124,6 +114,9 @@ popd
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 14 2025 Ge Wang <wang__ge@126.com> - 1:3.22.0-3
|
||||
- Remove empty soft link file
|
||||
|
||||
* Mon Jan 22 2024 peng.zou <peng.zou@shingroup.cn> - 1:3.22.0-2
|
||||
- Add ppc64le support
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user