delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-08-02 10:32:49 +08:00
parent 91bd3018ea
commit a7fa828301
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,6 +1,6 @@
Name: neon
Version: 0.30.2
Release: 10
Release: 11
Summary: An HTTP and WebDAV client library
License: LGPLv2+
URL: http://www.webdav.org/neon/
@ -11,7 +11,7 @@ Patch0: neon-0.27.0-multilib.patch
Patch1: neon-0.30.2-sysuioh.patch
Patch2: neon-0.30.2-lockprintf.patch
BuildRequires: gcc git openssl-devel expat-devel gdb-headless
BuildRequires: gcc openssl-devel expat-devel gdb-headless
Requires: ca-certificates
%description
@ -46,7 +46,7 @@ Summary: Help manual for %{name}
The %{name}-help package conatins man manual etc
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
sed -ibak '/^install-docs/s/install-html//' Makefile.in
%build
@ -83,6 +83,9 @@ sed -ri "/^dependency_libs/{s,-l[^ ']*,,g}" \
%{_mandir}/man3/*
%changelog
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.30.2-11
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Web 02 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 0.30.2-10
- fixs faileds: /bin/sh: gcc: command not found.