forked from pool/power-profiles-daemon
Accepting request 1159815 from Base:System
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1159815 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/power-profiles-daemon?expand=0&rev=8
This commit is contained in:
commit
b76483ba96
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9fef0a3e1b76e6c0f551841d4a9fef36e6aae047d5279cfc60b833d80fd2a8b7
|
||||
size 49079
|
3
power-profiles-daemon-0.20.tar.bz2
Normal file
3
power-profiles-daemon-0.20.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:24a0bf1a3012c4f49fbe146fed6bce9fbb7b20c92e4123690ff727a376cc3b6c
|
||||
size 58388
|
@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 13 10:12:35 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- remove dependency on /usr/bin/python3 using
|
||||
%python3_fix_shebang macro, [bsc#1212476]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 12:09:15 UTC 2024 - Enrico Belleri <kilgore.trout@idesmi.eu>
|
||||
|
||||
- Remove duplicate DBus service files net.hadess.PowerProfiles
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 15 05:53:07 UTC 2024 - Enrico Belleri <kilgore.trout@idesmi.eu>
|
||||
|
||||
- Update to version 0.20:
|
||||
* Service has new name 'org.freedesktop.UPower.PowerProfiles'
|
||||
* Allow multiple power-profiles-daemon drivers to load simultaneously
|
||||
* amdgpu panel power savings which uses dedicated hardware in systems with
|
||||
integrated Radeon graphics to decrease panel power consumption when the
|
||||
system is on battery
|
||||
- Add python3-shebang.patch:
|
||||
* resolve env-script-interpreter error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 15:19:01 UTC 2023 - Enrico Belleri <idesmi@protonmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package power-profiles-daemon
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,27 +17,30 @@
|
||||
|
||||
|
||||
Name: power-profiles-daemon
|
||||
Version: 0.13
|
||||
Version: 0.20
|
||||
Release: 0
|
||||
Summary: Power profiles handling over D-Bus
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://gitlab.freedesktop.org/hadess/power-profiles-daemon
|
||||
URL: https://gitlab.freedesktop.org/upower/power-profiles-daemon
|
||||
Source: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
||||
# PATCH-FEATURE-OPENSUSE hold-profile-hardening.patch boo#1189900 -- Hardening of HoldProfile D-Bus method
|
||||
Patch0: hold-profile-hardening.patch
|
||||
|
||||
Patch1: python3-shebang.patch
|
||||
BuildRequires: c_compiler
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: meson >= 0.54.0
|
||||
BuildRequires: meson >= 0.59.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-dbusmock
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gudev-1.0) >= 234
|
||||
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.114
|
||||
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.91
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: pkgconfig(upower-glib)
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: pkgconfig(umockdev-1.0)
|
||||
BuildRequires: pkgconfig(upower-glib)
|
||||
Requires: polkit
|
||||
|
||||
%description
|
||||
@ -65,6 +68,9 @@ This package provides documentation for %{name}.
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
rm -f %{buildroot}%{_datadir}/dbus-1/system.d/net.hadess.PowerProfiles.conf
|
||||
rm -f %{buildroot}%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service
|
||||
%python3_fix_shebang
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
@ -87,9 +93,9 @@ This package provides documentation for %{name}.
|
||||
%{_bindir}/powerprofilesctl
|
||||
%{_libexecdir}/%{name}
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_datadir}/dbus-1/system.d/net.hadess.PowerProfiles.conf
|
||||
%{_datadir}/dbus-1/system-services/net.hadess.PowerProfiles.service
|
||||
%{_datadir}/polkit-1/actions/net.hadess.PowerProfiles.policy
|
||||
%{_datadir}/dbus-1/system.d/org.freedesktop.UPower.PowerProfiles.conf
|
||||
%{_datadir}/dbus-1/system-services/org.freedesktop.UPower.PowerProfiles.service
|
||||
%{_datadir}/polkit-1/actions/power-profiles-daemon.policy
|
||||
%ghost %dir %{_localstatedir}/lib/%{name}
|
||||
|
||||
%files doc
|
||||
|
10
python3-shebang.patch
Normal file
10
python3-shebang.patch
Normal file
@ -0,0 +1,10 @@
|
||||
Index: power-profiles-daemon-0.20/src/powerprofilesctl
|
||||
===================================================================
|
||||
--- power-profiles-daemon-0.20.orig/src/powerprofilesctl
|
||||
+++ power-profiles-daemon-0.20/src/powerprofilesctl
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python3
|
||||
+#!/usr/bin/python3
|
||||
|
||||
import argparse
|
||||
import signal
|
Loading…
Reference in New Issue
Block a user