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-os-service-types] f45: Use gpgverify BR for gpg check of source
Date: Thu, 13 Aug 2026 08:53:51 GMT	[thread overview]
Message-ID: <178661123181.1.6541919968491177744.rpms-python-os-service-types-b2d554a12958@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-os-service-types
            Branch : f45
            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=f45

            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
 
 

                 reply	other threads:[~2026-08-13  8:53 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=178661123181.1.6541919968491177744.rpms-python-os-service-types-b2d554a12958@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