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 cc6bc399353273892de88f7ee8c41ca51f8c4813..ff5135c39cb681b746b07006c72b07347c4278d3 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