Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package target-isns for openSUSE:Factory checked in at 2024-02-16 21:41:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/target-isns (Old) and /work/SRC/openSUSE:Factory/.target-isns.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "target-isns" Fri Feb 16 21:41:51 2024 rev:12 rq:1146949 version:v0.6.8+2.f9922c2be69e Changes: -------- --- /work/SRC/openSUSE:Factory/target-isns/target-isns.changes 2020-06-03 20:36:46.625972759 +0200 +++ /work/SRC/openSUSE:Factory/.target-isns.new.1815/target-isns.changes 2024-02-16 21:41:55.160755733 +0100 @@ -1,0 +2,26 @@ +Wed Feb 07 18:50:18 UTC 2024 - [email protected] + +- Changed _service file to name retrieved tarball + differently (more accurately), and changed it to + point at latest upstream code, which has one new + commit. That commit removes the need for patch: + * target-isns-Replace-zero-length-arrays-with-empty-arrays.patch + + This changes the name of the tarball retrieved from + upstream, as well. + +- Also, a new patch is added to update the project + to use newer versions of CMake, adding + * target-isns-handle-newer-cmake.patch + +- Lastly, the '%patchN -p1' macro in the SPEC file was + changed to '%patch -p1 1', to make OBS happy. + + There should be no functional changes. + +------------------------------------------------------------------- +Wed Feb 7 02:33:29 UTC 2024 - Lee Duncan <[email protected]> + +- Updated SPEC file to use '%patch' vs '%patchN' + +------------------------------------------------------------------- Old: ---- target-isns-0.6.8.tar.xz target-isns-Replace-zero-length-arrays-with-empty-arrays.patch New: ---- target-isns-handle-newer-cmake.patch target-isns-v0.6.8+2.f9922c2be69e.tar.xz BETA DEBUG BEGIN: Old: commit. That commit removes the need for patch: * target-isns-Replace-zero-length-arrays-with-empty-arrays.patch BETA DEBUG END: BETA DEBUG BEGIN: New: to use newer versions of CMake, adding * target-isns-handle-newer-cmake.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ target-isns.spec ++++++ --- /var/tmp/diff_new_pack.LnSunR/_old 2024-02-16 21:41:55.976785176 +0100 +++ /var/tmp/diff_new_pack.LnSunR/_new 2024-02-16 21:41:55.980785320 +0100 @@ -1,7 +1,7 @@ # # spec file for package target-isns # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,10 +20,10 @@ Summary: Supplies iSNS support for Linux kernel target License: GPL-2.0-or-later Group: System/Kernel -Version: 0.6.8 +Version: v0.6.8+2.f9922c2be69e Release: 0 Source: %{name}-%{version}.tar.xz -Patch1: %{name}-Replace-zero-length-arrays-with-empty-arrays.patch +Patch1: %{name}-handle-newer-cmake.patch URL: https://github.com/open-iscsi/target-isns BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake @@ -46,10 +46,11 @@ %prep %setup -n %{name}-%{version} -%patch1 -p1 +%patch -p1 -P 1 %build -%cmake -DSUPPORT_SYSTEMD=ON +%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects +%cmake -DSUPPORT_SYSTEMD=ON -Wno-dev make %install @@ -77,7 +78,8 @@ %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/target-isns.conf %{_bindir}/target-isns %{_sbindir}/rctarget-isns -%doc COPYING README.md THANKS +%license COPYING +%doc README.md THANKS %doc %{_mandir}/man8/target-isns.8%{?ext_man} %{_unitdir}/target-isns.service ++++++ _service ++++++ --- /var/tmp/diff_new_pack.LnSunR/_old 2024-02-16 21:41:56.004786185 +0100 +++ /var/tmp/diff_new_pack.LnSunR/_new 2024-02-16 21:41:56.008786330 +0100 @@ -4,12 +4,14 @@ <param name="url">https://github.com/open-iscsi/target-isns.git</param> <param name="subdir"></param> <param name="filename">target-isns</param> - <param name="versionformat">0.6.8</param> - <param name="revision">v0.6.8</param> + <param name="version">f9922c2be69e</param> + <param name="versionformat">v0.6.8+@TAG_OFFSET@.%h</param> + <param name="revision">master</param> <param name="changesgenerate">enable</param> + <param name="exclude">.git</param> </service> <service name="recompress" mode="disabled"> - <param name="file">*target-isns*.tar</param> + <param name="file">target-isns*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.LnSunR/_old 2024-02-16 21:41:56.024786907 +0100 +++ /var/tmp/diff_new_pack.LnSunR/_new 2024-02-16 21:41:56.028787051 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/open-iscsi/target-isns.git</param> - <param name="changesrevision">52e4fd427b1aff902ef4e7bce9a9c2f6b358a5eb</param></service></servicedata> + <param name="changesrevision">3d0c47dd89bcf83d828bcc22ecaaa5f58d78b58e</param></service></servicedata> (No newline at EOF) ++++++ target-isns-handle-newer-cmake.patch ++++++ From: Lee Duncan <[email protected]> Date: Wed 07 Feb 2024 11:41:29 AM PST Subject: [PATCH] target-isns: handle newer cmake Patch-mainline: Submitted 2/7/2024 diff --git a/CMakeLists.txt b/CMakeLists.txt index f46144d23eaa..aa7b986603a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,10 +5,11 @@ # SPDX-License-Identifier: GPL-2.0+ # +cmake_minimum_required(VERSION 3.5) + project(target-isns "C") set(TARGET_ISNS_VERSION "0.6.8") -cmake_minimum_required(VERSION 3.1) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror") option(SUPPORT_SYSTEMD "Support service control via systemd" OFF)
