Hello community, here is the log from the commit of package python-pyaes for openSUSE:Factory checked in at 2020-08-18 15:09:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyaes (Old) and /work/SRC/openSUSE:Factory/.python-pyaes.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyaes" Tue Aug 18 15:09:56 2020 rev:2 rq:826991 version:1.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyaes/python-pyaes.changes 2018-01-10 23:30:17.649746490 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyaes.new.3399/python-pyaes.changes 2020-08-18 15:09:58.500013937 +0200 @@ -1,0 +2,6 @@ +Fri Aug 14 15:01:30 UTC 2020 - John Vandenberg <jay...@gmail.com> + +- Fix test suite invocation, removing nose +- Tidy spec + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyaes.spec ++++++ --- /var/tmp/diff_new_pack.qYleqg/_old 2020-08-18 15:09:59.620014400 +0200 +++ /var/tmp/diff_new_pack.qYleqg/_new 2020-08-18 15:09:59.624014402 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyaes # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,20 +23,19 @@ Summary: Pure-Python Implementation of the AES block-cipher License: MIT Group: Development/Languages/Python -Url: https://github.com/ricmoo/pyaes/ +URL: https://github.com/ricmoo/pyaes/ Source: https://files.pythonhosted.org/packages/source/p/pyaes/pyaes-%{version}.tar.gz -BuildArch: noarch -BuildRequires: %{python_module base} -BuildRequires: %{python_module nose} BuildRequires: %{python_module pycrypto} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pycrypto - +BuildArch: noarch %python_subpackages %description -A pure-Python implementation of the AES (FIPS-197) block-cipher algorithm and common modes of operation (CBC, CFB, CTR, ECB, OFB) with no dependencies beyond standard Python libraries. See README.md for API reference and details. +A pure-Python implementation of the AES (FIPS-197) block-cipher algorithm +and common modes of operation (CBC, CFB, CTR, ECB, OFB) with no dependencies +beyond standard Python libraries. See README.md for API reference and details. %prep %setup -q -n pyaes-%{version} @@ -49,11 +48,14 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m nose - -%files %python_files -%defattr(-,root,root,-) +%python_expand for test in tests/*.py; do PYTHONPATH=%{buildroot}%{$python_sitelib} $python $test; done | tee output.log +if grep -q passed=False output.log; then + false +fi + +%files %{python_files} +%doc README.md +%license LICENSE.txt %{python_sitelib}/* -%doc LICENSE.txt README.md %changelog