delete -S git from %autosetup, and delete BuildRequires git

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

View File

@ -1,13 +1,13 @@
Name: source-highlight Name: source-highlight
Version: 3.1.9 Version: 3.1.9
Release: 1 Release: 2
Summary: Source Code Highlighter with Support for Many Languages Summary: Source Code Highlighter with Support for Many Languages
License: GPLv3+ License: GPLv3+
URL: http://www.gnu.org/software/src-highlite URL: http://www.gnu.org/software/src-highlite
Source0: https://ftp.gnu.org/gnu/src-highlite/source-highlight-%{version}.tar.gz Source0: https://ftp.gnu.org/gnu/src-highlite/source-highlight-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/src-highlite/source-highlight-%{version}.tar.gz.sig Source1: https://ftp.gnu.org/gnu/src-highlite/source-highlight-%{version}.tar.gz.sig
BuildRequires: bison boost-devel chrpath ctags flex gcc gcc-c++ help2man bash-completion git BuildRequires: bison boost-devel chrpath ctags flex gcc gcc-c++ help2man bash-completion
Requires: ctags Requires: ctags
%description %description
@ -32,7 +32,7 @@ Header files for source-highlight
%package_help %package_help
%prep %prep
%autosetup -n %{name}-%{version} -p1 -S git %autosetup -n %{name}-%{version} -p1
%build %build
%configure --with-boost-regex=boost_regex %configure --with-boost-regex=boost_regex
@ -83,6 +83,9 @@ popd
%exclude %{_datadir}/info/dir %exclude %{_datadir}/info/dir
%changelog %changelog
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.1.9-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Jan 28 2021 jinzhimin <jinzhimin2@huawei.com> - 3.1.9-1 * Thu Jan 28 2021 jinzhimin <jinzhimin2@huawei.com> - 3.1.9-1
- upgrate to 3.1.9 - upgrate to 3.1.9