delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-08-02 10:14:14 +08:00
parent ee5922ea0a
commit 1157373643
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

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