!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:
commit
bcf615adf9
@ -1,11 +1,11 @@
|
|||||||
%global nspr_version 4.29
|
%global nspr_version 4.29
|
||||||
Name: nspr
|
Name: nspr
|
||||||
Version: 4.29.0
|
Version: 4.29.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Netscape Portable Runtime
|
Summary: Netscape Portable Runtime
|
||||||
License: MPLv2.0
|
License: MPLv2.0
|
||||||
URL: http://www.mozilla.org/projects/nspr
|
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
|
Source0: https://ftp.mozilla.org/pub/%{name}/releases/v%{nspr_version}/src/%{name}-%{nspr_version}.tar.gz
|
||||||
Source1: nspr-config.xml
|
Source1: nspr-config.xml
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ Requires: pkgconfig
|
|||||||
Development package for nspr.
|
Development package for nspr.
|
||||||
|
|
||||||
%prep
|
%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
|
cp ./nspr/config/nspr-config.in ./nspr/config/nspr-config-pc.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -83,6 +83,9 @@ install -c -m 644 nspr-config.1 $RPM_BUILD_ROOT%{_mandir}/man1/nspr-config.1
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Feb 1 2021 xinghe <xinghe1@huawei.com> - 4.29.0-1
|
||||||
- update to 4.29.0
|
- update to 4.29.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user