Add ldc_arches macro that other packages can use

- Enable ppc64 and ppc64le architectures
epel9
Kalev Lember 8 years ago
parent 168cf9e875
commit 09cb9680aa

@ -7,7 +7,7 @@
Name: ldc Name: ldc
Version: %ldc_version Version: %ldc_version
Release: 1%{?dist} Release: 2%{?dist}
Epoch: 1 Epoch: 1
Summary: A compiler for the D programming language 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 Source0: https://github.com/ldc-developers/ldc/releases/download/v%ldc_version/%{name}-%ldc_version-src.tar.gz
Source3: macros.%{name} 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: llvm-devel >= 3.0
BuildRequires: libconfig, libconfig-devel BuildRequires: libconfig, libconfig-devel
BuildRequires: cmake BuildRequires: cmake
@ -238,6 +241,10 @@ install -m0644 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/
%changelog %changelog
* Sun Oct 30 2016 Kalev Lember <klember@redhat.com> - 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 <klember@redhat.com> - 1:0.17.2-1 * Sun Oct 16 2016 Kalev Lember <klember@redhat.com> - 1:0.17.2-1
- Update to 0.17.2 - Update to 0.17.2
- Enable arm architecture - Enable arm architecture

@ -7,3 +7,5 @@
%_d_optflags -release -w -g -O3 %_d_optflags -release -w -g -O3
# Lib directory path # Lib directory path
%_d_libdir %{_libdir}/d/ %_d_libdir %{_libdir}/d/
# ldc is available on the following architectures
%ldc_arches %{ix86} x86_64 %{arm} ppc64 ppc64le

Loading…
Cancel
Save