From 6115cad68eb69aa9965037663817b72ef56ad495 Mon Sep 17 00:00:00 2001 From: eulerstorage Date: Fri, 17 Jan 2020 00:13:26 +0800 Subject: [PATCH] update spec --- open-isns.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/open-isns.spec b/open-isns.spec index ef2e8d1..d222fb9 100644 --- a/open-isns.spec +++ b/open-isns.spec @@ -1,6 +1,6 @@ Name: open-isns Version: 0.97 -Release: 11 +Release: 12 Summary: The iSNS server and client programs License: LGPLv2+ URL: https://www.github.com/open-iscsi/open-isns @@ -54,15 +54,16 @@ chmod 755 %{buildroot}%{_libdir}/libisns.so.0 rm %{buildroot}%{_unitdir}/isnsd.socket install -p -m 644 isnsd.service %{buildroot}%{_unitdir}/isnsd.service -%post -p /sbin/ldconfig +%post %systemd_post isnsd.service -%postun -p /sbin/ldconfig +%postun %systemd_postun isnsd.service %preun %systemd_preun isnsd.service +%ldconfig_scriptlets %files %doc TODO README @@ -88,6 +89,12 @@ install -p -m 644 isnsd.service %{buildroot}%{_unitdir}/isnsd.service %{_mandir}/man8/* %changelog +* Fri Jan 17 2020 openEuler Buildteam - 0.97-12 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:update spec. + * Thu Jan 9 2020 openEuler Buildteam - 0.97-11 - Type:enhancement - ID:NA -- Gitee