SHA256
1
0
forked from pool/targetcli-fb

4 Commits

6 changed files with 70 additions and 16 deletions

View File

@@ -3,11 +3,12 @@
<param name="scm">git</param>
<param name="url">https://github.com/open-iscsi/targetcli-fb.git</param>
<param name="subdir"></param>
<param name="package-meta">yes</param>
<param name="filename">targetcli-fb</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(\d*\.\d*\.)(\d*)</param>
<param name="versionrewrite-replacement">\1\2</param>
<param name="revision">v2.1.57</param>
<param name="revision">v3.0.1</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/open-iscsi/targetcli-fb.git</param>
<param name="changesrevision">343eabcb65c11d34e0d8ac833a113f99d5c0fa37</param></service></servicedata>
<param name="changesrevision">2b3db3980327a9c12a43fd2108dcf00327523f9a</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2485c69c2d5062a02a9440888d2e7be3288526f4b2d27d936ed86a71818cb722
size 204800

BIN
targetcli-fb-3.0.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,55 @@
-------------------------------------------------------------------
Wed Mar 19 18:44:13 UTC 2025 - lduncan@suse.com
- Update to version 3.0.1:
* Drop the _fb suffix from rtslib and configshell imports
* Update ui_target.py
* feat: Switch to a default portal IP of [::0]
* Fix PyPI publish step
* Fix shell exit on expected errors
* Fix pre-commit trimming linebreaks in markdown
* Adding PyPI release workflow
* Adding pre-commit check to gh workflow
* Add Contribute section to README
* Use f-string instead of percent substitute
* Update pre-commit hook versions
* Use pathlib where appropriate
* Codestyle optimizations
* Fix RET505 violations and other codestyle fixes
* Move to hatchling build backend, dropping `-fb`
* Update linting rules
* Fix Perflint violations
* Fix Pylint violations
* Remove unused arguments from signal_handler
* Add missing return
* Remove unnecessary `start` argument in `range`
* Fix string concantenation, using f-strings
* Removing unnecessary dict call
* Rename built-in shadowding variable "type"
* Remove useless statement
* Fix flake8-simplify violations
* Use explicit conversion flags
* Fix exception handling to pass flake8-bandit
* Add uppercase variable noqa for BLKROGET
* Fix import sorting
* Fix pycodestyle violations
* Fix pyflakes violations
* Remove Python 2 compatibility, require Python 3.9
* Add missing general exception error assignment
* Rename targetcli.py to prevent import conflicts
* Removing Makefile
* Handle package-data
* Use importlib.metadata for module version
* Move executables to project directory
* Update README
* Add pre-commit configuration
* Update packaging
* Extending .gitignore
* Removing extra trailing whitespace from COPYING
* version 2.1.58
* Fix mapping the new LUN to the node ACL
This included several changes to the SPEC file, as well
-------------------------------------------------------------------
Wed Jun 19 15:34:16 UTC 2024 - Michał Szczepaniak <m.szczepaniak.000@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package targetcli-fb
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: targetcli-fb
Version: 2.1.58
Version: 3.0.1
Release: 0
Summary: A command shell for managing the Linux LIO kernel target
License: Apache-2.0
@@ -28,24 +27,26 @@ Source: %{name}-%{version}.tar.xz
Source1: %{name}.service
BuildRequires: %{python_module configshell-fb}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyparsing}
BuildRequires: %{python_module rtslib-fb}
BuildRequires: %{python_module setuptools}
BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: git
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(systemd)
Requires: python-configshell-fb
Requires: python-dbus-python
Requires: python-gobject
Requires: python-rtslib-fb
Requires: python-six
Requires: targetcli-fb-common
Requires(post): update-alternatives
Requires(postun): update-alternatives
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
Provides: targetcli = %{version}-%{release}
Provides: targetcli-fb = %{version}-%{release}
%endif
Obsoletes: targetcli < %{version}-%{release}
Obsoletes: targetcli-fb < %{version}-%{release}
BuildArch: noarch
@@ -70,16 +71,16 @@ Provides: %{python_module targetcli-fb-common}
%description -n %{name}-common
targetcli-fb-common is the invariant base package needed by
all python-version-dependant packages, such as python3-*-targetcli-fb.
all python-version-dependant packages, such as python3*-targetcli-fb.
%prep
%setup -q
%autosetup -p1
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/targetcli
%python_clone -a %{buildroot}%{_bindir}/targetclid
install -d -m755 %{buildroot}%{_sysconfdir}/target
@@ -124,7 +125,7 @@ ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rctargetclid
%files %{python_files}
%python_alternative %{_bindir}/targetcli
%python_alternative %{_bindir}/targetclid
%{python_sitelib}/*
%{python_sitelib}/targetcli*
%files -n %{name}-common
%license COPYING