package created using the webbuild interface [release 1.3.0-1mamba;Sun Jun 23 2024]

This commit is contained in:
Silvan Calarco 2024-06-24 11:11:28 +02:00
parent 286ff3b5e6
commit e54f1c9be0

View File

@ -1,6 +1,6 @@
%define pkgname backports.entry_points_selectable
Name: python-backports-entry_points_selectable
Version: 1.2.0
Version: 1.3.0
Release: 1mamba
Summary: Compatibility shim providing selectable entry points for older implementations
Group: System/Libraries
@ -11,17 +11,13 @@ URL: https://github.com/jaraco/backports.entry_points_selectable
Source: https://pypi.debian.net/backports.entry-points-selectable/backports.entry_points_selectable-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(importlib-metadata)
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%define py_requires_append \
Provides: python-backports%{?pyappend:-%pyappend} \
Obsoletes: python-backports%{?pyappend:-%pyappend} <= 1.0-2mamba
%pyver_package
%endif
@ -35,6 +31,10 @@ CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
rm -f %{buildroot}%{python3_sitelib}/backports/__init__.py
rm -f %{buildroot}%{python3_sitelib}/backports/__pycache__/__init__.cpython-311.opt-1.pyc
rm -f %{buildroot}%{python3_sitelib}/backports/__pycache__/__init__.cpython-311.pyc
#%if "%{?with_pyver}" != "3"
## Rename any conflicting file outside of python site packages tree
#for f in %{_bindir}/pdm; do
@ -46,19 +46,10 @@ CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%defattr(-,root,root)
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/backports
%{python_sitelib}/backports/*
%{python_sitelib}/backports/entry_points_selectable.py
%{python3_sitelib}/backports/__pycache__/entry_points_selectable.cpython-*.pyc
%doc LICENSE
%changelog
* Mon Mar 06 2023 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Mon Jan 10 2022 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic version update by autodist
* Sat Sep 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
- obsolete python-backports
* Tue Aug 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
* Sun Jun 23 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- package created using the webbuild interface