diff --git a/isnsd.service b/isnsd.service deleted file mode 100644 index f4ee128de24f4224bd7e9739dfb48900d15c8026..0000000000000000000000000000000000000000 --- a/isnsd.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=ISNS Server -After=network.target - -[Service] -ExecStart=/usr/sbin/isnsd -f - -[Install] -WantedBy=multi-user.target diff --git a/isns-utils.spec b/open-isns.spec similarity index 90% rename from isns-utils.spec rename to open-isns.spec index eeeaadaa7dfffe3fe9610e117f4b9686a20a6130..ef2e8d184f2277a837b9772df09e3fce7f462bc0 100644 --- a/isns-utils.spec +++ b/open-isns.spec @@ -1,11 +1,10 @@ Name: open-isns Version: 0.97 -Release: 10 +Release: 11 Summary: The iSNS server and client programs License: LGPLv2+ URL: https://www.github.com/open-iscsi/open-isns Source0: https://www.github.com/open-iscsi/open-isns/archive/v%{version}.tar.gz#/open-isns-%{version}.tar.gz -Source1: isnsd.service BuildRequires: gcc git systemd automake autoconf make BuildRequires: openssl-devel systemd-devel @@ -53,18 +52,17 @@ make DESTDIR=%{buildroot} install_hdrs install_lib chmod 755 %{buildroot}%{_sbindir}/isns* chmod 755 %{buildroot}%{_libdir}/libisns.so.0 rm %{buildroot}%{_unitdir}/isnsd.socket -install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/isnsd.service +install -p -m 644 isnsd.service %{buildroot}%{_unitdir}/isnsd.service -%post +%post -p /sbin/ldconfig %systemd_post isnsd.service -%postun +%postun -p /sbin/ldconfig %systemd_postun isnsd.service %preun %systemd_preun isnsd.service -%ldconfig_scriptlets %files %doc TODO README @@ -90,6 +88,12 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/isnsd.service %{_mandir}/man8/* %changelog +* Thu Jan 9 2020 openEuler Buildteam - 0.97-11 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:update package + * Sun Sep 29 2019 luoshijie - 0.97-10 - Type:enhancement - ID:NA