rebuilt with python 3.10 [release 0.21.0-2mamba;Sun Oct 09 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 11:06:03 +01:00
parent 0dd5c6de6b
commit ff6b048e0c

View File

@ -1,7 +1,7 @@
%define pkgname %(echo %name | cut -d- -f2-) %define pkgname %(echo %name | cut -d- -f2-)
Name: python-dotenv Name: python-dotenv
Version: 0.21.0 Version: 0.21.0
Release: 1mamba Release: 2mamba
Summary: Read key-value pairs from a .env file and set them as environment variables Summary: Read key-value pairs from a .env file and set them as environment variables
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -11,6 +11,8 @@ URL: https://github.com/theskumar/python-dotenv
Source: https://pypi.debian.net/python-dotenv/python-dotenv-%{version}.tar.gz Source: https://pypi.debian.net/python-dotenv/python-dotenv-%{version}.tar.gz
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(setuptools)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%description %description
@ -37,6 +39,14 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%if "%{?with_pyver}" != "3"
# Rename any conflicting file outside of python site packages tree
for f in %{_bindir}/dotenv; do
mv %{buildroot}${f}{,-%{?pyappend}}
sed -i "s|${f}|${f}-%{?pyappend}|" %{name}.filelist
done
%endif
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/python_dotenv-%{version}-py*.egg-info %dir %{python_sitearch}/python_dotenv-%{version}-py*.egg-info
@ -44,6 +54,9 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%doc LICENSE %doc LICENSE
%changelog %changelog
* Sun Oct 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21.0-2mamba
- rebuilt with python 3.10
* Thu Sep 08 2022 Automatic Build System <autodist@mambasoft.it> 0.21.0-1mamba * Thu Sep 08 2022 Automatic Build System <autodist@mambasoft.it> 0.21.0-1mamba
- automatic version update by autodist - automatic version update by autodist