Hello community, here is the log from the commit of package python-acme for openSUSE:Factory checked in at 2019-06-03 18:58:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-acme (Old) and /work/SRC/openSUSE:Factory/.python-acme.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-acme" Mon Jun 3 18:58:21 2019 rev:30 rq:707190 version:0.34.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes 2019-06-03 18:49:58.996545150 +0200 +++ /work/SRC/openSUSE:Factory/.python-acme.new.5148/python-acme.changes 2019-06-03 18:58:27.784360027 +0200 @@ -1,0 +2,5 @@ +Mon May 27 13:53:06 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Use the %pytest macro + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-acme.spec ++++++ --- /var/tmp/diff_new_pack.JOq3t1/_old 2019-06-03 18:58:28.876359622 +0200 +++ /var/tmp/diff_new_pack.JOq3t1/_new 2019-06-03 18:58:28.876359622 +0200 @@ -52,6 +52,9 @@ Requires: python-requests-toolbelt >= 0.3.0 Requires: python-six >= 1.9.0 BuildArch: noarch +%if %{?suse_version} < 1500 +BuildRequires: %{python_module devel} +%endif %python_subpackages %description @@ -67,15 +70,14 @@ %install %python_install # remove test-data -%python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/testdata -%python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/*_test.py* -%python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/**/*_test.py* -%python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/__pycache__/*_test* +%python_expand rm -r %{buildroot}%{$python_sitelib}/%{libname}/testdata +%python_expand rm -r %{buildroot}%{$python_sitelib}/%{libname}/*_test.py* +rm -r %{buildroot}%{python3_sitelib}/%{libname}/__pycache__/*_test* # remove duplicates %python_expand %fdupes %{buildroot}%{$python_sitelib}/%{libname} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} acme/ +%pytest acme/ %files %{python_files} %license LICENSE.txt
