[packages/openldap] - explicit --wihout-fetch is required to disable it when libfetch-devel is installed - no .service f

hawk hawk at pld-linux.org
Sun May 24 16:44:42 CEST 2026


commit e89ec7a09bb16dc32f42846d7c3584d1f86e6822
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Sun May 24 16:43:12 2026 +0200

    - explicit --wihout-fetch is required to disable it when libfetch-devel is installed
    - no .service files are installed when building w/o systemd

 openldap.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/openldap.spec b/openldap.spec
index 8919597..bb13ff8 100644
--- a/openldap.spec
+++ b/openldap.spec
@@ -1251,7 +1251,7 @@ export SOURCE_DATE_EPOCH=$(stat -c '%Y' CHANGES)
 	--enable-balancer%{!?with_lloadd:=no} \
 	--with-argon2=libargon2 \
 	--with-cyrus-sasl%{!?with_sasl:=no} \
-	%{?with_libfetch:--with-fetch} \
+	%{__with_without libfetch fetch} \
 	--with-mp=longlong \
 	%{?with_odbc:--with-odbc=unixodbc} \
 	%{__with_without systemd} \
@@ -1803,12 +1803,16 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openldap/schema/*.schema
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ldap
 %attr(754,root,root) /etc/rc.d/init.d/ldap
+%if %{with systemd}
 %{systemdunitdir}/slapd.service
+%endif
 %{systemdtmpfilesdir}/slapd.conf
 %attr(770,root,slapd) %{_var}/run/slapd
 %if %{with lloadd}
 %attr(755,root,root) %{_sbindir}/lloadd
+%if %{with systemd}
 %{systemdunitdir}/lloadd.service
+%endif
 %{_mandir}/man5/lloadd.conf.5*
 %{_mandir}/man8/lloadd.8*
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openldap.git/commitdiff/e89ec7a09bb16dc32f42846d7c3584d1f86e6822



More information about the pld-cvs-commit mailing list