mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 02:34:52 +00:00
Fix Source0/1: %{version} had rc_ver twice
``` Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz.sig ``` This produces a non existing URLs: https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0~rc1-rc1/llvm-12.0.0rc1.src.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0~rc1-rc1/llvm-12.0.0rc1.src.tar.xz.sig The correct URLs would be https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0-rc1/llvm-12.0.0rc1.src.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0-rc1/llvm-12.0.0rc1.src.tar.xz.sig
This commit is contained in:
parent
cfead97f85
commit
9ed32d2695
1 changed files with 6 additions and 3 deletions
|
@ -48,13 +48,13 @@
|
|||
|
||||
Name: %{pkg_name}
|
||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: The Low Level Virtual Machine
|
||||
|
||||
License: NCSA
|
||||
URL: http://llvm.org
|
||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz
|
||||
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz.sig
|
||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz
|
||||
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz.sig
|
||||
Source2: tstellar-gpg-key.asc
|
||||
|
||||
%if %{without compat_build}
|
||||
|
@ -498,6 +498,9 @@ fi
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Sep 29 2021 Konrad Kleine <kkleine@redhat.com> - 12.0.1-2
|
||||
- Fix Source0 and Source1 because %{version} contained the rc_ver twice
|
||||
|
||||
* Mon Jul 26 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-1
|
||||
- 12.0.1 Release
|
||||
|
||||
|
|
Loading…
Reference in a new issue