Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package targetcli-fb for openSUSE:Factory checked in at 2021-06-11 00:19:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/targetcli-fb (Old) and /work/SRC/openSUSE:Factory/.targetcli-fb.new.32437 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "targetcli-fb" Fri Jun 11 00:19:01 2021 rev:22 rq:899083 version:2.1.54 Changes: -------- --- /work/SRC/openSUSE:Factory/targetcli-fb/targetcli-fb.changes 2021-01-25 18:24:33.832510932 +0100 +++ /work/SRC/openSUSE:Factory/.targetcli-fb.new.32437/targetcli-fb.changes 2021-06-11 00:19:37.033415276 +0200 @@ -1,0 +2,12 @@ +Wed Jun 09 15:47:58 UTC 2021 - [email protected] + +- Update to version 2.1.54: + * version 2.1.54 + * fileio backstore: fix sparse file creation + * Do not install systemd files in setup.py + Removing the need for our patch fix-setup-install.patch, + since that managed systemd file locations, now handled + in the SPEC file. Also, fixed incorrect spelling of + targetclid as targetcld for preun stop_on_removal. + +------------------------------------------------------------------- Old: ---- fix-setup-install.patch targetcli-fb-2.1.53.tar.xz New: ---- targetcli-fb-2.1.54.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ targetcli-fb.spec ++++++ --- /var/tmp/diff_new_pack.lLuf66/_old 2021-06-11 00:19:37.537416152 +0200 +++ /var/tmp/diff_new_pack.lLuf66/_new 2021-06-11 00:19:37.541416159 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: targetcli-fb -Version: 2.1.53 +Version: 2.1.54 Release: 0 Summary: A command shell for managing the Linux LIO kernel target License: Apache-2.0 @@ -59,7 +59,6 @@ # SUSE-specific patches Patch1: Split-out-blockdev-readonly-state-detection-helper.patch Patch2: rbd-support.patch -Patch3: fix-setup-install.patch %python_subpackages @@ -89,7 +88,6 @@ # RBD support is dependent on LIO changes present in the SLE/Leap kernel %patch2 -p1 %endif -%patch3 -p1 %build %python_build @@ -104,6 +102,8 @@ install -D -m644 targetcli.8 %{buildroot}%{_mandir}/man8/targetcli.8 install -D -m644 targetclid.8 %{buildroot}%{_mandir}/man8/targetclid.8 install -D -m644 %{S:1} %{buildroot}%{_unitdir}/targetcli.service +install -D -m644 systemd/targetclid.service %{buildroot}%{_unitdir}/targetclid.service +install -D -m644 systemd/targetclid.socket %{buildroot}%{_unitdir}/targetclid.socket %fdupes %{buildroot} ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rctargetcli ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rctargetclid @@ -120,7 +120,7 @@ %{service_add_pre targetcli.service targetclid.socket targetclid.service} %preun -%{stop_on_removal targetcld targetcli} +%{stop_on_removal targetclid targetcli} %{service_del_preun targetcli.service targetclid.socket targetclid.service} %post -n %{name}-common ++++++ _service ++++++ --- /var/tmp/diff_new_pack.lLuf66/_old 2021-06-11 00:19:37.577416222 +0200 +++ /var/tmp/diff_new_pack.lLuf66/_new 2021-06-11 00:19:37.581416228 +0200 @@ -7,7 +7,7 @@ <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.53</param> + <param name="revision">v2.1.54</param> <param name="changesgenerate">enable</param> </service> <service name="recompress" mode="disabled"> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.lLuf66/_old 2021-06-11 00:19:37.601416263 +0200 +++ /var/tmp/diff_new_pack.lLuf66/_new 2021-06-11 00:19:37.605416270 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/open-iscsi/targetcli-fb.git</param> - <param name="changesrevision">ff7766b737c0868ae2579da49f2e8304f40767ee</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">033cf1c2d34c73cce84c4c12c7383188167bf9e5</param></service></servicedata> \ No newline at end of file ++++++ targetcli-fb-2.1.53.tar.xz -> targetcli-fb-2.1.54.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/targetcli-fb-2.1.53/setup.py new/targetcli-fb-2.1.54/setup.py --- old/targetcli-fb-2.1.53/setup.py 2020-06-24 10:14:04.000000000 +0200 +++ new/targetcli-fb-2.1.54/setup.py 2021-03-04 13:51:22.000000000 +0100 @@ -34,7 +34,6 @@ 'scripts/targetcli', 'daemon/targetclid' ], - data_files = [('/lib/systemd/system', ['systemd/targetclid.socket', 'systemd/targetclid.service'])], classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/targetcli-fb-2.1.53/targetcli/ui_backstore.py new/targetcli-fb-2.1.54/targetcli/ui_backstore.py --- old/targetcli-fb-2.1.53/targetcli/ui_backstore.py 2020-06-24 10:14:04.000000000 +0200 +++ new/targetcli-fb-2.1.54/targetcli/ui_backstore.py 2021-03-04 13:51:22.000000000 +0100 @@ -423,17 +423,17 @@ raise ExecutionError("Could not open %s" % filename) try: if sparse: + os.ftruncate(f.fileno(), size) + else: + self.shell.log.info("Writing %d bytes" % size) try: + # Prior to version 3.3, Python does not provide fallocate os.posix_fallocate(f.fileno(), 0, size) except AttributeError: - # Prior to version 3.3, Python does not provide fallocate - os.ftruncate(f.fileno(), size) - else: - self.shell.log.info("Writing %d bytes" % size) - while size > 0: - write_size = min(size, 1024) - f.write("\0" * write_size) - size -= write_size + while size > 0: + write_size = min(size, 1024) + f.write("\0" * write_size) + size -= write_size except (OSError, IOError): os.remove(filename) raise ExecutionError("Could not expand file to %d bytes" % size) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/targetcli-fb-2.1.53/targetcli/version.py new/targetcli-fb-2.1.54/targetcli/version.py --- old/targetcli-fb-2.1.53/targetcli/version.py 2020-06-24 10:14:04.000000000 +0200 +++ new/targetcli-fb-2.1.54/targetcli/version.py 2021-03-04 13:51:22.000000000 +0100 @@ -15,4 +15,4 @@ under the License. ''' -__version__ = '2.1.53' +__version__ = '2.1.54'
