public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Joe Orton <jorton@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/httpd] f43: - switch to using %%bcond for pcre2/pcre/engine definitions
Date: Thu, 01 Oct 2026 16:46:17 GMT	[thread overview]
Message-ID: <179087317739.1.15215793952859230754.rpms-httpd-8350bc2adb08@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-10-01 16:46 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=179087317739.1.15215793952859230754.rpms-httpd-8350bc2adb08@fedoraproject.org \
    --to=jorton@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