!17 nspr delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2021-08-12 07:30:10 +00:00 committed by Gitee
commit bcf615adf9

View File

@ -1,11 +1,11 @@
%global nspr_version 4.29
Name: nspr
Version: 4.29.0
Release: 1
Release: 2
Summary: Netscape Portable Runtime
License: MPLv2.0
URL: http://www.mozilla.org/projects/nspr
BuildRequires: gcc git
BuildRequires: gcc
Source0: https://ftp.mozilla.org/pub/%{name}/releases/v%{nspr_version}/src/%{name}-%{nspr_version}.tar.gz
Source1: nspr-config.xml
@ -27,7 +27,7 @@ Requires: pkgconfig
Development package for nspr.
%prep
%autosetup -n %{name}-%{nspr_version} -p1 -Sgit
%autosetup -n %{name}-%{nspr_version} -p1
cp ./nspr/config/nspr-config.in ./nspr/config/nspr-config-pc.in
%build
@ -83,6 +83,9 @@ install -c -m 644 nspr-config.1 $RPM_BUILD_ROOT%{_mandir}/man1/nspr-config.1
%{_mandir}/man*/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.29.0-2
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Mon Feb 1 2021 xinghe <xinghe1@huawei.com> - 4.29.0-1
- update to 4.29.0