public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-docker] epel10.2: cleanup
@ 2026-10-13 18:26 Carl George
0 siblings, 0 replies; only message in thread
From: Carl George @ 2026-10-13 18:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-docker
Branch : epel10.2
Commit : b5f7fc081e11f137bdef5143d95dba72bb221aed
Author : Carl George <carl@george.computer>
Date : 2017-09-11T08:15:54-05:00
Stats : +4/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-docker/c/b5f7fc081e11f137bdef5143d95dba72bb221aed?branch=epel10.2
Log:
cleanup
---
diff --git a/python-docker.spec b/python-docker.spec
index 338bf51..9ac407c 100644
--- a/python-docker.spec
+++ b/python-docker.spec
@@ -2,8 +2,6 @@
# Do not build bindings for python3 for RHEL <= 7
%bcond_with python3
%bcond_with tests
-%global py2_build %{__python} setup.py build '--executable=/usr/bin/python2 -s'
-%global py2_install %{__python} setup.py install --root %{buildroot}
%else
%bcond_without python3
%bcond_without tests
@@ -130,12 +128,12 @@ rm -fr docker.egg-info
%check
%if %{with tests}
-PYTHONPATH="${PWD}" py.test-%{python2_version} tests/unit/ || :
+%{__python2} -m pytest -v tests/unit/
%endif
%if %{with python3}
%if %{with tests}
-PYTHONPATH="${PWD}" py.test-%{python3_version} tests/unit/ || :
+%{__python3} -m pytest -v tests/unit/
%endif # tests
%endif # with_python3
@@ -143,19 +141,13 @@ PYTHONPATH="${PWD}" py.test-%{python3_version} tests/unit/ || :
%files -n python2-%{srcname}
%license LICENSE
%doc README.md
-%dir %{python_sitelib}/docker
-%dir %{python_sitelib}/docker-%{version}-py2*.egg-info
-%{python_sitelib}/docker/*
-%{python_sitelib}/docker-%{version}-py2*.egg-info/*
+%{python2_sitelib}/*
%if %{with python3}
%files -n python3-%{srcname}
%license LICENSE
%doc README.md
-%dir %{python3_sitelib}/docker
-%dir %{python3_sitelib}/docker-%{version}-py3*.egg-info
-%{python3_sitelib}/docker/*
-%{python3_sitelib}/docker-%{version}-py3*.egg-info/*
+%{python3_sitelib}/*
%endif # with_python3
%changelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-13 18:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 18:26 [rpms/python-docker] epel10.2: cleanup Carl George
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox