public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-sushy] rawhide: Reformat description and summary of package (rpmlint)
@ 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 : 7b831a769eb6c2367facddc8040b120e3cb736c2
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-10-08T09:43:24+02:00
Stats : +30/-21 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-sushy/c/7b831a769eb6c2367facddc8040b120e3cb736c2?branch=rawhide
Log:
Reformat description and summary of package (rpmlint)
---
diff --git a/python-sushy.rpmlintrc b/python-sushy.rpmlintrc
new file mode 100644
index 0000000..d58b396
--- /dev/null
+++ b/python-sushy.rpmlintrc
@@ -0,0 +1,7 @@
+addFilter('python3-sushy.noarch: W: no-documentation')
+# This should be fixed in sphinx somehow.
+# https://github.com/sphinx-doc/sphinx/issues/13734
+addFilter('W: files-duplicate .*/_static/images/openstack-logo-full.png .*/_static/images/logo-full.png')
+addFilter('W: files-duplicate .*/_static/images/openstack-logo-full.svg .*/_static/images/logo-full.svg')
+addFilter('W: files-duplicate .*_static/images/openstack-logo-vert.png .*_static/images/logo-vert.png')
+addFilter('W: files-duplicate .*_static/images/openstack-logo-vert.svg .*_static/images/logo-vert.svg')
diff --git a/python-sushy.spec b/python-sushy.spec
index 4969582..e5dd33b 100644
--- a/python-sushy.spec
+++ b/python-sushy.spec
@@ -4,55 +4,57 @@
%global with_doc 1
%global sname sushy
-%global common_desc %{expand:
-Sushy is a Python library to communicate with Redfish based systems (http://redfish.dmtf.org)}
+%global _description %{expand:
+Python library to communicate with Redfish based systems
+
+(http://redfish.dmtf.org)}
-%global common_desc_tests Tests for Sushy
Name: python-%{sname}
-Version: 5.13.0
-Release: %autorelease
-Summary: Sushy is a Python library to communicate with Redfish based systems
-License: Apache-2.0
-URL: http://launchpad.net/%{sname}/
+Version: 5.13.0
+Release: %autorelease
+Summary: Python library to communicate with Redfish based systems
+License: Apache-2.0
+URL: http://launchpad.net/%{sname}/
-Source0: http://tarballs.openstack.org/%{sname}/%{sname}-%{version}.tar.gz
+Source0: http://tarballs.openstack.org/%{sname}/%{sname}-%{version}.tar.gz
# Required for tarball sources verification
%if 0%{?sources_gpg} == 1
-Source101: http://tarballs.openstack.org/%{sname}/%{sname}-%{version}.tar.gz.asc
-Source102: https://releases.openstack.org/_static/%{sources_gpg_sign}.txt
+Source101: http://tarballs.openstack.org/%{sname}/%{sname}-%{version}.tar.gz.asc
+Source102: https://releases.openstack.org/_static/%{sources_gpg_sign}.txt
%endif
BuildRequires: git-core
BuildRequires: python3-devel
-BuildArch: noarch
+BuildArch: noarch
# Required for tarball sources verification
%if 0%{?sources_gpg} == 1
-BuildRequires: gpgverify
+BuildRequires: gpgverify
%endif
+
%description
-%{common_desc}
+%{_description}
+
%package -n python3-%{sname}
-Summary: Sushy is a Python library to communicate with Redfish based systems
+Summary: %{summary}
# Drop the -tests RPM in the era F45
-Provides: python3-%{sname}-tests = %{version}-%{release}
-Obsoletes: python3-%{sname}-tests < 5.13.0-2
+Provides: python3-%{sname}-tests = %{version}-%{release}
+Obsoletes: python3-%{sname}-tests < 5.13.0-2
%description -n python3-%{sname}
-%{common_desc}
+%{_description}
%if 0%{?with_doc}
%package -n python-%{sname}-doc
-Summary: Sushy documentation
+Summary: %{summary}
-%description -n python-%{sname}-doc
-Documentation for Sushy
+%description -n python-%{sname}-doc %_description
%endif
^ 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: Reformat description and summary of package (rpmlint) Steve Traylen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox