update Source0 and change tar package name

(cherry picked from commit f6cdd5f6eb4f5cb3949d3d53faa90a0df3ccf61a)
This commit is contained in:
桐小哥 2020-09-04 14:13:11 +08:00 committed by openeuler-sync-bot
parent f3b614b3d0
commit 84538c2080
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: 1
Release: 2
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-2
- update Source0 and change tar package name
* Wed Aug 12 2020 xinghe <xinghe1@huawei.com> - 4.26.0-1
- upgrade to 4.26.0