Accepting request 1130707 from home:aschnell:branches:Base:System

do not package inoperable plugins (bsc#1217758)

OBS-URL: https://build.opensuse.org/request/show/1130707
OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=97
This commit is contained in:
Marcus Meissner 2023-12-05 10:45:56 +00:00 committed by Git OBS Bridge
parent d446bff62a
commit 1742271d8d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 04 11:28:35 CET 2023 - aschnell@suse.com
- do not package inoperable plugins (bsc#1217758)
-------------------------------------------------------------------
Fri Sep 15 15:27:32 UTC 2023 - trenn@suse.de

View File

@ -178,6 +178,8 @@ sed -i 's|$(SYSCONFDIR)/dbus-1/system.d|%{_datadir}/dbus-1/system.d|' Makefile
%install
%make_install TUNED_PROFILESDIR=%{profile_dir}
# we do not have the python perf module (see bsc #1217758)
rm %{buildroot}/%{python3_sitelib}/tuned/plugins/plugin_{scheduler,irqbalance}.py
%py3_compile %{buildroot}/%{python3_sitelib}
rm -rf %{buildroot}/%{_datadir}/doc
# Remove unwanted stuff instead of excluding them in files list