python3.11-dotenv: rename conflicting binary
This commit is contained in:
parent
d63459d7e4
commit
dfbc477997
@ -1,6 +1,6 @@
|
|||||||
Name: python-dotenv
|
Name: python-dotenv
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
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
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -42,6 +42,8 @@ sed -i 's/import mock/from unittest import mock/' tests/test_*.py
|
|||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
mv %{buildroot}%{_bindir}/dotenv %{buildroot}%{_bindir}/dotenv-%{python3_pkgversion}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest -v
|
%pytest -v
|
||||||
@ -54,10 +56,13 @@ sed -i 's/import mock/from unittest import mock/' tests/test_*.py
|
|||||||
%{python3_sitelib}/python_dotenv-%{version}-py%{python3_version}.egg-info/
|
%{python3_sitelib}/python_dotenv-%{version}-py%{python3_version}.egg-info/
|
||||||
|
|
||||||
%{?python_extras_subpkg:%{python_extras_subpkg -n python%{python3_pkgversion}-dotenv -i %{python3_sitelib}/*.egg-info cli}}
|
%{?python_extras_subpkg:%{python_extras_subpkg -n python%{python3_pkgversion}-dotenv -i %{python3_sitelib}/*.egg-info cli}}
|
||||||
%{_bindir}/dotenv
|
%{_bindir}/dotenv-%{python3_pkgversion}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 16 2024 Raven <raven@sysadmins.ws> - 1.0.1-2
|
||||||
|
- fix conflict with python3-dotenv
|
||||||
|
|
||||||
* Tue Feb 6 2024 Raven <raven@sysadmins.ws> - 1.0.1-1
|
* Tue Feb 6 2024 Raven <raven@sysadmins.ws> - 1.0.1-1
|
||||||
- Update to 1.0.1
|
- Update to 1.0.1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user