update Source0 and change tar package name

This commit is contained in:
桐小哥 2020-09-04 14:11:24 +08:00 committed by sxt1001
parent c173e0c8e9
commit 617bfd58e6
2 changed files with 5 additions and 2 deletions

View File

@ -1,12 +1,12 @@
%global nspr_version 4.26
Name: nspr
Version: 4.26.0
Release: 2
Release: 3
Summary: Netscape Portable Runtime
License: MPLv2.0
URL: http://www.mozilla.org/projects/nspr
BuildRequires: gcc git
Source0: https://ftp.mozilla.org/pub/%{name}/releases/v%{version}/src/%{name}-%{version}.tar.gz
Source0: https://ftp.mozilla.org/pub/%{name}/releases/v%{nspr_version}/src/%{name}-%{nspr_version}.tar.gz
Source1: nspr-config.xml
Patch1: nspr-gcc-atomics.patch
@ -83,6 +83,9 @@ install -c -m 644 nspr-config.1 $RPM_BUILD_ROOT%{_mandir}/man1/nspr-config.1
%{_mandir}/man*/*
%changelog
* Fri Sep 4 2020 shixuantong <shixuantong@huawei.com> - 4.26.0-3
- update Source0 and change tar package name
* Thu Jul 30 2020 jinzhimin<jinzhimin2@huawei.com> - 4.26.0-2
- fix build failed