public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - Actually fail build on test-suite failures again
Date: Mon, 23 Nov 2026 09:32:08 GMT	[thread overview]
Message-ID: <179542632880.1.9421682872349728015.rpms-rpm-4ba57b66ab11@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : 4ba57b66ab114ff0231e2275dac6d804d590f7a0
            Author : Panu Matilainen <pmatilai@redhat.com>
            Date   : 2018-10-12T09:10:21+03:00
            Stats  : +7/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/4ba57b66ab114ff0231e2275dac6d804d590f7a0?branch=pmatilai-v6

            Log:
            - Actually fail build on test-suite failures again
- Invoke python2 explicitly from test-suite to unbreak build, part II

---
diff --git a/rpm.spec b/rpm.spec
index afb493d..bccbd11 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -23,7 +23,7 @@
 
 %global rpmver 4.14.2
 #global snapver rc2
-%global rel 6
+%global rel 7
 
 %global srcver %{version}%{?snapver:-%{snapver}}
 %global srcdir %{?snapver:testing}%{!?snapver:%{name}-%(echo %{version} | cut -d'.' -f1-2).x}
@@ -339,6 +339,7 @@ ln -s db-%{bdbver} db
 # Python madness: invoke python2 explicitly to avoid deprecation warnings
 # breaking the testsuite and thus the build. Easier than managing a patch...
 sed -ie 's:^python test:python2 test:g' tests/rpmtests tests/local.at
+sed -ie 's:python -c:python2 -c:g' tests/atlocal.in
 
 %build
 %if %{without int_bdb}
@@ -438,7 +439,7 @@ chmod a-x $RPM_BUILD_ROOT/%{rpmhome}/python-macro-helper
 
 %if %{with check}
 %check
-make check || cat tests/rpmtests.log
+make check || (cat tests/rpmtests.log; exit 1)
 %endif
 
 # Fedora < 28 and EPEL-7 builds need these
@@ -579,6 +580,10 @@ make check || cat tests/rpmtests.log
 %doc doc/librpm/html/*
 
 %changelog
+* Fri Oct 12 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-7
+- Actually fail build on test-suite failures again
+- Invoke python2 explicitly from test-suite to unbreak build, part II
+
 * Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-6
 - Drop duplicate BDB buildrequire
 - Drop nowadays unnecessary BDB macro foo

                 reply	other threads:[~2026-11-23  9:32 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=179542632880.1.9421682872349728015.rpms-rpm-4ba57b66ab11@fedoraproject.org \
    --to=pmatilai@redhat.com \
    --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