public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-sushy] rawhide: Drop -tests subpackage
@ 2026-10-08  7:56 Steve Traylen
  0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-10-08  7:56 UTC (permalink / raw)
  To: git-commits

            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}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-08  7:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08  7:56 [rpms/python-sushy] rawhide: Drop -tests subpackage Steve Traylen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox