public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/python-sushy] rawhide: Drop -tests subpackage
Date: Thu, 08 Oct 2026 07:56:27 GMT [thread overview]
Message-ID: <179144618706.1.1019159503411091796.rpms-python-sushy-7521b38c6c58@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-sushy
Branch : rawhide
Commit : 7521b38c6c58d9134c43fbe34d3963b3c9caa7e3
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-10-08T09:24:38+02:00
Stats : +5/-15 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-sushy/c/7521b38c6c58d9134c43fbe34d3963b3c9caa7e3?branch=rawhide
Log:
Drop -tests subpackage
The -tests subpackage is not useful - drop it.
---
diff --git a/python-sushy.spec b/python-sushy.spec
index 27b37d6..642dc53 100644
--- a/python-sushy.spec
+++ b/python-sushy.spec
@@ -37,20 +37,15 @@ BuildRequires: gpgverify
%package -n python3-%{sname}
Summary: Sushy is a Python library to communicate with Redfish based systems
+# Drop the -tests RPM in the era F45
+Provides: python3-%{sname}-tests = %{version}-%{release}
+Obsoletes: python3-%{sname}-tests < 5.13.0-2
%description -n python3-%{sname}
%{common_desc}
-%package -n python3-%{sname}-tests
-Summary: Sushy tests
-Requires: python3-%{sname} = %{version}-%{release}
-
-
-%description -n python3-%{sname}-tests
-%{common_desc_tests}
-
%if 0%{?with_doc}
%package -n python-%{sname}-doc
Summary: Sushy documentation
@@ -71,12 +66,12 @@ Documentation for Sushy
sed -i /^[[:space:]]*-c{env:.*_CONSTRAINTS_FILE.*/d tox.ini
sed -i "s/^deps = -c{env:.*_CONSTRAINTS_FILE.*/deps =/" tox.ini
-
sed -i \
-e "/^coverage[[:space:]]*[><=]/d" \
-e "/^reno[[:space:]]*[><=]/d" \
test-requirements.txt doc/requirements.txt
+
# Automatic BR generation
%generate_buildrequires
%if 0%{?with_doc}
@@ -100,6 +95,7 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%check
%tox -e %{default_toxenv}
+
%install
%pyproject_install
@@ -108,12 +104,6 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%files -n python3-%{sname} -f %{pyproject_files}
%license LICENSE ChangeLog
-%exclude %{python3_sitelib}/%{sname}/tests
-
-
-%files -n python3-%{sname}-tests
-%license LICENSE
-%{python3_sitelib}/%{sname}/tests
%if 0%{?with_doc}
reply other threads:[~2026-10-08 7:56 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=179144618706.1.1019159503411091796.rpms-python-sushy-7521b38c6c58@fedoraproject.org \
--to=steve.traylen@cern.ch \
--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