From 65765c07481157aba1d2f1e5037b5959569177f5704d54dee0ecdf2e3b693e66 Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Sun, 11 Jul 2021 10:56:05 +0000 Subject: [PATCH] Accepting request 905655 from home:aaronpuchert:branches:devel:tools:compiler - Update to version 12.0.1. * This release contains bug-fixes for the LLVM 12.0.0 release. This release is API and ABI compatible with 12.0.0. - Update README.packaging. OBS-URL: https://build.opensuse.org/request/show/905655 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=545 --- README.packaging | 68 +++++++++++++++++++++++------------------------- llvm.changes | 8 ++++++ llvm.spec | 2 +- 3 files changed, 41 insertions(+), 37 deletions(-) diff --git a/README.packaging b/README.packaging index cad5e6d..c46d020 100644 --- a/README.packaging +++ b/README.packaging @@ -12,7 +12,7 @@ patch-level updates to older LLVM versions, and major/minor version updates. LLVM version numbers come in three levels. For version -X.Y.Z, changes to the X level are major updates, changes to +X.0.Z, changes to the X level are major updates, changes to the Y level are minor updates, and changes to the Z level are patch-level updates. Since LLVM 4, the minor version is always expected to be 0. [1] Library .so numbers are @@ -40,20 +40,19 @@ llvmX package need to be updated. 1. llvmX package: 1. Add the new sources to the package and delete the old - ones. This will not include cfe-docs-X.Y.Z.src.tar.xz - or llvm-docs-X.Y.Z.src.tar.xz (see next item). - 2. Build cfe-docs-X.Y.Z.src.tar.xz and - llvm-docs-X.Y.Z.src.tar.xz. The instructions are in - the %install section of llvmX.spec. The version - numbers in the instructions will need to be updated - first. Add those sources as well and delete the old - ones. - 3. Update the "Version" tag in llvmX.spec to match the + ones. This will not include clang-docs-X.0.Z.src.tar.xz + or llvm-docs-X.0.Z.src.tar.xz (see next item). + 2. Build clang-docs-X.0.Z.src.tar.xz and + llvm-docs-X.0.Z.src.tar.xz. The instructions are in + the %install section of llvmX.spec. The instructions + need RPM substitutions, for example via rpmspec -P. + Add those sources as well and delete the old ones. + 3. Update the "_relver" tag in llvmX.spec to match the new sources. 4. Update the version number in the patches to match the new sources. - 5. Update the "_relver" tag in llvmX.spec to match - the "Version" tag. + 5. Update the "_uaver" tag in llvmX.spec to match + the "_relver" tag. 6. Confirm everything builds successfully and there are no new rpmlint issues. 7. Update the llvmX.changes file. @@ -72,19 +71,18 @@ needs to be updated. 1. llvmX package: 1. Add the new sources to the package and delete the old - ones. This will not include cfe-docs-X.Y.Z.src.tar.xz - or llvm-docs-X.Y.Z.src.tar.xz (see next item). - 2. Build cfe-docs-X.Y.Z.src.tar.xz and - llvm-docs-X.Y.Z.src.tar.xz. The instructions are in - the %install section of llvmX.spec. The version - numbers in the instructions will need to be updated - first. Add those sources as well and delete the old - ones. - 3. Update the "Version" tag in llvmX.spec to match the + ones. This will not include clang-docs-X.0.Z.src.tar.xz + or llvm-docs-X.0.Z.src.tar.xz (see next item). + 2. Build clang-docs-X.0.Z.src.tar.xz and + llvm-docs-X.0.Z.src.tar.xz. The instructions are in + the %install section of llvmX.spec. The instructions + need RPM substitutions, for example via rpmspec -P. + Add those sources as well and delete the old ones. + 3. Update the "_relver" tag in llvmX.spec to match the new sources. 4. Update the version number in the patches to match the new sources. - 5. Update the "_relver" tag in llvmX.spec to match + 5. Update the "_uaver" tag in llvmX.spec to match the "Version" tag. 6. Confirm everything builds successfully and there are no new rpmlint issues. Some patches may need to be @@ -92,8 +90,8 @@ needs to be updated. 7. Update the llvmX.changes file. -=============================== -MAJOR AND MINOR VERSION UPDATES +===================== +MAJOR VERSION UPDATES For updates that change the major or minor version number, this package (llvm) needs to be updated, a new llvmX @@ -104,14 +102,13 @@ needs to be modified. 1. Copy (do not link) the old llvmX to the new major/minor version number. 2. Add the new sources to the package and delete the old - ones. This will not include cfe-docs-X.Y.Z.src.tar.xz - or llvm-docs-X.Y.Z.src.tar.xz (see next item). - 3. Build cfe-docs-X.Y.Z.src.tar.xz and - llvm-docs-X.Y.Z.src.tar.xz. The instructions are in - the %install section of llvmX.spec. The version - numbers in the instructions will need to be updated - first. Add those sources as well and delete the old - ones. + ones. This will not include clang-docs-X.0.Z.src.tar.xz + or llvm-docs-X.0.Z.src.tar.xz (see next item). + 3. Build clang-docs-X.0.Z.src.tar.xz and + llvm-docs-X.0.Z.src.tar.xz. The instructions are in + the %install section of llvmX.spec. The instructions + need RPM substitutions, for example via rpmspec -P. + Add those sources as well and delete the old ones. 4. Rename the .spec, .changes, and rpmlintrc files in the new llvmX package to the new major/minor version number @@ -123,10 +120,9 @@ needs to be modified. the new major/minor versions. It should be of the form "X.0". 8. Change the "_uaver" tag in llvmX.spec to match the - new major/minor versions. It should be of the form "X00". - 9. Update the "Version", and "_relver" tags and the - version numbers in the patches as described in - PATCH-LEVEL UPDATES above. + new major/minor versions. It should be of the form "X0Z". + 9. Update the "_relver" tag and the version numbers in + the patches as described in PATCH-LEVEL UPDATES above. 10. Confirm llvmX.spec builds successfully and there are no new rpmlint issues. 11. Check whether the .so number of "libc++.so.W.V" has diff --git a/llvm.changes b/llvm.changes index d744b79..9a11f8c 100644 --- a/llvm.changes +++ b/llvm.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Jul 10 21:30:44 UTC 2021 - Aaron Puchert + +- Update to version 12.0.1. + * This release contains bug-fixes for the LLVM 12.0.0 release. + This release is API and ABI compatible with 12.0.0. +- Update README.packaging. + ------------------------------------------------------------------- Wed Apr 14 23:57:28 UTC 2021 - Aaron Puchert diff --git a/llvm.spec b/llvm.spec index b62db61..ff1a4fa 100644 --- a/llvm.spec +++ b/llvm.spec @@ -35,7 +35,7 @@ Obsoletes: %{1}8%{?2:-%{2}} \ Obsoletes: %{1}9%{?2:-%{2}} Name: llvm -Version: 12.0.0 +Version: 12.0.1 Release: 0 Summary: Low Level Virtual Machine License: Apache-2.0 WITH LLVM-exception OR NCSA