public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libpfm] rawhide: 4.14.1-2
@ 2026-10-14 14:51 Aaron Merey
  0 siblings, 0 replies; only message in thread
From: Aaron Merey @ 2026-10-14 14:51 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libpfm
            Branch : rawhide
            Commit : 2049e49fa791f22fa3fcb7b03c5a52208297c5a8
            Author : Aaron Merey <amerey@redhat.com>
            Date   : 2026-10-13T19:54:31-04:00
            Stats  : +5/-3 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/libpfm/c/2049e49fa791f22fa3fcb7b03c5a52208297c5a8?branch=rawhide

            Log:
            4.14.1-2

Don't install build dependencies in tests/runtest.sh

yum-builddep fails the GPG check in rawhide CI because the build
dependencies come unsigned from the tag repository.  The test only
needs the unpacked and patched sources, so run rpmbuild -bp with
--nodeps instead.

Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>

---
diff --git a/libpfm.spec b/libpfm.spec
index 8f6561d..93381a5 100644
--- a/libpfm.spec
+++ b/libpfm.spec
@@ -9,7 +9,7 @@
 
 Name:		libpfm
 Version:	4.14.1
-Release:	1%{?dist}
+Release:	2%{?dist}
 
 Summary:	Library to encode performance events for use by perf tool
 
@@ -139,6 +139,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib*.a
 %endif
 
 %changelog
+* Tue Oct 13 2026 Aaron Merey <amerey@redhat.com> - 4.14.1-2
+- Don't install build dependencies in tests/runtest.sh
+
 * Tue Oct 13 2026 Aaron Merey <amerey@redhat.com> - 4.14.1-1
 - Rebase on libpfm-4.14.1.
 - Drop libpfm-gcc14.patch and libpfm-unused-vars.patch (upstream).

diff --git a/tests/libpfm-testsuite/runtest.sh b/tests/libpfm-testsuite/runtest.sh
index a5997d6..f79c89c 100755
--- a/tests/libpfm-testsuite/runtest.sh
+++ b/tests/libpfm-testsuite/runtest.sh
@@ -52,8 +52,7 @@ rlJournalStart
 
   rlPhaseStartSetup "build libpfm"
     rlRun "rpm -D \"_topdir $TmpDir\" -U *.src.rpm"
-    rlRun "yum-builddep -y $TmpDir/SPECS/*.spec"
-    rlRun "su -c 'rpmbuild -D \"_topdir $TmpDir\" -bp $TmpDir/SPECS/*.spec &>$TmpDir/rpmbuild.log' $BUILD_USER"
+    rlRun "su -c 'rpmbuild -D \"_topdir $TmpDir\" --nodeps -bp $TmpDir/SPECS/*.spec &>$TmpDir/rpmbuild.log' $BUILD_USER"
     rlRun "rlFileSubmit $TmpDir/rpmbuild.log"
     rlRun "cd \"$TmpDir\"/BUILD/libpfm-*-build/libpfm-*/tests 2>/dev/null || cd \"$TmpDir\"/BUILD/libpfm-*/tests"
     rlRun "su -c 'make PFMLIB=`rpm -ql libpfm | grep .so | head -n 1`' $BUILD_USER"

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

only message in thread, other threads:[~2026-10-14 14:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 14:51 [rpms/libpfm] rawhide: 4.14.1-2 Aaron Merey

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