python-importlib-metadata/python-importlib-metadata.spec

53 lines
1.7 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: python-importlib-metadata
Version: 1.7.0
Release: 2
Summary: Read metadata from Python packages
License: Apache v2.0
URL: https://pypi.org/project/importlib-metadata/
Source0: https://files.pythonhosted.org/packages/source/i/importlib-metadata/importlib_metadata-%{version}.tar.gz
BuildRequires: python3-devel python3-setuptools python3-setuptools_scm
BuildRequires: python3-packaging python3-zipp >= 0.5
BuildArch: noarch
%description
importlib_metadata is a library which provides an API for accessing an installed packages metadata (see PEP 566), such as its entry points or its top-level name.
%package -n python3-importlib_metadata
Summary: Read metadata from Python packages
Provides: python3-importlib-metadata
%description -n python3-importlib_metadata
importlib_metadata is a library which provides an API for accessing an installed packages metadata (see PEP 566), such as its entry points or its top-level name.
%package_help
%prep
%setup -q -n importlib_metadata-%{version}
%build
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
%install
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
%files -n python3-importlib_metadata
%defattr(-,root,root)
%license LICENSE
%_prefix/lib/python3.7/site-packages/importlib_metadata/
%_prefix/lib/python3.7/site-packages/importlib_metadata-%{version}-py?.?.egg-info/
%files help
%defattr(-,root,root)
%doc README.rst
%changelog
* Thu Sep 09 2021 huanghaitao <huanghaitao8@huawei.com> - 1.7.0-2
- Adds provide name python3-importlib-metadata which python3-stevedore needed
* Sat Sep 04 2021 huanghaitao <huanghaitao8@huawei.com> - 1.7.0-1
- Update version to 1.7.0
* Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 0.23-1
- Package init