14
0

Accepting request 1158850 from devel:languages:python

- Add missing importlib_metadata to {Build,}Requires.
- Less globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1158850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rnginline?expand=0&rev=6
This commit is contained in:
2024-03-18 15:45:30 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 18 04:38:41 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing importlib_metadata to {Build,}Requires.
- Less globs in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 5 10:29:18 UTC 2023 - pgajdos@suse.com Mon Jun 5 10:29:18 UTC 2023 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-rnginline # spec file for package python-rnginline
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,6 @@ Version: 1.0.0
Release: 0 Release: 0
Summary: Python libary to flatten multi-file RELAX NG schemas Summary: Python libary to flatten multi-file RELAX NG schemas
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/h4l/rnginline URL: https://github.com/h4l/rnginline
Source: https://files.pythonhosted.org/packages/source/r/rnginline/rnginline-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/r/rnginline/rnginline-%{version}.tar.gz
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
@@ -31,17 +30,18 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-docopt Requires: python-docopt
Requires: python-importlib_resources >= 5.12.0 Requires: python-importlib_metadata >= 6.6.0
Requires: python-lxml Requires: python-lxml
Requires: python-typing_extensions >= 4.5.0 Requires: python-typing_extensions >= 4.5.0
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
Suggests: python-coverage Suggests: python-coverage
Suggests: python-mock Suggests: python-mock
Suggests: python-pytest >= 2.6.4 Suggests: python-pytest >= 2.6.4
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module docopt} BuildRequires: %{python_module docopt}
BuildRequires: %{python_module importlib_metadata >= 6.6.0}
BuildRequires: %{python_module importlib_resources >= 5.12.0} BuildRequires: %{python_module importlib_resources >= 5.12.0}
BuildRequires: %{python_module lxml} BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@@ -81,6 +81,7 @@ pushd rnginline
%license LICENSE.txt %license LICENSE.txt
%doc README.md %doc README.md
%python_alternative %{_bindir}/rnginline %python_alternative %{_bindir}/rnginline
%{python_sitelib}/rnginline* %{python_sitelib}/rnginline
%{python_sitelib}/rnginline-%{version}.dist-info
%changelog %changelog