public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Carl George <carl@george.computer>
To: git-commits@fedoraproject.org
Subject: [rpms/python-docker] epel10.2: cleanup
Date: Tue, 13 Oct 2026 18:26:24 GMT [thread overview]
Message-ID: <179191598427.1.5350746232905755576.rpms-python-docker-b5f7fc081e11@fedoraproject.org> (raw)
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
reply other threads:[~2026-10-13 18:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179191598427.1.5350746232905755576.rpms-python-docker-b5f7fc081e11@fedoraproject.org \
--to=carl@george.computer \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox