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