Accepting request 1198020 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1198020
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tgt?expand=0&rev=44
This commit is contained in:
Dominique Leuenberger 2024-09-02 11:13:39 +00:00 committed by Git OBS Bridge
commit c45651bfc7
8 changed files with 29 additions and 18 deletions

View File

@ -1,7 +1,7 @@
Index: tgt-1.0.74/scripts/tgtd.service
Index: tgt-1.0.92/scripts/tgtd.service
===================================================================
--- tgt-1.0.74.orig/scripts/tgtd.service
+++ tgt-1.0.74/scripts/tgtd.service
--- tgt-1.0.92.orig/scripts/tgtd.service
+++ tgt-1.0.92/scripts/tgtd.service
@@ -9,6 +9,15 @@ After=network.target
ConditionPathExists=/etc/tgt/targets.conf

View File

@ -12,12 +12,12 @@ Signed-off-by: Hannes Reinecke <hare@suse.de>
usr/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/usr/Makefile b/usr/Makefile
index e29826c..31067e8 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -40,6 +40,9 @@ INCLUDES += -I.
Index: tgt-1.0.92/usr/Makefile
===================================================================
--- tgt-1.0.92.orig/usr/Makefile
+++ tgt-1.0.92/usr/Makefile
@@ -41,6 +41,9 @@ INCLUDES += -I.
CFLAGS += -D_FILE_OFFSET_BITS=64
CFLAGS += -D_GNU_SOURCE
CFLAGS += $(INCLUDES)
+ifneq ($(OPTFAGS),)

View File

@ -12,8 +12,10 @@ Acked-by: Hannes Reinecke <hare@suse.de>
conf/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--- a/conf/Makefile
+++ b/conf/Makefile
Index: tgt-1.0.92/conf/Makefile
===================================================================
--- tgt-1.0.92.orig/conf/Makefile
+++ tgt-1.0.92/conf/Makefile
@@ -1,4 +1,5 @@
sysconfdir ?= /etc
+docdatadir ?= /usr/share/doc/packages/

View File

@ -5,10 +5,10 @@ Subject: [PATCH] tgt: systemd service update
Update our systemd service file to match what we do at SUSE.
---
Index: tgt-1.0.85/scripts/tgtd.service
Index: tgt-1.0.92/scripts/tgtd.service
===================================================================
--- tgt-1.0.85.orig/scripts/tgtd.service
+++ tgt-1.0.85/scripts/tgtd.service
--- tgt-1.0.92.orig/scripts/tgtd.service
+++ tgt-1.0.92/scripts/tgtd.service
@@ -20,8 +20,9 @@ RestrictRealtime=true
# end of automatic additions
Type=forking

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Aug 28 14:30:59 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
- Update to version v1.0.92 (from 1.0.89):
* fix arm64 compilation
* do not rely on non-portable __WORDSIZE nor LFS64 interfaces
* Enabled thin-provision option for discarding ranges from block
devices, that supporting discard
-------------------------------------------------------------------
Mon Feb 26 14:37:40 UTC 2024 - pgajdos@suse.com

View File

@ -25,7 +25,7 @@
%define make_build %{__make} %{?_smp_mflags}
%endif
Name: tgt
Version: 1.0.89
Version: 1.0.92
Release: 0
Summary: Generic Linux target framework (tgt)
License: GPL-2.0-only

View File

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

3
v1.0.92.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06721dcdb88bcc13721bf5de92b57e84a208e04084f8ed937c3ecade6459662f
size 305797