Compare commits

..

No commits in common. "rawhide" and "f41" have entirely different histories.

8 changed files with 32 additions and 32 deletions

View file

@ -1 +0,0 @@
1

2
.gitignore vendored
View file

@ -46,5 +46,3 @@ upower-0.9.5.tar.bz2
/upower-v1.90.7.tar.bz2
/upower-v1.90.8.tar.bz2
/upower-v1.90.9.tar.bz2
/upower-v1.90.10.tar.bz2
/upower-v1.91.0.tar.bz2

View file

@ -1,19 +0,0 @@
summary: Test for Upower
discover:
how: fmf
prepare:
- name: packages
how: install
package:
- upower
- upower-tests
- umockdev-devel
- dbus-x11
- polkit-devel
- python3-dbus
- python3-dbusmock
- python3-gobject-base
- python3-pip
- python3-packaging
execute:
how: tmt

View file

@ -1 +1 @@
SHA512 (upower-v1.91.0.tar.bz2) = 32801d3ee4c5086221a9f12062b0f2e6765b239f68a562c24ef7808999bb34e299e6acd31acf5c414cf41613709c97b20ad64d252e1d8ddf23183576b156cf93
SHA512 (upower-v1.90.9.tar.bz2) = 7308e03125a5a888242253f9260f68283f5b53677c08dbc4d7e4d48cc6f600f50f8ab161d100f152138208d5119acddc90f0f19742aa8cca58e3a0ec54975110

View file

@ -1,2 +0,0 @@
summary: Upower integration test
test: bash ./run-it.sh

View file

@ -2,7 +2,7 @@
set -u
# main script
IT="${1:-/usr/libexec/installed-tests/upower/integration-test.py}"
IT="${1:-source/src/linux/integration-test.py}"
# check if we need to install additional packages
# which is the case if we are on RHEL 8

27
tests/tests.yml Normal file
View file

@ -0,0 +1,27 @@
---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
required_packages:
- git-core
- role: standard-test-basic
tags:
- atomic
- classic
required_packages:
- upower
- polkit-libs
- python3-gobject-base
- python3-dbus
- python3-dbusmock
- python3-packaging
- umockdev-devel
tests:
- smoke:
dir: smoke
run: upower -d
- integration:
dir: .
run: ./run-it.sh source/src/linux/integration-test.py

View file

@ -1,9 +1,9 @@
Summary: Power Management Service
Name: upower
Version: 1.91.0
Version: 1.90.9
Release: %autorelease
License: GPL-2.0-or-later
URL: https://upower.freedesktop.org/
URL: http://upower.freedesktop.org/
Source0: https://gitlab.freedesktop.org/upower/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
BuildRequires: meson
@ -102,8 +102,7 @@ mv $RPM_BUILD_ROOT%{_libexecdir}/upower $RPM_BUILD_ROOT%{_libexecdir}/installed-
%ghost %dir %{_localstatedir}/lib/upower
%dir %{_sysconfdir}/UPower
%config %{_sysconfdir}/UPower/UPower.conf
%{_sysconfdir}/UPower/UPower.conf.d/README.md
%{_bindir}/upower
%{_bindir}/*
%{_libexecdir}/upowerd
%{_mandir}/man1/*
%{_mandir}/man7/*
@ -134,8 +133,6 @@ mv $RPM_BUILD_ROOT%{_libexecdir}/upower $RPM_BUILD_ROOT%{_libexecdir}/installed-
%files tests
%{_libexecdir}/installed-tests/upower
%dir %{_datadir}/installed-tests/
%dir %{_datadir}/installed-tests/upower/
%{_datadir}/installed-tests/upower/upower-integration.test
%changelog