python-importlib_resources/python-importlib_resources.spec

79 lines
2.6 KiB
RPMSpec
Raw Normal View History

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-importlib_resources
Version: 6.1.0
Release: 2mamba
Summary: Read resources from Python packages
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/python/importlib_resources
Source: https://pypi.debian.net/importlib-resources/importlib_resources-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n importlib_resources-%{version}
%build
%{__python} -m build --wheel --skip-dependency-check --no-isolation
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
%files %{?pyappend}
%defattr(-,root,root)
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%doc LICENSE
%changelog
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 6.1.0-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Thu Sep 21 2023 Automatic Build System <autodist@mambasoft.it> 6.1.0-1mamba
- automatic version update by autodist
* Mon Aug 07 2023 Automatic Build System <autodist@mambasoft.it> 6.0.1-1mamba
- automatic version update by autodist
* Sun Jul 09 2023 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
- automatic version update by autodist
* Sat Jul 08 2023 Automatic Build System <autodist@mambasoft.it> 5.13.0-1mamba
- automatic version update by autodist
* Sat Feb 18 2023 Automatic Build System <autodist@mambasoft.it> 5.12.0-1mamba
- automatic version update by autodist
* Thu Dec 29 2022 Automatic Build System <autodist@mambasoft.it> 5.10.2-1mamba
- automatic version update by autodist
* Fri Dec 09 2022 Automatic Build System <autodist@mambasoft.it> 5.10.1-1mamba
- automatic version update by autodist
* Sat Oct 08 2022 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba
- automatic version update by autodist
* Sun Jul 24 2022 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist
* Thu Jun 16 2022 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
- automatic version update by autodist
* Mon Apr 18 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.7.1-1mamba
- package created using the webbuild interface