From 2d9f97b771924352cb956c32ffe484b338d9aebd Mon Sep 17 00:00:00 2001 From: Zhiqiang Liu Date: Tue, 30 Jun 2020 09:48:39 +0800 Subject: [PATCH] sg3_utils: renumber patches --- ....37-rescan-scsi-findremapped-enhance.patch | 0 ...0003-sg3_utils-1.37-rescan-downpress.patch | 0 ...04-bugfix-sg3_utils-fix-syntax-error.patch | 0 ...x-potential-unbounded-loop-in-export.patch | 0 ...n-scsi-bus-dolunscan-break-to-return.patch | 0 ...ete-lun-rescan-scsi-bus-report-error.patch | 0 sg3_utils.spec | 22 ++++++++++--------- 7 files changed, 12 insertions(+), 10 deletions(-) rename 9000-sg3_utils-1.37-rescan-scsi-findremapped-enhance.patch => 0002-sg3_utils-1.37-rescan-scsi-findremapped-enhance.patch (100%) rename 9001-sg3_utils-1.37-rescan-downpress.patch => 0003-sg3_utils-1.37-rescan-downpress.patch (100%) rename 9002-bugfix-sg3_utils-fix-syntax-error.patch => 0004-bugfix-sg3_utils-fix-syntax-error.patch (100%) rename 9003-sg_inq-fix-potential-unbounded-loop-in-export.patch => 0005-sg_inq-fix-potential-unbounded-loop-in-export.patch (100%) rename 0002-rescan-scsi-bus-dolunscan-break-to-return.patch => 0006-rescan-scsi-bus-dolunscan-break-to-return.patch (100%) rename 9004-sg3_utils-1.42-delete-lun-rescan-scsi-bus-report-error.patch => 0007-sg3_utils-1.42-delete-lun-rescan-scsi-bus-report-error.patch (100%) diff --git a/9000-sg3_utils-1.37-rescan-scsi-findremapped-enhance.patch b/0002-sg3_utils-1.37-rescan-scsi-findremapped-enhance.patch similarity index 100% rename from 9000-sg3_utils-1.37-rescan-scsi-findremapped-enhance.patch rename to 0002-sg3_utils-1.37-rescan-scsi-findremapped-enhance.patch diff --git a/9001-sg3_utils-1.37-rescan-downpress.patch b/0003-sg3_utils-1.37-rescan-downpress.patch similarity index 100% rename from 9001-sg3_utils-1.37-rescan-downpress.patch rename to 0003-sg3_utils-1.37-rescan-downpress.patch diff --git a/9002-bugfix-sg3_utils-fix-syntax-error.patch b/0004-bugfix-sg3_utils-fix-syntax-error.patch similarity index 100% rename from 9002-bugfix-sg3_utils-fix-syntax-error.patch rename to 0004-bugfix-sg3_utils-fix-syntax-error.patch diff --git a/9003-sg_inq-fix-potential-unbounded-loop-in-export.patch b/0005-sg_inq-fix-potential-unbounded-loop-in-export.patch similarity index 100% rename from 9003-sg_inq-fix-potential-unbounded-loop-in-export.patch rename to 0005-sg_inq-fix-potential-unbounded-loop-in-export.patch diff --git a/0002-rescan-scsi-bus-dolunscan-break-to-return.patch b/0006-rescan-scsi-bus-dolunscan-break-to-return.patch similarity index 100% rename from 0002-rescan-scsi-bus-dolunscan-break-to-return.patch rename to 0006-rescan-scsi-bus-dolunscan-break-to-return.patch diff --git a/9004-sg3_utils-1.42-delete-lun-rescan-scsi-bus-report-error.patch b/0007-sg3_utils-1.42-delete-lun-rescan-scsi-bus-report-error.patch similarity index 100% rename from 9004-sg3_utils-1.42-delete-lun-rescan-scsi-bus-report-error.patch rename to 0007-sg3_utils-1.42-delete-lun-rescan-scsi-bus-report-error.patch diff --git a/sg3_utils.spec b/sg3_utils.spec index cc6bc39..ff5135c 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -1,20 +1,19 @@ Name: sg3_utils Version: 1.42 -Release: 11 +Release: 12 Summary: Utilities that send SCSI commands to devices. License: GPL-2.0-or-later AND BSD URL: http://sg.danny.cz/sg/sg3_utils.html Source0: http://sg.danny.cz/sg/p/sg3_utils-%{version}.tar.xz -Patch0000: 0000-sg3_utils-1.37-dont-open-dev-snapshot.patch -Patch0001: 0001-sg3_utils-1.42-sysmacros.patch - -Patch9000: 9000-sg3_utils-1.37-rescan-scsi-findremapped-enhance.patch -Patch9001: 9001-sg3_utils-1.37-rescan-downpress.patch -Patch9002: 9002-bugfix-sg3_utils-fix-syntax-error.patch -Patch9003: 9003-sg_inq-fix-potential-unbounded-loop-in-export.patch -Patch0002: 0002-rescan-scsi-bus-dolunscan-break-to-return.patch -Patch9004: 9004-sg3_utils-1.42-delete-lun-rescan-scsi-bus-report-error.patch +Patch0: 0000-sg3_utils-1.37-dont-open-dev-snapshot.patch +Patch1: 0001-sg3_utils-1.42-sysmacros.patch +Patch2: 0002-sg3_utils-1.37-rescan-scsi-findremapped-enhance.patch +Patch3: 0003-sg3_utils-1.37-rescan-downpress.patch +Patch4: 0004-bugfix-sg3_utils-fix-syntax-error.patch +Patch5: 0005-sg_inq-fix-potential-unbounded-loop-in-export.patch +Patch6: 0006-rescan-scsi-bus-dolunscan-break-to-return.patch +Patch7: 0007-sg3_utils-1.42-delete-lun-rescan-scsi-bus-report-error.patch Provides: %{name}-libs = %{version}-%{release} Obsoletes: %{name}-libs < %{version}-%{release} @@ -75,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la %{_mandir}/man8/* %changelog +* Tue Jun 30 2020 Zhiqiang Liu - 1.42-12 +- renumber patches. + * Thu Apr 09 2020 Jiangping Hu - 1.42-11 - Fix requires of devel package -- Gitee