Use the %pycached macro as described in the packaging-guidlines for Python
This commit is contained in:
parent
3a1f872c83
commit
a240ad0dc7
|
@ -6,7 +6,7 @@ Name: realtime-tests
|
|||
# Numa argument to make: NUMA=1
|
||||
#
|
||||
Version: 1.9
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
License: GPLv2
|
||||
URL: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git
|
||||
Source0: https://www.kernel.org/pub/linux/utils/rt-tests/rt-tests-%{version}.tar.xz
|
||||
|
@ -44,8 +44,7 @@ latency. It also tests the functioning of priority-inheritance mutexes.
|
|||
%make_install prefix=%{_prefix}
|
||||
|
||||
%files
|
||||
%{python3_sitelib}/hwlatdetect.py*
|
||||
%{python3_sitelib}/__pycache__/hwlatdetect*
|
||||
%pycached %{python3_sitelib}/hwlatdetect.py
|
||||
%caps(cap_sys_rawio+ep) /usr/bin/cyclictest
|
||||
%{_bindir}/pi_stress
|
||||
%{_bindir}/signaltest
|
||||
|
@ -64,8 +63,7 @@ latency. It also tests the functioning of priority-inheritance mutexes.
|
|||
%{_bindir}/oslat
|
||||
%{_bindir}/determine_maximum_mpps.sh
|
||||
%{_bindir}/get_cyclictest_snapshot
|
||||
%{python3_sitelib}/get_cyclictest_snapshot.py*
|
||||
%{python3_sitelib}/__pycache__/get_cyclictest_snapshot*
|
||||
%pycached %{python3_sitelib}/get_cyclictest_snapshot.py
|
||||
%doc
|
||||
%{_mandir}/man8/cyclictest.8.*
|
||||
%{_mandir}/man8/hackbench.8.*
|
||||
|
@ -87,6 +85,9 @@ latency. It also tests the functioning of priority-inheritance mutexes.
|
|||
%{_mandir}/man8/determine_maximum_mpps.8.*
|
||||
|
||||
%changelog
|
||||
* Wed Dec 16 2020 John Kacur <jkacur@redhat.com> - 1.9-8
|
||||
- Use the %%pycached macro as described in the packaging-guidlines for Python
|
||||
|
||||
* Fri Dec 11 2020 John Kacur <jkacur@redhat.com> - 1.9-7
|
||||
- Escape all necessary percent symbols in the changelog
|
||||
- Remove some unncessary constructs in the rpm file
|
||||
|
|
Loading…
Reference in New Issue