public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: During the build, assert the Python modules are importable
Date: Mon, 23 Nov 2026 09:35:17 GMT	[thread overview]
Message-ID: <179542651719.1.14746792828528834809.rpms-rpm-1bee3a541e23@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 1bee3a541e23489f73667b8f44d3ccd53fa79917
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2024-05-06T15:36:16+02:00
Stats  : +9/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/1bee3a541e23489f73667b8f44d3ccd53fa79917?branch=pmatilai-v6

Log:
During the build, assert the Python modules are importable

---
diff --git a/rpm.spec b/rpm.spec
index 98c5ea3..b6724ee 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -27,7 +27,7 @@
 
 %global rpmver 4.19.1.1
 #global snapver rc1
-%global baserelease 1
+%global baserelease 2
 %global sover 10
 
 %global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -372,6 +372,11 @@ cmake \
 
 %make_build
 
+%check
+# We can't run the actual test-suite from %%check,
+# at least check the Python module is importable:
+LD_LIBRARY_PATH=%{buildroot}%{_libdir} %py3_check_import rpm rpm.transaction
+
 %install
 cd _build
 %make_install
@@ -614,6 +619,9 @@ fi
 %doc %{_defaultdocdir}/rpm/API/
 
 %changelog
+* Mon May 06 2024 Miro Hrončok <mhroncok@redhat.com> - 4.19.1.1-2
+- During the build, assert the Python modules are importable
+
 * Wed Feb 07 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-1
 - Update to 4.19.1.1 (https://rpm.org/wiki/Releases/4.19.1.1)
 

                 reply	other threads:[~2026-11-23  9:35 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=179542651719.1.14746792828528834809.rpms-rpm-1bee3a541e23@fedoraproject.org \
    --to=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