public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-os-service-types] rawhide: Use gpgverify BR for gpg check of source
@ 2026-08-13  8:50 Steve Traylen
  0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-08-13  8:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-os-service-types
            Branch : rawhide
            Commit : b2d554a129580537384d545c09776ababc542efb
            Author : Steve Traylen <steve.traylen@cern.ch>
            Date   : 2026-08-13T10:49:34+02:00
            Stats  : +16/-11 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-os-service-types/c/b2d554a129580537384d545c09776ababc542efb?branch=rawhide

            Log:
            Use gpgverify BR for gpg check of source

- Use capitals for summary (rpmlint)
- Remove hidden dotfiles (rpmlint)
- Avoid building docs again in %check stage
- Deduplicate LICENSE file
- Add LICENSE to documentation package

---
diff --git a/.gitignore b/.gitignore
index b8bb2f2..ef9be1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,3 @@
-/os-service-types-1.1.0.tar.gz
-/os-service-types-1.6.0.tar.gz
-/os-service-types-1.7.0.tar.gz
-/os_service_types-1.8.2.tar.gz
-/os_service_types-1.8.2.tar.gz.asc
-/0xb8e9315f48553ec5aff9ffe5e69d97da9efb5aff.txt
+/os_service_types-*.tar.gz
+/os_service_types-*.tar.gz.asc
+/0x*.txt

diff --git a/python-os-service-types.rpmlintrc b/python-os-service-types.rpmlintrc
new file mode 100644
index 0000000..e99320a
--- /dev/null
+++ b/python-os-service-types.rpmlintrc
@@ -0,0 +1,7 @@
+
+# https://github.com/sphinx-doc/sphinx/issues/13734
+
+addFilter('python-os-service-types-doc.noarch: W: files-duplicate /usr/share/doc/python-os-service-types-doc/html/_static/images/openstack-logo-full.png /usr/share/doc/python-os-service-types-doc/html/_static/images/logo-full.png')
+addFilter('python-os-service-types-doc.noarch: W: files-duplicate /usr/share/doc/python-os-service-types-doc/html/_static/images/openstack-logo-full.svg /usr/share/doc/python-os-service-types-doc/html/_static/images/logo-full.svg')
+addFilter('python-os-service-types-doc.noarch: W: files-duplicate /usr/share/doc/python-os-service-types-doc/html/_static/images/openstack-logo-vert.png /usr/share/doc/python-os-service-types-doc/html/_static/images/logo-vert.png')
+addFilter('python-os-service-types-doc.noarch: W: files-duplicate /usr/share/doc/python-os-service-types-doc/html/_static/images/openstack-logo-vert.svg /usr/share/doc/python-os-service-types-doc/html/_static/images/logo-vert.svg')

diff --git a/python-os-service-types.spec b/python-os-service-types.spec
index bcf0afd..08e20bf 100644
--- a/python-os-service-types.spec
+++ b/python-os-service-types.spec
@@ -33,7 +33,7 @@ Source2:        https://releases.openstack.org/_static/%{sources_gpg_sign}.txt
 BuildArch:      noarch
 BuildRequires:  git-core
 %if 0%{?sources_gpg} == 1
-BuildRequires:    /usr/bin/gpgv2
+BuildRequires:  gpgverify
 %endif
 
 
@@ -51,7 +51,7 @@ Summary:        %{summary}
 
 %if ! %{with bootstrap}
 %package -n python-%{pypi_name}-doc
-Summary:        %{pypi_name} documentation
+Summary:        %summary
 Requires:       python-%{pypi_name} = %{version}-%{release}
 
 
@@ -90,7 +90,8 @@ sed -i \
 
 %if ! %{with bootstrap}
 sphinx-build -b html doc/source doc/build/html
-rm -rf doc/build/html/.{doctrees,buildinfo}
+rm doc/build/html/.buildinfo
+rm -r doc/build/html/.doctrees
 %endif
 
 
@@ -104,18 +105,18 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
 %if %{with bootstrap}
 %pyproject_check_import os_service_types -e os_service_types.tests.*
 %else
-%tox
+%tox -e %{default_toxenv}
 %endif
 
 
 %files -n python3-%{pypi_name} -f %{pyproject_files}
-%license LICENSE
 %doc ChangeLog README.rst doc/source/readme.rst
 
 
 %if ! %{with bootstrap}
 %files -n python-%{pypi_name}-doc
 %doc doc/build/html
+%license LICENSE
 %endif
 
 

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

only message in thread, other threads:[~2026-08-13  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-13  8:50 [rpms/python-os-service-types] rawhide: Use gpgverify BR for gpg check of source Steve Traylen

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