public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/httpd] f43: - switch to using %%bcond for pcre2/pcre/engine definitions
@ 2026-10-01 16:46 Joe Orton
  0 siblings, 0 replies; only message in thread
From: Joe Orton @ 2026-10-01 16:46 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/httpd
Branch : f43
Commit : 8350bc2adb083d70bfd2def7cb8a730935aa4914
Author : Joe Orton <jorton@redhat.com>
Date   : 2026-01-27T14:22:07+00:00
Stats  : +3/-13 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/httpd/c/8350bc2adb083d70bfd2def7cb8a730935aa4914?branch=f43

Log:
- switch to using %%bcond for pcre2/pcre/engine definitions

---
diff --git a/httpd.spec b/httpd.spec
index 7bccc44..5fc7d87 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -11,19 +11,9 @@
 %global mpm prefork
 %endif
 
-%if 0%{?fedora} > 35 || 0%{?rhel} > 9
-%bcond_without pcre2
-%bcond_with pcre
-%else
-%bcond_with pcre2
-%bcond_without pcre
-%endif
-
-%if 0%{?fedora} > 40 || 0%{?rhel} > 9
-%bcond_with engine
-%else
-%bcond_without engine
-%endif
+%bcond pcre2 %[0%{?fedora} > 35 || 0%{?rhel} > 9]
+%bcond pcre %{without pcre2}
+%bcond engine %[0%{?fedora} < 41 && 0%{?rhel} < 10]
 
 # Similar issue to https://bugzilla.redhat.com/show_bug.cgi?id=2043092
 %undefine _package_note_flags

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

only message in thread, other threads:[~2026-10-01 16:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-01 16:46 [rpms/httpd] f43: - switch to using %%bcond for pcre2/pcre/engine definitions Joe Orton

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