1 Star 0 Fork 15

yaokai13/targetcli

forked from src-openEuler/targetcli 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
targetcli.spec 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
wang_yue111 提交于 2020-07-15 19:26 +08:00 . Fix unexpected error raised when adding luns
Name: targetcli
Version: 2.1.fb48
Release: 10
License: ASL 2.0
Summary: Generic SCSI target CLI shell
URL: https://github.com/open-iscsi/targetcli-fb
Source: https://github.com/open-iscsi/targetcli-fb/archive/v2.1.fb48.tar.gz
Patch0000: 0000-signed-char.patch
Patch0001: MappedLuns-and-Luns-max-number-is-not-the-same-anymore.patch
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools
Requires: python3-rtslib target-restore python3-configshell python3-six python3-dbus python3-gobject
%description
Targetcli is an administration tool for managing storage targets
using the kernel LIO core target and compatible target fabric modules.
%package help
Summary: Help document for the %{name} package
%description help
Help document for the %{name} package.
%prep
%autosetup -n targetcli-fb-%{version} -p1
%build
%{__python3} setup.py build
gzip --stdout targetcli.8 > targetcli.8.gz
%install
%{__python3} setup.py install --skip-build --root %{buildroot}
install -d %{buildroot}%{_sysconfdir}/target/backup
install -D -m 644 targetcli.8.gz %{buildroot}%{_mandir}/man8/targetcli.8.gz
%files
%doc COPYING README.md
%{python3_sitelib}/*
%{_bindir}/targetcli
%dir %{_sysconfdir}/target
%dir %{_sysconfdir}/target/backup
%files help
%{_mandir}/man8/targetcli.8.gz
%changelog
* Wed Jul 15 2020 wangyue <wangyue92@huawei.com> - 2.1.fb48-10
- fix unexpected error raised when adding luns
* Fri Feb 14 2020 lingsheng <lingsheng@huawei.com> - 2.1.fb48-9
- Package int
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yaokai13/targetcli.git
git@gitee.com:yaokai13/targetcli.git
yaokai13
targetcli
targetcli
master

搜索帮助