commit d76e539699fcf08879ba88f1c999ced218e38d44 Author: Marcin Krol <h...@tld-linux.org> Date: Thu Jul 20 17:39:38 2023 +0200
- allow building on systems without systemd open-isns.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- diff --git a/open-isns.spec b/open-isns.spec index e362949..407e7f7 100644 --- a/open-isns.spec +++ b/open-isns.spec @@ -2,6 +2,7 @@ # # Conditional build: %bcond_without static_libs # static libraries +%bcond_without systemd # systemd # Summary: Partial implementation of iSNS (RFC 4171) Summary(pl.UTF-8): Częściowa implementacja iSNS (RFC 4171) @@ -70,7 +71,7 @@ Statyczna biblioteka Open-iSNS. %build %meson build \ - -Dsystemddir=%{_systemd_util_dir} \ + %{?with_systemd:-Dsystemddir=%{_systemd_util_dir}} \ %{!?with_static_libs:--default-library=shared} %ninja_build -C build @@ -104,8 +105,10 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/isns/isnsadm.conf %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/isns/isnsd.conf %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/isns/isnsdd.conf +%if %{with systemd} %{systemdunitdir}/isnsd.service %{systemdunitdir}/isnsd.socket +%endif %dir /var/lib/isns %{_mandir}/man5/isns_config.5* %{_mandir}/man8/isnsadm.8* ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/open-isns.git/commitdiff/d76e539699fcf08879ba88f1c999ced218e38d44 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit