rebuilt with python 3.10 [release 0.21.0-2mamba;Sun Oct 09 2022]
This commit is contained in:
parent
0dd5c6de6b
commit
ff6b048e0c
@ -1,7 +1,7 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2-)
|
||||
Name: python-dotenv
|
||||
Version: 0.21.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Read key-value pairs from a .env file and set them as environment variables
|
||||
Group: System/Libraries
|
||||
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
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(setuptools)
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
%description
|
||||
@ -37,6 +39,14 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
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
|
||||
%defattr(-,root,root)
|
||||
%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
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user