forked from pool/python-zope.testrunner
		
	Compare commits
	
		
			11 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| 73a4c97eac | |||
| 6e9d46871d | |||
| 904e5ddb00 | |||
| ab905fd144 | |||
| d543a12cf2 | |||
| dc907ff2d0 | |||
| 376434d4e3 | |||
| 4eb02b6a43 | |||
| bc3d402a0b | |||
| 1537fc7723 | |||
| 95c7b2bc21 | 
| @@ -1,8 +1,3 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Tue Aug 26 09:52:11 UTC 2025 - Markéta Machová <mmachova@suse.com> | ||||
|  | ||||
| - Convert to libalternatives on SLE-16-based and newer systems | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Tue Apr  1 16:06:08 UTC 2025 - Markéta Machová <mmachova@suse.com> | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # spec file for package python-zope.testrunner | ||||
| # | ||||
| # Copyright (c) 2025 SUSE LLC and contributors | ||||
| # Copyright (c) 2025 SUSE LLC | ||||
| # | ||||
| # All modifications and additions to the file contributed by third parties | ||||
| # remain the property of their copyright owners, unless otherwise agreed | ||||
| @@ -24,11 +24,6 @@ | ||||
| %define psuffix %{nil} | ||||
| %bcond_with test | ||||
| %endif | ||||
| %if 0%{?suse_version} > 1500 | ||||
| %bcond_without libalternatives | ||||
| %else | ||||
| %bcond_with libalternatives | ||||
| %endif | ||||
| %{?sle15_python_module_pythons} | ||||
| Name:           python-zope.testrunner%{psuffix} | ||||
| Version:        6.6.1 | ||||
| @@ -36,7 +31,7 @@ Release:        0 | ||||
| Summary:        Zope testrunner script | ||||
| License:        ZPL-2.1 | ||||
| URL:            https://github.com/zopefoundation/zope.testrunner | ||||
| Source:         https://files.pythonhosted.org/packages/source/z/zope_testrunner/zope_testrunner-%{version}.tar.gz | ||||
| Source:         https://files.pythonhosted.org/packages/source/z/zope.testrunner/zope_testrunner-%{version}.tar.gz | ||||
| BuildRequires:  %{python_module pip} | ||||
| BuildRequires:  %{python_module setuptools} | ||||
| BuildRequires:  %{python_module wheel} | ||||
| @@ -47,14 +42,9 @@ BuildRequires:  python-rpm-macros | ||||
| Requires:       python-setuptools | ||||
| Requires:       python-zope.exceptions | ||||
| Requires:       python-zope.interface | ||||
| BuildArch:      noarch | ||||
| %if %{with libalternatives} | ||||
| BuildRequires:  alts | ||||
| Requires:       alts | ||||
| %else | ||||
| Requires(post): update-alternatives | ||||
| Requires(postun): update-alternatives | ||||
| %endif | ||||
| BuildArch:      noarch | ||||
| %if %{with test} | ||||
| BuildRequires:  %{python_module zope.testing} | ||||
| BuildRequires:  %{python_module zope.testrunner = %{version}} | ||||
| @@ -94,9 +84,6 @@ $python -m zope.testrunner --test-path=src -vv | ||||
| %postun | ||||
| %python_uninstall_alternative zope-testrunner | ||||
|  | ||||
| %pre | ||||
| %python_libalternatives_reset_alternative zope-testrunner | ||||
|  | ||||
| %files %{python_files} | ||||
| %license LICENSE.md | ||||
| %doc README.rst | ||||
|   | ||||
		Reference in New Issue
	
	Block a user