diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore index f9433f0..fffe587 100644 --- a/.gitignore +++ b/.gitignore @@ -19,5 +19,3 @@ fprintd-0.1-04fd09cfa.tar.bz2 /fprintd-v1.94.0.tar.gz /fprintd-v1.94.1.tar.gz /fprintd-v1.94.2.tar.gz -/fprintd-v1.94.4.tar.gz -/fprintd-v1.94.5.tar.gz diff --git a/fprintd.spec b/fprintd.spec index 183fadb..737a5cd 100644 --- a/fprintd.spec +++ b/fprintd.spec @@ -1,12 +1,12 @@ Name: fprintd -Version: 1.94.5 +Version: 1.94.2 Release: %autorelease Summary: D-Bus service for Fingerprint reader access -# man page is GFDL-1.1-or-later -License: GPL-2.0-or-later AND GFDL-1.1-or-later +License: GPLv2+ Source0: https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/v%{version}/fprintd-v%{version}.tar.gz Url: http://www.freedesktop.org/wiki/Software/fprint/fprintd +ExcludeArch: s390 s390x BuildRequires: meson BuildRequires: gcc @@ -18,8 +18,7 @@ BuildRequires: polkit-devel BuildRequires: gtk-doc BuildRequires: gettext BuildRequires: perl-podlators -BuildRequires: pkgconfig(libsystemd) -BuildRequires: pkgconfig(systemd) +BuildRequires: systemd-devel BuildRequires: python3-dbusmock BuildRequires: python3-libpamtest @@ -36,7 +35,7 @@ Provides: pam_fprint = %{version}-%{release} Obsoletes: pam_fprint < 0.2-3 Requires(postun): authselect >= 0.3 -License: GPL-2.0-or-later +License: GPLv2+ %description pam PAM module that uses the fprintd D-Bus service for fingerprint @@ -45,9 +44,7 @@ authentication. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} -# dbus interfaces are GPL-2.0-or-later -# documentation is GFDL-1.1-or-later -License: GPL-2.0-or-later AND GFDL-1.1-or-later +License: GFDL BuildArch: noarch %description devel @@ -82,7 +79,7 @@ fi %{_datadir}/dbus-1/system-services/net.reactivated.Fprint.service %{_unitdir}/fprintd.service %{_datadir}/polkit-1/actions/net.reactivated.fprint.device.policy -%attr(0700, -, -) %{_localstatedir}/lib/fprint +%{_localstatedir}/lib/fprint %{_mandir}/man1/fprintd.1.gz %files pam diff --git a/plans.fmf b/plans.fmf deleted file mode 100644 index c195230..0000000 --- a/plans.fmf +++ /dev/null @@ -1,19 +0,0 @@ -summary: Run all tests -discover: - how: fmf - dist-git-source: true - dist-git-merge: true -prepare: - - name: Disable installing everything from srpm - how: install - exclude: ".*" - - name: Install the main package - how: install - package: - - fprintd - - name: "%prep requires git" - how: install - package: - - git -execute: - how: tmt diff --git a/sources b/sources index 61cac3d..cf4d6aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fprintd-v1.94.5.tar.gz) = ee71d1d8cfea99fb6711bd4039011702a1f31c59a23d13423fca8be17b43b29bf7a7434e0baf598f2d4bfefd42c08f2f7e3c6ebdf371d53aa9d6b7963d4732dc +SHA512 (fprintd-v1.94.2.tar.gz) = 2fd9e03446b923b29a2a915d395dc85afe10589ea5d78f047e0d3ae2a96255178589d6072c1e10ed8ac607515e410b343aef62ea551baf272999bd012c33f8e0 diff --git a/tests/main.fmf b/tests/main.fmf deleted file mode 100644 index ebe3556..0000000 --- a/tests/main.fmf +++ /dev/null @@ -1,10 +0,0 @@ -/fprintd: - summary: Run fprintd.py - test: ./run.sh ./fprintd.py - require: - - python3-gobject-base - - python3-dbus - - python3-cairo - - dbus-daemon - - python3-dbusmock - duration: 10m diff --git a/tests/run.sh b/tests/run.sh index 9a6f061..ffd03db 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -10,7 +10,7 @@ if [[ "$ID" = *"rhel"* ]] && [[ "$VERSION_ID" == *"8"* ]]; then fi # Switch into the tests directory -cd ../fprintd-*/tests || exit 1 +cd source/tests || exit 1 # Run actual test -exec python3 "$@" +exec python3 "$@" \ No newline at end of file diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..1a2a318 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,24 @@ +--- +- hosts: localhost + roles: + - role: standard-test-source + tags: + - always + required_packages: + - git + - role: standard-test-basic + tags: + - atomic + - classic + required_packages: + - fprintd + - python3-gobject-base + - python3-dbus + - python3-cairo + - dbus-daemon + - python3-dbusmock + tests: + - fprintd: + dir: . + run: run.sh ./fprintd.py + timeout: 10m