python-importlib-metadata/python-importlib-metadata.spec
2021-08-03 06:10:55 +00:00

62 lines
1.9 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: 3.7.2
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
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
BuildRequires: python3-devel python3-setuptools python3-setuptools_scm python3-toml
BuildRequires: python3-packaging python3-pbr python3-pip python3-zipp >= 0.5
Requires: python3-zipp >= 0.5
%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/python%{python3_version}/site-packages/importlib_metadata*
%files help
%defattr(-,root,root)
%doc README.rst
%changelog
* Mon Aug 2 2021 huangtianhua <huangtianhua@huawei.com> - 3.7.2-2
- Adds provide name python3-importlib-metadata and adds pbr/pip as buildrequires
* Mon Jul 26 2021 shixuantong <shixuantong@huawei.com> - 3.7.2-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 3.7.2
* Thu Jun 18 2020 gaochao<gaochao52@huawei.com> - 0.23-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update spec file
* Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 0.23-1
- Package init