Accepting request 1134519 from home:lee_duncan:branches:network
- 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. OBS-URL: https://build.opensuse.org/request/show/1134519 OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=235
This commit is contained in:
parent
7e7988302b
commit
2ad8e066b3
17
_service
Normal file
17
_service
Normal 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
4
_servicedata
Normal 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)
BIN
open-iscsi-2.1.9-suse.tar.bz2
(Stored with Git LFS)
Binary file not shown.
3
open-iscsi-2.1.9.suse+844.d557967bc9ae.tar.xz
Normal file
3
open-iscsi-2.1.9.suse+844.d557967bc9ae.tar.xz
Normal 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)
BIN
open-iscsi-SUSE-latest.diff.bz2
(Stored with Git LFS)
Binary file not shown.
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user