Ana Guerrero 2023-12-26 17:27:02 +00:00 committed by Git OBS Bridge
commit ffa5a5e664
7 changed files with 49 additions and 11 deletions

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/openSUSE/open-iscsi.git</param>
<param name="scm">git</param>
<param name="filename">open-iscsi</param>
<param name="version">d557967bc9ae</param>
<param name="versionformat">2.1.9.suse+@TAG_OFFSET@.%h</param>
<param name="match-tag">2.1.[0-9]</param>
<param name="revision">openSUSE-Factory</param>
<param name="changesgenerate">enable</param>
<param name="exclude">.git</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">open-iscsi*.tar</param>
<param name="compression">xz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/open-iscsi.git</param>
<param name="changesrevision">d557967bc9aeaa9aa4f62b443c0aec48a8e8e046</param></service></servicedata>

BIN
open-iscsi-2.1.9-suse.tar.bz2 (Stored with Git LFS)

Binary file not shown.

View File

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

BIN
open-iscsi-SUSE-latest.diff.bz2 (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Wed Dec 20 18:39:01 UTC 2023 - Lee Duncan <lduncan@suse.com>
- Updated to latest upstream: two small changes, with no known
functional changes:
* Incorrect documentation for `iscsiadm -m session` print level
(upstream issue #432)
* Stop using deprecated inet_aton and inet_ntoa (upstream issue
#435)
- Also, stopped using pre-prepared tarballs for the build, instead
now using a service file to get latest SUSE srouces directly.
This removed these two files:
* open-iscsi-2.1.9-suse.tar.bz2, and
* open-iscsi-SUSE-latest.diff.bz2
whcih were both created by a shell script, and added a service-
file-generated file of the form:
* open-iscsi-2.1.9.suse+TAG_OFFSET.tar.xz
where TAG_OFFSET is of the form "COMMIT_COUNT.HASH", where
COMMIT_COUNT is the count of commits since 2.1.9-suse (in this
case), and HASH is the git commit hash being used.
-------------------------------------------------------------------
Wed Oct 25 18:48:01 UTC 2023 - Lee Duncan <lduncan@suse.com>

View File

@ -47,7 +47,8 @@
%define iscsi_minor_release 1
%define iscsi_patch_release 9
%define iscsi_patch_release_suse %{iscsi_patch_release}-suse
%define iscsi_patch_release_suse %{iscsi_patch_release}.suse
%define iscsi_service_tag 844.d557967bc9ae
%define libname libopeniscsiusr0
%define libversion 0.2.0
Name: open-iscsi
@ -57,8 +58,7 @@ Summary: Linux iSCSI Software Initiator
License: GPL-2.0-or-later
Group: Productivity/Networking/Other
URL: https://www.open-iscsi.com
Source: %{name}-2.%{iscsi_minor_release}.%{iscsi_patch_release_suse}.tar.bz2
Patch1: %{name}-SUSE-latest.diff.bz2
Source: %{name}-2.%{iscsi_minor_release}.%{iscsi_patch_release_suse}+%{iscsi_service_tag}.tar.xz
BuildRequires: bison
BuildRequires: db-devel < 5
BuildRequires: fdupes
@ -142,8 +142,7 @@ include files and documentation. These are used to compile against
the libopeniscsiusr library.
%prep
%setup -q -n %{name}-2.%{iscsi_minor_release}.%{iscsi_patch_release_suse}
%patch1 -p1
%setup -q -n %{name}-2.%{iscsi_minor_release}.%{iscsi_patch_release_suse}+%{iscsi_service_tag}
%build
[ -z "$SOURCE_DATE_EPOCH" ] || export KBUILD_BUILD_TIMESTAMP=@$SOURCE_DATE_EPOCH