public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sai Harsha Suryadevara <ssuryad@amazon.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qrencode] rawhide: Add a build conditional for SDL, default on
Date: Tue, 03 Nov 2026 00:06:47 GMT [thread overview]
Message-ID: <179366440726.1.4529450068724317746.rpms-qrencode-fcb1ab5bbbdc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/qrencode
Branch : rawhide
Commit : fcb1ab5bbbdca9e20a2cbb335dcaf9241646d98f
Author : Sai Harsha Suryadevara <ssuryad@amazon.com>
Date : 2026-10-31T22:23:14+00:00
Stats : +10/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/qrencode/c/fcb1ab5bbbdca9e20a2cbb335dcaf9241646d98f?branch=rawhide
Log:
Add a build conditional for SDL, default on
---
diff --git a/qrencode.spec b/qrencode.spec
index 1f3b9d2..c09b96b 100644
--- a/qrencode.spec
+++ b/qrencode.spec
@@ -1,3 +1,7 @@
+# SDL is only needed to build tests/view_qrcode, a test viewer that is not installed.
+# Builds without SDL can use: rpmbuild --without sdl
+%bcond sdl 1
+
# Recent so-version, so we do not bump accidentally.
%global so_ver 4
@@ -12,7 +16,7 @@
Name: qrencode
Version: 4.1.1
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Generate QR 2D barcodes
# Automatically converted from old format: LGPLv2+ - review is highly recommended.
@@ -27,7 +31,9 @@ BuildRequires: make
BuildRequires: gcc
BuildRequires: chrpath
BuildRequires: libpng-devel
+%if %{with sdl}
BuildRequires: SDL-devel
+%endif
## For ARM 64 support (RHBZ 926414)
BuildRequires: autoconf >= 2.69
@@ -121,6 +127,9 @@ popd
%changelog
+* Thu Oct 29 2026 Sai Harsha Suryadevara <ssuryad@amazon.com> - 4.1.1-14
+- Add a build conditional for SDL, default on, so that builds without SDL can skip the tests/view_qrcode viewer
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
reply other threads:[~2026-11-03 0:06 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=179366440726.1.4529450068724317746.rpms-qrencode-fcb1ab5bbbdc@fedoraproject.org \
--to=ssuryad@amazon.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