Remove lib64 rpaths

epel9
Kalev Lember 3 years ago
parent 1ac7713ab6
commit d270b9a3f3

@ -42,6 +42,7 @@ Patch0: ldc-include-path.patch
ExclusiveArch: %{ldc_arches}
BuildRequires: bash-completion
BuildRequires: chrpath
BuildRequires: cmake
BuildRequires: gc
BuildRequires: gcc
@ -180,6 +181,12 @@ geany -c geany_config -g phobos.d.tags $(find runtime/phobos/std -name "*.d")
%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
mkdir -p %{buildroot}/%{_rpmconfigdir}/macros.d/
install --mode=0644 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ldc

Loading…
Cancel
Save