From 5129402fd6c55d4e47235eadf42c21ede9ed02da Mon Sep 17 00:00:00 2001 From: lvyy Date: Mon, 3 Mar 2025 07:46:00 +0000 Subject: [PATCH] meson builds now working (cherry picked from commit 533dd4fd443f326c7ebc28bcbe6b486818d10323) --- open-isns.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/open-isns.spec b/open-isns.spec index 924f9ec..c6404a5 100644 --- a/open-isns.spec +++ b/open-isns.spec @@ -1,6 +1,6 @@ Name: open-isns Version: 0.102 -Release: 1 +Release: 2 Summary: The iSNS server and client programs License: LGPLv2+ URL: https://github.com/open-iscsi/open-isns @@ -8,8 +8,8 @@ Source0: https://github.com/open-iscsi/open-isns/archive/refs/tags/v%{ver Patch0001: 0001-Do-not-install-isnsd.socket-in-isnsd.service.patch -BuildRequires: gcc systemd automake autoconf make -BuildRequires: openssl-devel systemd-devel +BuildRequires: gcc systemd meson +BuildRequires: systemd-devel Recommends: %{name}-help = %{version}-%{release} Requires(post): systemd-units Requires(preun): systemd-units @@ -46,15 +46,14 @@ This package consists of man files for iSNS %autosetup -n %{name}-%{version} -p1 %build -%configure --enable-shared --disable-static -%make_build +%meson -Dsecurity=disabled -Dslp=disabled +%meson_build %check make tests %install -%make_install -make DESTDIR=%{buildroot} install_hdrs install_lib +%meson_install chmod 755 %{buildroot}%{_sbindir}/isns* chmod 755 %{buildroot}%{_libdir}/libisns.so.0 rm %{buildroot}%{_unitdir}/isnsd.socket @@ -96,6 +95,9 @@ install -p -m 644 isnsd.service %{buildroot}%{_unitdir}/isnsd.service %{_mandir}/man8/* %changelog +* Mon Mar 3 2025 lvyy - 0.102-2 +- meson builds now working + * Mon Sep 30 2024 lvyy - 0.102-1 - Update to open-isns-0.102 version -- Gitee