Accepting request 1115859 from Base:System

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1115859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sg3_utils?expand=0&rev=63
This commit is contained in:
Ana Guerrero 2023-10-06 19:12:42 +00:00 committed by Git OBS Bridge
commit 63e686779a
7 changed files with 75 additions and 14 deletions

View File

@ -4,11 +4,16 @@
<param name="url">https://github.com/openSUSE/sg3_utils</param>
<param name="filename">sg3_utils</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@.%h</param>
<param name="match-tag">[0-9].[0-9]*.pre.[0-9]*</param>
<param name="versionrewrite-pattern">([0-9.]+)\.pre\.([0-9]+)(\+[1-9])?(\+0)?(\.[a-f0-9]+)</param>
<param name="versionrewrite-replacement">\1~\2\3\5</param>
<!--
<param name="versionformat">@PARENT_TAG@</param>
<param name="match-tag">[0-9].[0-9]*.pre.[0-9]*</param>
<param name="versionrewrite-pattern">([0-9.]+)\.pre\.([0-9]+)(\+[1-9])?(\+0)?(\.[a-f0-9]+)</param>
<param name="versionrewrite-replacement">\1~\2\3\5</param>
-->
<param name="versionrewrite-pattern">release-([0-9].[0-9]+)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="revision">factory</param>
<param name="changesgenerate">enable</param>
<param name="changesgenerate">disable</param>
</service>
<service name="set_version" mode="manual"/>
<service name="tar" mode="buildtime"/>

View File

@ -1,2 +1,3 @@
# Add new rules file to ensure consistency
install_items+=" /usr/lib/udev/rules.d/54-before-scsi-sg3_id.rules "
install_items+=" /usr/lib/udev/rules.d/54-before-scsi-sg3_id.rules /usr/lib/udev/rules.d/00-scsi-sg3_config.rules "
install_optional_items+=" /etc/udev/rules.d/00-scsi-sg3_config.rules "

View File

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

