public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-py] pr7: move BuildRequires under subpackages
Date: Sat, 01 Aug 2026 11:43:26 GMT [thread overview]
Message-ID: <178558460659.1.16058425551257528855.rpms-python-py-7d41db3e382b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-py
Branch : pr7
Commit : 7d41db3e382b7ae064a24cc2eccf07f3df21555b
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2017-11-03T23:32:00+01:00
Stats : +17/-23 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-py/c/7d41db3e382b7ae064a24cc2eccf07f3df21555b?branch=pr7
Log:
move BuildRequires under subpackages
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/python-py.spec b/python-py.spec
index 493e932..c2c91d3 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -26,32 +26,10 @@ URL: http://pylib.readthedocs.io/en/stable/
Source: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
-%if %{with python2}
-BuildRequires: python2-devel
-BuildRequires: python2-setuptools
-%if %{with docs}
-BuildRequires: python-sphinx
-%endif # with_docs
-%endif
-
-%if %{with python3}
-BuildRequires: python3-devel
-BuildRequires: python3-setuptools
-%if %{with docs}
-BuildRequires: python3-sphinx
-%endif # with_docs
-%endif
-
%if %{with tests}
-%if %{with python2}
-BuildRequires: python2-pytest >= %{pytest_version_lb}, python2-pytest < %{pytest_version_ub}
-%endif
-%if %{with python3}
-BuildRequires: python3-pytest >= %{pytest_version_lb}, python3-pytest < %{pytest_version_ub}
-%endif
-%endif # with tests
# needed by the testsuite
BuildRequires: subversion
+%endif # with tests
%description
The py lib is a Python development support library featuring the
@@ -66,6 +44,14 @@ following tools and modules:
%if %{with python2}
%package -n python2-%{srcname}
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
+BuildRequires: python2-devel
+BuildRequires: python2-setuptools
+%if %{with docs}
+BuildRequires: python-sphinx
+%endif # with_docs
+%if %{with tests}
+BuildRequires: python2-pytest >= %{pytest_version_lb}, python2-pytest < %{pytest_version_ub}
+%endif # with tests
Requires: python-setuptools
%{?python_provide:%python_provide python2-%{srcname}}
Provides: bundled(python-apipkg) = 1.3.dev
@@ -86,6 +72,14 @@ following tools and modules:
%if %{with python3}
%package -n python3-%{srcname}
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+%if %{with docs}
+BuildRequires: python3-sphinx
+%endif # with_docs
+%if %{with tests}
+BuildRequires: python3-pytest >= %{pytest_version_lb}, python3-pytest < %{pytest_version_ub}
+%endif # with tests
Requires: python3-setuptools
%{?python_provide:%python_provide python3-%{srcname}}
Provides: bundled(python3-apipkg) = 1.3.dev
reply other threads:[~2026-08-01 11:43 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=178558460659.1.16058425551257528855.rpms-python-py-7d41db3e382b@fedoraproject.org \
--to=ignatenkobrain@fedoraproject.org \
--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