public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bind] rawhide: Do not provide jemalloc subpackage on RHEL builds
@ 2026-12-01 10:08
0 siblings, 0 replies; only message in thread
From: @ 2026-12-01 10:08 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 10:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 10:08 [rpms/bind] rawhide: Do not provide jemalloc subpackage on RHEL builds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox