forked from pool/power-profiles-daemon
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:
parent
631720a2d0
commit
334b97b783
@ -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>
|
Tue Apr 9 10:48:35 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@ BuildRequires: meson >= 0.59.0
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python3-argparse-manpage
|
BuildRequires: python3-argparse-manpage
|
||||||
BuildRequires: python3-dbusmock
|
BuildRequires: python3-dbusmock
|
||||||
BuildRequires: python3-pylint
|
|
||||||
BuildRequires: python3-shtab
|
BuildRequires: python3-shtab
|
||||||
BuildRequires: pkgconfig(bash-completion)
|
BuildRequires: pkgconfig(bash-completion)
|
||||||
BuildRequires: pkgconfig(gio-2.0)
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
@ -44,7 +43,6 @@ BuildRequires: pkgconfig(systemd)
|
|||||||
BuildRequires: pkgconfig(udev)
|
BuildRequires: pkgconfig(udev)
|
||||||
BuildRequires: pkgconfig(umockdev-1.0)
|
BuildRequires: pkgconfig(umockdev-1.0)
|
||||||
BuildRequires: pkgconfig(upower-glib)
|
BuildRequires: pkgconfig(upower-glib)
|
||||||
Requires: bash-completion
|
|
||||||
Requires: polkit
|
Requires: polkit
|
||||||
Requires: python3-gobject
|
Requires: python3-gobject
|
||||||
|
|
||||||
@ -60,6 +58,16 @@ BuildArch: noarch
|
|||||||
%description doc
|
%description doc
|
||||||
This package provides documentation for %{name}.
|
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
|
%package -n powerprofilesctl-zsh-completion
|
||||||
Summary: Zsh shell completion for powerprofilesctl
|
Summary: Zsh shell completion for powerprofilesctl
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
@ -77,6 +85,7 @@ This package provides zsh shell completions for powerprofilesctl.
|
|||||||
%meson \
|
%meson \
|
||||||
-Dsystemdsystemunitdir=%{_unitdir} \
|
-Dsystemdsystemunitdir=%{_unitdir} \
|
||||||
-Dgtk_doc=true \
|
-Dgtk_doc=true \
|
||||||
|
-Dpylint=disabled \
|
||||||
-Dtests=true \
|
-Dtests=true \
|
||||||
-Dzshcomp=%{_datadir}/zsh/site-functions/ \
|
-Dzshcomp=%{_datadir}/zsh/site-functions/ \
|
||||||
%{nil}
|
%{nil}
|
||||||
@ -107,7 +116,6 @@ This package provides zsh shell completions for powerprofilesctl.
|
|||||||
%{_bindir}/powerprofilesctl
|
%{_bindir}/powerprofilesctl
|
||||||
%{_libexecdir}/%{name}
|
%{_libexecdir}/%{name}
|
||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
%{_datadir}/bash-completion/completions/powerprofilesctl
|
|
||||||
%{_datadir}/dbus-1/system.d/net.hadess.PowerProfiles.conf
|
%{_datadir}/dbus-1/system.d/net.hadess.PowerProfiles.conf
|
||||||
%{_datadir}/dbus-1/system.d/org.freedesktop.UPower.PowerProfiles.conf
|
%{_datadir}/dbus-1/system.d/org.freedesktop.UPower.PowerProfiles.conf
|
||||||
%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service
|
%{_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/
|
%dir %{_datadir}/gtk-doc/html/
|
||||||
%{_datadir}/gtk-doc/html/%{name}/
|
%{_datadir}/gtk-doc/html/%{name}/
|
||||||
|
|
||||||
|
%files -n powerprofilesctl-bash-completion
|
||||||
|
%{_datadir}/bash-completion/completions/*
|
||||||
|
|
||||||
%files -n powerprofilesctl-zsh-completion
|
%files -n powerprofilesctl-zsh-completion
|
||||||
%dir %{_datadir}/zsh/site-functions
|
%dir %{_datadir}/zsh/site-functions
|
||||||
%{_datadir}/zsh/site-functions/*
|
%{_datadir}/zsh/site-functions/*
|
||||||
|
Loading…
Reference in New Issue
Block a user