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-oslo-log] rawhide: rpmlint fixes
Date: Sun, 27 Sep 2026 09:11:55 GMT [thread overview]
Message-ID: <179050031566.1.14997019268086863424.rpms-python-oslo-log-e96c443e5f9e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-oslo-log
Branch : rawhide
Commit : e96c443e5f9e51c20d4fdcefb9458684f9a03cee
Author : Steve Traylen <steve.traylen@cern.ch>
Date : 2026-09-27T11:11:20+02:00
Stats : +19/-11 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-oslo-log/c/e96c443e5f9e51c20d4fdcefb9458684f9a03cee?branch=rawhide
Log:
rpmlint fixes
Some fixes for rpmlint
[skip changelog]
---
diff --git a/python-oslo-log.rpmlintrc b/python-oslo-log.rpmlintrc
new file mode 100644
index 0000000..f189a2f
--- /dev/null
+++ b/python-oslo-log.rpmlintrc
@@ -0,0 +1,8 @@
+addFilter('E: spelling-error \(\'openstack\'')
+addFilter('E: spelling-error \(\'formatters\'')
+
+addFilter(r"python-leftover-require python-oslo-log-lang")
+addFilter(r"no-manual-page-for-binary convert-json")
+addFilter(r"python-oslo-log-(lang|tests)\.noarch: W: no-documentation")
+addFilter(r"python3-oslo-log-tests\.noarch: W: no-documentation")
+addFilter(r"files-duplicate /usr/share/doc/python-oslo-log-doc/html/_static/images/")
diff --git a/python-oslo-log.spec b/python-oslo-log.spec
index 133344b..b85153b 100644
--- a/python-oslo-log.spec
+++ b/python-oslo-log.spec
@@ -25,9 +25,12 @@ Source102: https://releases.openstack.org/_static/%{sources_gpg_sign}.txt
%endif
BuildArch: noarch
+BuildRequires: python3-devel
+BuildRequires: git-core
+
# Required for tarball sources verification
%if 0%{?sources_gpg} == 1
-BuildRequires: /usr/bin/gpgv2
+BuildRequires: %{gpgverify}
%endif
%description
@@ -39,9 +42,6 @@ BuildRequires: /usr/bin/gpgv2
%package -n python3-%{pkg_name}
Summary: OpenStack Oslo Log library
-
-BuildRequires: python3-devel
-BuildRequires: git-core
Requires: python-%{pkg_name}-lang = %{version}-%{release}
%description -n python3-%{pkg_name}
@@ -63,7 +63,7 @@ Requires: python3-%{pkg_name} = %{version}-%{release}
%description -n python3-%{pkg_name}-tests
-%{common_desc1}
+%{common_desc}
Tests for the Oslo Log handling library.
@@ -81,13 +81,13 @@ Translation files for Oslo log library
%endif
%autosetup -n oslo_log-%{version} -S git
+sed -i '1{/^#!/d}' oslo_log/cmds/convert_json.py
+
sed -i /^[[:space:]]*-c{env:.*_CONSTRAINTS_FILE.*/d tox.ini
-sed -i \
- -e "/^coverage[[:space:]]*[!><=]/d" \
- -e "/^reno[[:space:]]*[!><=]/d" \
- -e "/^eventlet[[:space:]]*[!><=]/d" \
- test-requirements.txt doc/requirements.txt
+%pyproject_patch_dependency coverage:ignore
+%pyproject_patch_dependency reno:ignore
+%pyproject_patch_dependency eventlet:ignore
# see check section below
sed -i '\|eventlet\.hubs\.get_hub()|d' tox.ini
@@ -115,7 +115,7 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
# Generate i18n files
# This invocation is os of course deprecated, I think the correct thing to do may be:
-# pybabel compile -d %{buildroot}%{python3_sitelib}/oslo_log/locale -D oslo_log
+# pybabel compile -d %%{buildroot}%%{python3_sitelib}/oslo_log/locale -D oslo_log
# which will need a BR on babel.
python3 setup.py compile_catalog -d %{buildroot}%{python3_sitelib}/oslo_log/locale --domain oslo_log
reply other threads:[~2026-09-27 9:11 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=179050031566.1.14997019268086863424.rpms-python-oslo-log-e96c443e5f9e@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