public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: During the build, assert the Python modules are importable
@ 2026-11-23  9:35 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-23  9:35 UTC (permalink / raw)
  To: git-commits

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)
 

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

only message in thread, other threads:[~2026-11-23  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:35 [rpms/rpm] pmatilai-v6: During the build, assert the Python modules are importable 

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