BIN
sg3_utils-1.48~20221101+1.142dace.obscpio (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Thu Sep 28 13:34:30 UTC 2023 - Martin Wilck <mwilck@suse.com>
- udev rules: allow kernel command line overrides with
"udev.scsi_id_serial_src=LTVS" and "udev.scsi_symlink_src=LTVS"
Try these boot parameters if your system fails to detect SCSI
devices after update to sg3_utils 1.48.
-------------------------------------------------------------------
Wed Sep 27 15:56:57 UTC 2023 - Martin Wilck <mwilck@suse.com>
- dracut.conf: add 00-scsi-sg3_config.rules (jsc#PED-6226)
- spec file:
* fix build dependencies for regenerate_initrd_posttrans
(bsc#1215772)
* add missing rules file
-------------------------------------------------------------------
Thu Sep 21 20:17:46 UTC 2023 - Martin Wilck <mwilck@suse.com>
- Update to version 1.48
* udev rules: new, configurable scheme for creating symlinks for SCSI devices
(jsc#PED-6226)
See description of ".SCSI_ID_SERIAL_SRC" /usr/lib/udev/55-scsi-sg3_id.rules
and .SCSI_SYMLINK_SRC in /usr/lib/udev/58-scsi_symlink.rules
* decoding utilities: add -j/--json[=JO] and --js-file=JFN options
* sg_sat_datetime: new tool to access date/time on ATA devices using a SAT layer
* sg_z_act_query: new tool for sending zone activate/query commands
* sg_rem_rest_elem: new tool for removing or restoring elements
* sg_write_attr: support for SPC "Write Attirbute" command (for tapes)
* sg_ses: swap meaning of -H and -HH, add json support, use e.g.
"0:2" for range indicator
* sg_rtpg: fix response truncation
* sg_decode_sense: add --nodecode option
* sg_logs: fix --list and -lll options
* sg_modes: improve handling of ZBC disks
* sg_inq: add version descriptors from SPC6r08, add --quiet option
* sg_vpd: add --sinq_inraw=RFN option
* sg_turs: add --timeout= and --ascq= options
* sg_requests: add --timeout= option
* sg_sat_read_gplog: add --smart and --ppt options
* sgp_dd and sgm_dd: add --progress option
* sg_dd: add support for accessing NVMe devices via passthrough
* Bug fixes and minor fixes
- _service: simplify version processing, as we have a clean upstream version again
-------------------------------------------------------------------
Fri Jan 27 15:45:58 UTC 2023 - Martin Wilck <mwilck@suse.com>
@ -9,7 +55,8 @@ Thu Nov 03 20:15:14 UTC 2022 - mwilck@suse.com
- Update to new upstream version 1.48~20221101.6d3bd26:
(pre-release sg3_utils-1.48 [20221101] [svn: r978])
* sg_read_block_limits: fix granularity value, add --mloi option; sg_lib: add sg_ll_read_block_limits_v2(); sg_logs: json work
* sg_read_block_limits: fix granularity value, add --mloi option
* sg_lib: add sg_ll_read_block_limits_v2(); sg_logs: json work
* sg_stream_ctl: --get fix better; sg_rem_rest_elem: cleanup
* sg_stream_ctl: fix --get indexing; fix some './configure --enable-debug' issues
* sg_inq+sg_vpd: JSON updates

View File

@ -1,4 +1,4 @@
name: sg3_utils
version: 1.48~20221101+1.142dace
mtime: 1674833433
commit: 142dace4f41db6369a73a19d8434c26ff7986b01
version: 1.48+1.889c3e3
mtime: 1695906255
commit: 889c3e31fc50f6f2cca51455ee157caaa20da17f

View File

@ -17,7 +17,7 @@
Name: sg3_utils
Version: 1.48~20221101+1.142dace
Version: 1.48+1.889c3e3
%global lname libsgutils2-%(echo %{version} | sed 's/[~+].*//;y/./_/')-2
Release: 0
Summary: A collection of tools that send SCSI commands to devices
@ -37,6 +37,12 @@ Supplements: modalias(scsi:t-0x00*)
Supplements: modalias(scsi:t-0x07*)
Supplements: modalias(scsi:t-0x0e*)
Obsoletes: scsi <= 1.7_2.38_1.25_0.19_1.02_0.93
# For regenerate_initrd_posttrans
%if 0%{?suse_version} < 1550
BuildRequires: suse-module-tools
%else
BuildRequires: rpm-config-SUSE
%endif
%description
The sg3_utils package contains utilities that send SCSI commands to
@ -94,10 +100,11 @@ make %{?_smp_mflags}
%make_install
install -m 644 doc/rescan-scsi-bus.sh.8 %{buildroot}/%{_mandir}/man8
mkdir -p %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/00-scsi-sg3_config.rules %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/40-usb-blacklist.rules %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/54-before-scsi-sg3_id.rules %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/55-scsi-sg3_id.rules %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/58-scsi-sg3_symlink.rules %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/40-usb-blacklist.rules %{buildroot}/%{_udevrulesdir}
install -m 644 scripts/59-fc-wwpn-id.rules %{buildroot}/%{_udevrulesdir}
install -m 755 scripts/fc_wwpn_id %{buildroot}/%{_udevrulesdir}/..
mkdir -p %{buildroot}/usr/lib/dracut/dracut.conf.d
@ -141,6 +148,7 @@ rm -f %{buildroot}%{_libdir}/*.la
%_mandir/man8/*.8*
%dir /usr/lib/udev
%dir %{_udevrulesdir}
%{_udevrulesdir}/00-scsi-sg3_config.rules
%{_udevrulesdir}/40-usb-blacklist.rules
%{_udevrulesdir}/54-before-scsi-sg3_id.rules
%{_udevrulesdir}/55-scsi-sg3_id.rules