!9 CUnit delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2021-08-13 02:01:39 +00:00 committed by Gitee
commit 3502df750c

View File

@ -2,13 +2,13 @@
Name: CUnit
Version: 2.1.3
Release: 22
Release: 23
Summary: A Unit Testing Framework for C
License: LGPLv2+
URL: http://cunit.sourceforge.net/
Source0: https://gitlab.com/cunity/cunit/-/archive/2.1-3/cunit-2.1-3.tar.bz2
BuildRequires: automake git libtool
BuildRequires: automake libtool
%description
CUnit is a lightweight system for writing, administering, and running unit tests in C
@ -30,7 +30,7 @@ This package contains the header files and libraries for CUnit development.
%package_help
%prep
%autosetup -n cunit-%{_version} -p1 -Sgit
%autosetup -n cunit-%{_version} -p1
find -name *.c -exec chmod -x {} \;
%build
@ -76,6 +76,9 @@ done
%{_mandir}/man3/CUnit.3*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.1.3-23
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Wed Nov 25 2020 yangzhuangzhuang<yangzhuangzhuang1@huawei.com> - 2.1.3-22
- Type:enhancement
- ID:NA