From 4bdb1778ec2ce4fdf9be6b64fd6c3b73ab27dc6d Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Wed, 29 Jun 2022 08:39:17 +0000 Subject: [PATCH] Switch to using the dist_vendor macro for distribution vendor The new dist_vendor macro[1] in fedora-release helps simplify spec files by removing the conditionals for populating the distro. [1] https://src.fedoraproject.org/rpms/fedora-release/pull-request/223 --- clang.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/clang.spec b/clang.spec index 86c4511..3c5737f 100644 --- a/clang.spec +++ b/clang.spec @@ -39,7 +39,7 @@ Name: %pkg_name Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}} -Release: 3%{?dist} +Release: 4%{?dist} Summary: A C language family front-end for LLVM License: NCSA @@ -358,7 +358,7 @@ CFLAGS="$CFLAGS -Wno-address -Wno-nonnull -Wno-maybe-uninitialized" \ -DCLANG_BUILD_EXAMPLES:BOOL=OFF \ -DBUILD_SHARED_LIBS=OFF \ - -DCLANG_REPOSITORY_STRING="%{?fedora:Fedora}%{?rhel:Red Hat} %{version}-%{release}" \ + -DCLANG_REPOSITORY_STRING="%{?dist_vendor} %{version}-%{release}" \ %ifarch %{arm} -DCLANG_DEFAULT_LINKER=lld \ %endif @@ -591,6 +591,9 @@ false %endif %changelog +* Thu Jul 28 2022 Amit Shah - 14.0.5-4 +- Use the dist_vendor macro to identify the distribution + * Wed Jul 20 2022 Fedora Release Engineering - 14.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild