Fix remaining gating runpath failure
libtracecmd contains an empty DT_RPATH tag. It doesn't make the runpath check fail, but annocheck complains about it. Remove that rpath too. Related: rhbz#1978504 Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
This commit is contained in:
parent
dfb3f05c20
commit
fd6689cbe5
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: trace-cmd
|
Name: trace-cmd
|
||||||
Version: %{srcversion}
|
Version: %{srcversion}
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
License: GPLv2 and LGPLv2
|
License: GPLv2 and LGPLv2
|
||||||
Summary: A user interface to Ftrace
|
Summary: A user interface to Ftrace
|
||||||
Requires: libtracecmd
|
Requires: libtracecmd
|
||||||
@ -84,7 +84,7 @@ make V=1 MANPAGE_DOCBOOK_XSL=$MANPAGE_DOCBOOK_XSL \
|
|||||||
for i in python/*.py ; do
|
for i in python/*.py ; do
|
||||||
sed -i 's/env python2/python3/g' $i
|
sed -i 's/env python2/python3/g' $i
|
||||||
done
|
done
|
||||||
chrpath --delete tracecmd/trace-cmd
|
chrpath --delete tracecmd/trace-cmd lib/trace-cmd/libtracecmd.so.0.0.1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make V=1 libdir=%{_libdir} prefix=%{_prefix} DESTDIR=%{buildroot}/ \
|
make V=1 libdir=%{_libdir} prefix=%{_prefix} DESTDIR=%{buildroot}/ \
|
||||||
@ -119,6 +119,9 @@ mkdir -p %{buildroot}/%{_sysconfdir}
|
|||||||
%{_includedir}/trace-cmd
|
%{_includedir}/trace-cmd
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 12 2021 Jerome Marchand <jmarchan@redhat.com> - 2.9.2-8
|
||||||
|
- Fix remaining gating runpath failure
|
||||||
|
|
||||||
* Thu Nov 11 2021 Jerome Marchand <jmarchan@redhat.com> - 2.9.2-7
|
* Thu Nov 11 2021 Jerome Marchand <jmarchan@redhat.com> - 2.9.2-7
|
||||||
- Fix rpminspect gating failures (runpath and annocheck)
|
- Fix rpminspect gating failures (runpath and annocheck)
|
||||||
- Specfile cleanups
|
- Specfile cleanups
|
||||||
|
Loading…
Reference in New Issue
Block a user