diff --git a/open-isns.spec b/open-isns.spec index 924f9ecd56aabbce0e37c35f231ec8606ce8f6f5..c6404a524da9a309eaeddf584253b342de5cef13 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