1
0

Accepting request 1168506 from home:badshah400:branches:Base:System

* Drop BuildRequires on python-pylint by disabling pylint option during configure.
* Split out bash-completion into own package: powerprofilesctl-bash-completion.

OBS-URL: https://build.opensuse.org/request/show/1168506
OBS-URL: https://build.opensuse.org/package/show/Base:System/power-profiles-daemon?expand=0&rev=27
This commit is contained in:
Atri Bhattacharya 2024-04-17 10:24:17 +00:00 committed by Git OBS Bridge
parent 631720a2d0
commit 334b97b783
2 changed files with 22 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Apr 17 10:01:27 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Drop BuildRequires on python-pylint by disabling pylint option
during configure.
- Split out bash-completion into own package:
powerprofilesctl-bash-completion.
-------------------------------------------------------------------
Tue Apr 9 10:48:35 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -32,7 +32,6 @@ BuildRequires: meson >= 0.59.0
BuildRequires: pkgconfig
BuildRequires: python3-argparse-manpage
BuildRequires: python3-dbusmock
BuildRequires: python3-pylint
BuildRequires: python3-shtab
BuildRequires: pkgconfig(bash-completion)
BuildRequires: pkgconfig(gio-2.0)
@ -44,7 +43,6 @@ BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(umockdev-1.0)
BuildRequires: pkgconfig(upower-glib)
Requires: bash-completion
Requires: polkit
Requires: python3-gobject
@ -60,6 +58,16 @@ BuildArch: noarch
%description doc
This package provides documentation for %{name}.
%package -n powerprofilesctl-bash-completion
Summary: Bash completion for powerprofilesctl
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description -n powerprofilesctl-bash-completion
This package provides bash shell completions for powerprofilesctl.
%package -n powerprofilesctl-zsh-completion
Summary: Zsh shell completion for powerprofilesctl
Requires: %{name} = %{version}
@ -77,6 +85,7 @@ This package provides zsh shell completions for powerprofilesctl.
%meson \
-Dsystemdsystemunitdir=%{_unitdir} \
-Dgtk_doc=true \
-Dpylint=disabled \
-Dtests=true \
-Dzshcomp=%{_datadir}/zsh/site-functions/ \
%{nil}
@ -107,7 +116,6 @@ This package provides zsh shell completions for powerprofilesctl.
%{_bindir}/powerprofilesctl
%{_libexecdir}/%{name}
%{_unitdir}/%{name}.service
%{_datadir}/bash-completion/completions/powerprofilesctl
%{_datadir}/dbus-1/system.d/net.hadess.PowerProfiles.conf
%{_datadir}/dbus-1/system.d/org.freedesktop.UPower.PowerProfiles.conf
%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service
@ -121,6 +129,9 @@ This package provides zsh shell completions for powerprofilesctl.
%dir %{_datadir}/gtk-doc/html/
%{_datadir}/gtk-doc/html/%{name}/
%files -n powerprofilesctl-bash-completion
%{_datadir}/bash-completion/completions/*
%files -n powerprofilesctl-zsh-completion
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/*