From 457e0516540f4ec71788da067286beb82a4e6a20 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 17 Mar 2017 11:54:30 -0700 Subject: [PATCH] Limit rust-lldb arches Using "BuildArch: noarch" and "ExclusiveArch: %arches noarch" per the guidelines for runtime dependencies here: https://fedoraproject.org/wiki/Packaging:Guidelines#Noarch_with_unported_dependencies --- rust.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rust.spec b/rust.spec index 1cab21c..9009765 100644 --- a/rust.spec +++ b/rust.spec @@ -43,7 +43,7 @@ Name: rust Version: 1.16.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Rust Programming Language License: (ASL 2.0 or MIT) and (BSD and ISC and MIT) # ^ written as: (rust itself) and (bundled libraries) @@ -208,6 +208,9 @@ programs. %package lldb Summary: LLDB pretty printers for Rust BuildArch: noarch + +# LLDB is only available on some architectures +ExclusiveArch: %{arm} aarch64 %{ix86} x86_64 noarch Requires: lldb %description lldb @@ -409,6 +412,9 @@ make check || : %changelog +* Fri Mar 17 2017 Josh Stone - 1.16.0-2 +- Limit rust-lldb arches + * Thu Mar 16 2017 Josh Stone - 1.16.0-1 - Update to 1.16.0. - Use rustbuild instead of the old makefiles.