re-package for rtslib
This commit is contained in:
parent
943f0ab96d
commit
a5addf55cf
@ -5,13 +5,12 @@
|
||||
|
||||
Name: python-rtslib
|
||||
Version: 2.1.70
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Python object API for Linux kernel LIO SCSI target
|
||||
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/open-iscsi/%{oname}
|
||||
Source0: %{url}/archive/v%{version}/%{oname}-%{version}.tar.gz
|
||||
Source1: target.service
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: epydoc, systemd-units
|
||||
@ -112,7 +111,7 @@ mkdir -p %{buildroot}%{_unitdir}
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/target/backup
|
||||
mkdir -p %{buildroot}%{_localstatedir}/target/pr
|
||||
mkdir -p %{buildroot}%{_localstatedir}/target/alua
|
||||
install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/target.service
|
||||
install -m 644 systemd/target.service %{buildroot}%{_unitdir}/target.service
|
||||
install -m 644 doc/targetctl.8.gz %{buildroot}%{_mandir}/man8/
|
||||
install -m 644 doc/saveconfig.json.5.gz %{buildroot}%{_mandir}/man5/
|
||||
|
||||
@ -159,7 +158,10 @@ install -m 644 doc/saveconfig.json.5.gz %{buildroot}%{_mandir}/man5/
|
||||
%{_mandir}/man5/saveconfig.json.5.gz
|
||||
|
||||
%changelog
|
||||
* Wed 1 1 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.1.70-2
|
||||
* Thu Jan 09 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.1.70-3
|
||||
- re-package for rtslib-fb
|
||||
|
||||
* Wed Jan 01 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.1.70-2
|
||||
- Strenthen spec
|
||||
|
||||
* Wed Sep 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.70-1
|
||||
|
||||
@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=Restore LIO kernel target configuration
|
||||
Requires=sys-kernel-config.mount
|
||||
After=sys-kernel-config.mount network.target local-fs.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/targetctl restore
|
||||
ExecStop=/usr/bin/targetctl clear
|
||||
SyslogIdentifier=target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user