!2 cppunit delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-20 10:04:02 +00:00 committed by Gitee
commit ebed7b637c

View File

@ -2,13 +2,13 @@
Name: cppunit Name: cppunit
Version: 1.14.0 Version: 1.14.0
Release: 7 Release: 8
Summary: C++ port of JUnit testing framework Summary: C++ port of JUnit testing framework
License: LGPLv2+ License: LGPLv2+
Url: https://www.freedesktop.org/wiki/Software/cppunit/ Url: https://www.freedesktop.org/wiki/Software/cppunit/
Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.gz Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.gz
BuildRequires: git doxygen gcc-c++ graphviz BuildRequires: doxygen gcc-c++ graphviz
%description %description
CppUnit is the C++ port of the famous JUnit framework for unit testing.\ CppUnit is the C++ port of the famous JUnit framework for unit testing.\
@ -30,7 +30,7 @@ Obsoletes: %{name}-doc
The %{name}-help package conatins man manual etc The %{name}-help package conatins man manual etc
%prep %prep
%autosetup -n %{name}-%{version} -p1 -Sgit %autosetup -n %{name}-%{version} -p1
%build %build
%configure --enable-doxygen --disable-static --disable-silent-rules %configure --enable-doxygen --disable-static --disable-silent-rules
@ -79,5 +79,8 @@ mv __dist-examples __dist-examples-dir/examples
%doc doc/html %doc doc/html
%changelog %changelog
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.14.0-8
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Tue Dec 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.14.0-7 * Tue Dec 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.14.0-7
- Package init - Package init