From f6cf2ee6668811c14ef66e11dc0ed1715b2a4d5f Mon Sep 17 00:00:00 2001 From: eulerstorage Date: Wed, 22 Jan 2020 10:10:14 +0800 Subject: [PATCH 1/2] Delete the -S git while executing %autosetup --- sdparm.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sdparm.spec b/sdparm.spec index 4af3db8..fccf30b 100644 --- a/sdparm.spec +++ b/sdparm.spec @@ -1,6 +1,6 @@ Name: sdparm Version: 1.10 -Release: 8 +Release: 9 Summary: Access and change parameters on device that supports SCSI protocol. License: BSD URL: http://sg.danny.cz/sg/sdparm.html @@ -25,7 +25,7 @@ This contains man files for the using of sdparm. %prep -%autosetup -n %{name}-%{version} -p1 -S git +%autosetup -n %{name}-%{version} -p1 %build %configure --disable-libsgutils @@ -48,5 +48,8 @@ This contains man files for the using of sdparm. %changelog +* Wed Jan 22 2020 hy - 1.10-9 +- Delete the -S git while executing %autosetup in %pre + * Wed Aug 28 2018 zhangsaisai - 1.10-8 - Package init -- Gitee From e25d42837bda47c5fc64d46edd2bb8ba276e6595 Mon Sep 17 00:00:00 2001 From: eulerstorage Date: Wed, 22 Jan 2020 11:01:16 +0800 Subject: [PATCH 2/2] Delete the -S git while executing %autosetup and add the BuildRequires to gdb --- sdparm.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdparm.spec b/sdparm.spec index fccf30b..d7f51c9 100644 --- a/sdparm.spec +++ b/sdparm.spec @@ -5,7 +5,7 @@ Summary: Access and change parameters on device that supports SCSI protoco License: BSD URL: http://sg.danny.cz/sg/sdparm.html Source0: http://sg.danny.cz/sg/p/sdparm-%{version}.tgz -BuildRequires: gcc +BuildRequires: gcc gdb BuildRequires: sg3_utils-devel %description @@ -49,7 +49,7 @@ This contains man files for the using of sdparm. %changelog * Wed Jan 22 2020 hy - 1.10-9 -- Delete the -S git while executing %autosetup in %pre +- Delete the -S git while executing %autosetup in %pre and add the BuildRequires to gdb * Wed Aug 28 2018 zhangsaisai - 1.10-8 - Package init -- Gitee