delete -Sgit from %autosetup, and delete BuildRequires git
This commit is contained in:
parent
d689d2d35e
commit
19714c0ded
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user