!7 解除git依赖,避免冗余依赖缺失导致的error

From: @wu-leilei
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-07-05 03:04:00 +00:00 committed by Gitee
commit 244dcaba73

View File

@ -6,7 +6,7 @@
Summary: The SCSI target daemon and utility programs
Name: scsi-target-utils
Version: 1.0.79
Release: 1
Release: 2
License: GPLv2
URL: http://stgt.sourceforge.net/
Source0: https://github.com/fujita/tgt/archive/v%{version}/tgt-v%{version}.tar.gz
@ -54,7 +54,7 @@ Adds support for the Gluster glfs backstore to scsi-target-utils.
%package_help
%prep
%autosetup -n %{oname}-%{version} -Sgit -p1
%autosetup -n %{oname}-%{version} -p1
%build
%{__sed} -i -e 's|-g -O2 -fno-strict-aliasing|%{optflags} -fcommon|' -e 's| -Werror | |' usr/Makefile
@ -117,5 +117,8 @@ pushd usr
%{_mandir}/man8/*
%changelog
* Mon Jul 05 2021 wulei <wulei80@huawei.com> - 1.0.79-2
- Remove redundant dependencies, Git is only for patching, user patcher instead.
* Fri Dec 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.79-1
- Package init