From 09cb9680aae91d45aba19f2cb53758d59c5d7b06 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sun, 30 Oct 2016 15:49:52 +0100 Subject: [PATCH] Add ldc_arches macro that other packages can use - Enable ppc64 and ppc64le architectures --- ldc.spec | 9 ++++++++- macros.ldc | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ldc.spec b/ldc.spec index 26394f1..fdeadea 100644 --- a/ldc.spec +++ b/ldc.spec @@ -7,7 +7,7 @@ Name: ldc Version: %ldc_version -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 Summary: A compiler for the D programming language @@ -19,6 +19,9 @@ URL: https://github.com/ldc-developers/ldc Source0: https://github.com/ldc-developers/ldc/releases/download/v%ldc_version/%{name}-%ldc_version-src.tar.gz Source3: macros.%{name} +# Keep in sync with the ldc_arches macro in macros.ldc +ExclusiveArch: %{ix86} x86_64 %{arm} ppc64 ppc64le + BuildRequires: llvm-devel >= 3.0 BuildRequires: libconfig, libconfig-devel BuildRequires: cmake @@ -238,6 +241,10 @@ install -m0644 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/ %changelog +* Sun Oct 30 2016 Kalev Lember - 1:0.17.2-2 +- Add ldc_arches macro that other packages can use +- Enable ppc64 and ppc64le architectures + * Sun Oct 16 2016 Kalev Lember - 1:0.17.2-1 - Update to 0.17.2 - Enable arm architecture diff --git a/macros.ldc b/macros.ldc index 076cf7d..ac96f0f 100644 --- a/macros.ldc +++ b/macros.ldc @@ -7,3 +7,5 @@ %_d_optflags -release -w -g -O3 # Lib directory path %_d_libdir %{_libdir}/d/ +# ldc is available on the following architectures +%ldc_arches %{ix86} x86_64 %{arm} ppc64 ppc64le