Hello community, here is the log from the commit of package yubikey-manager for openSUSE:Factory checked in at 2019-12-18 14:45:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yubikey-manager (Old) and /work/SRC/openSUSE:Factory/.yubikey-manager.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yubikey-manager" Wed Dec 18 14:45:40 2019 rev:13 rq:757578 version:3.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/yubikey-manager/yubikey-manager.changes 2019-08-22 10:58:15.693652466 +0200 +++ /work/SRC/openSUSE:Factory/.yubikey-manager.new.4691/yubikey-manager.changes 2019-12-18 14:48:36.585946614 +0100 @@ -1,0 +2,6 @@ +Tue Dec 17 13:58:40 UTC 2019 - Martin Pluskal <mplus...@suse.com> + +- Use modern python macros for building +- Run tests + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yubikey-manager.spec ++++++ --- /var/tmp/diff_new_pack.Mv2TsD/_old 2019-12-18 14:48:37.001946804 +0100 +++ /var/tmp/diff_new_pack.Mv2TsD/_new 2019-12-18 14:48:37.001946804 +0100 @@ -1,7 +1,7 @@ # # spec file for package yubikey-manager # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,9 +27,15 @@ Source1: https://developers.yubico.com/yubikey-manager/Releases/%{name}-%{version}.tar.gz.sig BuildRequires: fdupes BuildRequires: pkgconfig +BuildRequires: python3-click +BuildRequires: python3-cryptography +BuildRequires: python3-fido2 BuildRequires: python3-pip +BuildRequires: python3-pyOpenSSL +BuildRequires: python3-pyscard BuildRequires: python3-setuptools -BuildRequires: pkgconfig(python3) +BuildRequires: python3-six +BuildRequires: python3-usb BuildRequires: pkgconfig(ykpers-1) Requires: libykpers-1-1 Requires: python3-click @@ -50,15 +56,18 @@ connection transports an programming various types of credentials. %prep -%setup -q +%autosetup %build -python3 setup.py build +%python3_build %install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python3_install %fdupes %{buildroot} -install -Dm0644 man/ykman.1 %{buildroot}/usr/share/man/man1/ykman.1 +install -Dpm0644 man/ykman.1 %{buildroot}%{_mandir}/man1/ykman.1 + +%check +python3 setup.py test %files %license COPYING*