|
|
@ -42,6 +42,7 @@ Patch0: ldc-include-path.patch
|
|
|
|
ExclusiveArch: %{ldc_arches}
|
|
|
|
ExclusiveArch: %{ldc_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: gc
|
|
|
|
BuildRequires: gc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
@ -180,6 +181,12 @@ geany -c geany_config -g phobos.d.tags $(find runtime/phobos/std -name "*.d")
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Remove lib64 rpaths
|
|
|
|
|
|
|
|
chrpath --delete %{buildroot}%{_bindir}/ldc-prune-cache
|
|
|
|
|
|
|
|
chrpath --delete %{buildroot}%{_bindir}/ldc2
|
|
|
|
|
|
|
|
chrpath --delete %{buildroot}%{_bindir}/ldmd2
|
|
|
|
|
|
|
|
chrpath --delete %{buildroot}%{_bindir}/ldc-build-runtime
|
|
|
|
|
|
|
|
|
|
|
|
# macros for D package
|
|
|
|
# macros for D package
|
|
|
|
mkdir -p %{buildroot}/%{_rpmconfigdir}/macros.d/
|
|
|
|
mkdir -p %{buildroot}/%{_rpmconfigdir}/macros.d/
|
|
|
|
install --mode=0644 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ldc
|
|
|
|
install --mode=0644 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ldc
|
|
|
|