public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bind] rawhide: Do not provide jemalloc subpackage on RHEL builds
Date: Tue, 01 Dec 2026 10:08:11 GMT	[thread overview]
Message-ID: <179611969153.1.15350307638377963108.rpms-bind-709ce3fbe6d9@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/bind
            Branch : rawhide
            Commit : 709ce3fbe6d93277dd94522d24684bea035ac73e
            Author : Petr Menšík <pemensik@redhat.com>
            Date   : 2026-11-30T12:35:20+01:00
            Stats  : +6/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/bind/c/709ce3fbe6d93277dd94522d24684bea035ac73e?branch=rawhide

            Log:
            Do not provide jemalloc subpackage on RHEL builds

RHEL does not have jemalloc package available. Do not require it on
RHEL.

---
diff --git a/bind.spec b/bind.spec
index d717e00..222a896 100644
--- a/bind.spec
+++ b/bind.spec
@@ -24,8 +24,6 @@
 %bcond_without LMDB
 %bcond_without DOC
 
-# xindy fails on s390x now. Not sure why. rhbz#2332076
-%bcond_with    DOCPDF
 # Add experimental extra verbose logging of query processing
 %bcond_with    QUERYTRACE
 %if 0%{?fedora} >= 41 && ! 0%{?rhel}
@@ -212,7 +210,8 @@ BuildRequires:  openpgpverify
 BuildRequires:  pkgconfig(libuv)
 %if %{with JEMALLOC}
 BuildRequires:  jemalloc-devel
-%else
+%endif
+%if %{without JEMALLOC} && ! 0%{?rhel}
 # Used from LD_PRELOAD
 BuildRequires:  jemalloc
 %endif
@@ -371,7 +370,7 @@ This package contains a tree of files which can be used as a
 chroot(2) jail for the named(8) program from the BIND package.
 Based on the code from Jan "Yenya" Kasprzak <kas@fi.muni.cz>
 
-%if %{without JEMALLOC}
+%if %{without JEMALLOC} && ! 0%{?rhel}
 %package jemalloc
 Summary:        Jemalloc extension to bind9
 Requires:       %{name}%{?_isa} = %{epoch}:%{version}-%{release}
@@ -492,7 +491,7 @@ export LIBDIR_SUFFIX
   %make_build doc SPHINX_W=''
 %endif
 
-%if %{without JEMALLOC}
+%if %{without JEMALLOC} && ! 0%{?rhel}
   LIB_JEMALLOC=$(ls -1 %{_libdir}/libjemalloc.so.*)
   cat > "jemalloc.conf" << EOF
 [Service]
@@ -641,7 +640,7 @@ install -pm 644 %{SOURCE49} ${RPM_BUILD_ROOT}%{_sysconfdir}/named-chroot.files
   ln -s ../bin/{named-checkconf,named-checkzone,named-compilezone} %{buildroot}%{_sbindir}/
 %endif
 
-%if %{without JEMALLOC}
+%if %{without JEMALLOC} && ! 0%{?rhel}
   mkdir -p ${RPM_BUILD_ROOT}%{_unitdir}/named.service.d
   install -m 0644 jemalloc.conf ${RPM_BUILD_ROOT}%{_unitdir}/named.service.d
 %endif
@@ -1013,7 +1012,7 @@ fi;
 %defattr(-,named,named,-)
 %dir %{chroot_prefix}/run/named
 %{chroot_prefix}%{_localstatedir}/run
-%if %{without JEMALLOC}
+%if %{without JEMALLOC} && ! 0%{?rhel}
 %files jemalloc
 %{_unitdir}/named.service.d
 %endif

                 reply	other threads:[~2026-12-01 10:08 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=179611969153.1.15350307638377963108.rpms-bind-709ce3fbe6d9@fedoraproject.org \
    --to=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