From 3a802516f4654dcbda46f732f9b3aa3d414e7ffcd4184a537731c5a6e07db2dc Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Mon, 18 Dec 2017 11:19:06 +0000 Subject: [PATCH] Accepting request 558075 from home:hreinecke:branches:Base:System - sg_inq: decode standard INQUIRY for CD-ROMs correctly (bsc#1070431) - rescan-scsi-bus.sh: new option for ignore rev change - rescan-scsi-bus.sh: Remove white space - Add 'coreutils' to Requires (bsc#1072744) - Add 'posttrans' to rpm spec (bsc#1071972) - Update to svn r730: * Move testing utilities to 'testing' directory * sg_opcode: check resid and trim response * sg_rep_zones: expand --help option * sg_mode: Add Out-of-band management control page * sg_ses: filer join output on dpage element presence * documentation cleanup - rescan-scsi-bus.sh: Add '--ignore-rev' option - Supplement SCSI modaliases (bsc#1065212) OBS-URL: https://build.opensuse.org/request/show/558075 OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=68 --- sg3_utils-1.43.tar.xz | 4 ++-- sg3_utils.changes | 22 ++++++++++++++++++++++ sg3_utils.spec | 19 +++++++++++++++++-- 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/sg3_utils-1.43.tar.xz b/sg3_utils-1.43.tar.xz index 23fadec..0ed5fd9 100644 --- a/sg3_utils-1.43.tar.xz +++ b/sg3_utils-1.43.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fbe61b4faa4cdc0bf28d65a9bde8165beeaf9a57cb404f345e7f88abd00ca727 -size 807996 +oid sha256:a18def5b38ec5da8720f15dd3bdd390bff99db72ff6628ee4fbe3d835001c01b +size 811752 diff --git a/sg3_utils.changes b/sg3_utils.changes index 6b7bb88..66f2384 100644 --- a/sg3_utils.changes +++ b/sg3_utils.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Mon Dec 18 11:31:02 CET 2017 - hare@suse.de + +- sg_inq: decode standard INQUIRY for CD-ROMs correctly (bsc#1070431) +- rescan-scsi-bus.sh: new option for ignore rev change +- rescan-scsi-bus.sh: Remove white space +- Add 'coreutils' to Requires (bsc#1072744) +- Add 'posttrans' to rpm spec (bsc#1071972) + +------------------------------------------------------------------- +Wed Nov 29 12:18:16 CET 2017 - hare@suse.de + +- Update to svn r730: + * Move testing utilities to 'testing' directory + * sg_opcode: check resid and trim response + * sg_rep_zones: expand --help option + * sg_mode: Add Out-of-band management control page + * sg_ses: filer join output on dpage element presence + * documentation cleanup +- rescan-scsi-bus.sh: Add '--ignore-rev' option +- Supplement SCSI modaliases (bsc#1065212) + ------------------------------------------------------------------- Fri Oct 13 13:25:58 CEST 2017 - hare@suse.de diff --git a/sg3_utils.spec b/sg3_utils.spec index 8ffb3fe..9b12f77 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -31,8 +31,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libtool BuildRequires: udev BuildRequires: xz +Requires(post): coreutils Provides: scsi Provides: sg_utils +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 %description @@ -97,9 +101,20 @@ install -m 644 scripts/58-scsi-sg3_symlink.rules $RPM_BUILD_ROOT%{_udevrulesdir} install -m 644 scripts/40-usb-blacklist.rules $RPM_BUILD_ROOT%{_udevrulesdir} rm -f %{buildroot}%{_libdir}/*.la -%post -p /sbin/ldconfig -n %lname +%post +%{?regenerate_initrd_post} -%postun -p /sbin/ldconfig -n %lname +%post -n %lname +%{run_ldconfig} + +%postun +%{?regenerate_initrd_post} + +%postun -n %lname +%{run_ldconfig} + +%posttrans +%{?regenerate_initrd_posttrans} %files %defattr(-,root,root)