AArch64 | |
ppc64le | |
s390x | |
x86-64 |
- Add fd1664dfe26f13f8c8cd7b44483cd872dfdede36.patch: main: Error out on D-Bus communication errors (rh#2019536). - Bump pkgconfig(polkit-gobject-1) BuildRequires version to 0.114. It's required for the g_autoptr() support we use.
- Update to version 0.10.1: * Fix bug in the authorisation codepath added in 0.10.0, where holding a profile could still succeed despite having sent a denial to the calling process. * Make pylint test optional. - Drop f83685732b9dd8211840645ce76f43718b30218b.patch: incorporated upstream.
- Update to version 0.10.0: + This release adds authorisation checks for the profile holds and profile switching features of the backend daemon, through polkit. It is recommended that all distributions upgrade to this version as soon as possible. + This release also adds support for the "quiet" kernel platform profile used in some systems. - Drop patches fixed upstream: + power-profiles-daemon-polkit-policy.patch + c9b646025d9f155509a6cda1c292bfd120daeb9e.patch + 20a2d7f7b80a1847f36236d40388f14ae99fa94b.patch - Add f83685732b9dd8211840645ce76f43718b30218b.patch: build: Make pylint test optional. As power-profiles-daemon keeps getting built with slightly different versions of pylint with newer warnings, disable pylint test by default to avoid getting bug reports about it. - Add hold-profile-hardening.patch: Hardening of HoldProfile D-Bus method (boo#1189900). Requested by openSUSE security team.
- Add power-profiles-daemon-polkit-policy.patch -- Describe and set defaults for switching and holding power profiles; patch taken from upstream merge request (boo#1189900, glfo#hadess/power-profiles-daemon#47). - Add Requires: polkit, needed at runtime after changes in permission handling due to above patch. - Disable tests as they fail due to polkit changes from above patch not being integrated yet.
- Pass explicit systemdsystemunitdir=%{_unitdir} to meson, ensure we have the correct systemd unitdir. - Drop systemd and systemd-rpm-macros BuildRequires, not needed. - Add check section and run meson_test macro, replace umockdev with pkgconfig(umockdev-1.0) BuildRequires. - Add generic c_compiler BuildRequires as meson checks for it. - Add upstream patches: + c9b646025d9f155509a6cda1c292bfd120daeb9e.patch: platform-profile: Add support for 'quiet' profile. + 20a2d7f7b80a1847f36236d40388f14ae99fa94b.patch: tests: Add tests for quiet profile support.
- Initial package.