diff --git a/targetcli-fb-2.1.58.tar.gz b/targetcli-fb-2.1.58.tar.gz deleted file mode 100644 index caeb7d7c9bf9dd1ec5876dc9b09016a45ed58142..0000000000000000000000000000000000000000 Binary files a/targetcli-fb-2.1.58.tar.gz and /dev/null differ diff --git a/targetcli-fb-3.0.1.tar.gz b/targetcli-fb-3.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2044895803cee3e22328b353f61a3c4c095ce172 Binary files /dev/null and b/targetcli-fb-3.0.1.tar.gz differ diff --git a/targetcli.spec b/targetcli.spec index 41f88a95a70cb8afdcfef9cb3837828c7c36033a..1beea0720c963e27b3dc74049fc784b3728945d3 100644 --- a/targetcli.spec +++ b/targetcli.spec @@ -1,13 +1,15 @@ Name: targetcli -License: ASL 2.0 +License: Apache-2.0 Summary: Generic SCSI target CLI shell -Version: 2.1.58 +Version: 3.0.1 Release: 1 URL: https://github.com/open-iscsi/targetcli-fb Source: https://github.com/open-iscsi/targetcli-fb/archive/v%{version}/targetcli-fb-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel python3-setuptools systemd +BuildRequires: python3-pip python3-wheel +BuildRequires: python3-hatchling python3-hatch-vcs Requires: python3-rtslib target-restore python3-configshell python3-six python3-dbus python3-gobject-base %description @@ -24,10 +26,11 @@ Help document for the %{name} package. %autosetup -n targetcli-fb-%{version} -p1 %build -%py3_build +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} +%pyproject_build %install -%py3_install +%pyproject_install mkdir -p %{buildroot}%{_sysconfdir}/target/backup mkdir -p %{buildroot}%{_mandir}/man8/ install -m 644 targetcli*.8 %{buildroot}%{_mandir}/man8/ @@ -48,6 +51,13 @@ install -m 644 systemd/* %{buildroot}%{_unitdir}/ %{_mandir}/man8/targetcli*.8* %changelog +* Tue Sep 09 2025 yaoxin <1024769339@qq.com> - 3.0.1-1 +- Update to 3.0.1: + * Drop the _fb suffix from rtslib and configshell module names + * Use portal ::0 instead of 0.0.0.0 to listen on both IPv6 and IPv4 + * Refactor the project for Python>=3.9, PEP-517, PEP-621; Add linting, pre-commit + * Add workflows for pre-commit and PyPI release + * Wed Jul 03 2024 xu_ping <707078654@qq.com> - 2.1.58-1 - Upgrade version to 2.1.58 - Fix mapping the new LUN to the node ACL. diff --git a/targetcli.yaml b/targetcli.yaml index 004fee9cf5cc4bb400f272f7112ca816fce7bf65..b8b2b8fe3df67627f0412cb03a187e8e87826eb1 100644 --- a/targetcli.yaml +++ b/targetcli.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: open-iscsi/targetcli-fb tag_prefix: ^v -seperator: . +separator: .