forked from pool/python-osc-tiny
Accepting request 992107 from home:deneb_alpha:branches:devel:languages:python
- Enhanced dependency management for Py3.7 and earlier * Re-add `responses` that is needed for building tests - Use python_module macro for build requires - Remove the BuildRequires: %{python_module devel} - Refactoring of spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/992107 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-osc-tiny?expand=0&rev=45
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 1 21:35:10 UTC 2022 - Marina Latini <marina.latini@suse.com>
|
||||
|
||||
- Enhanced dependency management for Py3.7 and earlier
|
||||
* Re-add `responses` that is needed for building tests
|
||||
- Use python_module macro for build requires
|
||||
- Remove the BuildRequires: %{python_module devel}
|
||||
- Refactoring of spec file with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 21 14:15:00 UTC 2022 - Andreas Hasenkopf <ahasenkopf@suse.com>
|
||||
|
||||
|
@@ -27,27 +27,26 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/crazyscientist/osc-tiny
|
||||
Source: https://files.pythonhosted.org/packages/source/o/osc-tiny/osc-tiny-%{version}.tar.gz
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module responses}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PyYAML
|
||||
Requires: python-lxml
|
||||
Requires: python-pyYAML
|
||||
Requires: python-python-dateutil
|
||||
Requires: python-pytz
|
||||
Requires: python-requests
|
||||
%if %python_version_nodots < 38
|
||||
BuildRequires: python3-cached-property
|
||||
Requires: python-cached-property
|
||||
%endif
|
||||
Suggests: openssh
|
||||
BuildArch: noarch
|
||||
%if 0%{?python_version_nodots} < 38
|
||||
BuildRequires: %{python_module cached-property}
|
||||
BuildRequires: %{python_module responses}
|
||||
Requires: python-cached-property
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -66,13 +65,13 @@ For further details see:
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user