public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qrencode] rawhide: Add a build conditional for SDL, default on
@ 2026-11-03 0:06 Sai Harsha Suryadevara
0 siblings, 0 replies; only message in thread
From: Sai Harsha Suryadevara @ 2026-11-03 0:06 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-03 0:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 0:06 [rpms/qrencode] rawhide: Add a build conditional for SDL, default on Sai Harsha Suryadevara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox