update package
This commit is contained in:
parent
02a1d74117
commit
bd36f64dba
@ -1,9 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=ISNS Server
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/sbin/isnsd -f
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
@ -1,11 +1,10 @@
|
|||||||
Name: open-isns
|
Name: open-isns
|
||||||
Version: 0.97
|
Version: 0.97
|
||||||
Release: 10
|
Release: 11
|
||||||
Summary: The iSNS server and client programs
|
Summary: The iSNS server and client programs
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://www.github.com/open-iscsi/open-isns
|
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
|
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: gcc git systemd automake autoconf make
|
||||||
BuildRequires: openssl-devel systemd-devel
|
BuildRequires: openssl-devel systemd-devel
|
||||||
@ -53,18 +52,17 @@ make DESTDIR=%{buildroot} install_hdrs install_lib
|
|||||||
chmod 755 %{buildroot}%{_sbindir}/isns*
|
chmod 755 %{buildroot}%{_sbindir}/isns*
|
||||||
chmod 755 %{buildroot}%{_libdir}/libisns.so.0
|
chmod 755 %{buildroot}%{_libdir}/libisns.so.0
|
||||||
rm %{buildroot}%{_unitdir}/isnsd.socket
|
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
|
%systemd_post isnsd.service
|
||||||
|
|
||||||
%postun
|
%postun -p /sbin/ldconfig
|
||||||
%systemd_postun isnsd.service
|
%systemd_postun isnsd.service
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun isnsd.service
|
%systemd_preun isnsd.service
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc TODO README
|
%doc TODO README
|
||||||
@ -90,6 +88,12 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/isnsd.service
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.97-11
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:update package
|
||||||
|
|
||||||
* Sun Sep 29 2019 luoshijie <luoshijie1@huawei.com> - 0.97-10
|
* Sun Sep 29 2019 luoshijie <luoshijie1@huawei.com> - 0.97-10
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
Loading…
x
Reference in New Issue
Block a user