|
|
|
@ -17,25 +17,25 @@
|
|
|
|
|
Name: ldc
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 1.35.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 1%{?dist}.inferit
|
|
|
|
|
Summary: LLVM D Compiler
|
|
|
|
|
|
|
|
|
|
# The DMD frontend in dmd/* GPL version 1 or artistic license
|
|
|
|
|
# The files gen/asmstmt.cpp and gen/asm-*.hG PL version 2+ or artistic license
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://github.com/ldc-developers/ldc
|
|
|
|
|
Source0: https://github.com/ldc-developers/ldc/releases/download/v%{version_no_tilde}/%{name}-%{version_no_tilde}-src.tar.gz
|
|
|
|
|
Source0: https://github.com/ldc-developers/ldc/releases/download/v%{version}/%{name}-%{version}-src.tar.gz
|
|
|
|
|
Source3: macros.%{name}
|
|
|
|
|
|
|
|
|
|
# Make sure /usr/include/d is in the include search path
|
|
|
|
|
Patch: ldc-include-path.patch
|
|
|
|
|
Patch0: ldc-include-path.patch
|
|
|
|
|
# Don't add rpath to standard libdir
|
|
|
|
|
Patch: ldc-no-default-rpath.patch
|
|
|
|
|
Patch1: ldc-no-default-rpath.patch
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 9
|
|
|
|
|
# Keep on using ld.gold on RHEL 8 and 9 where using ldc with ld.bfd breaks gtkd
|
|
|
|
|
# and leads to crashing tilix.
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2134875
|
|
|
|
|
Patch: 0001-Revert-Linux-Don-t-default-to-ld.gold-linker.patch
|
|
|
|
|
Patch2: 0001-Revert-Linux-Don-t-default-to-ld.gold-linker.patch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# https://github.com/ldc-developers/phobos/pull/72
|
|
|
|
@ -79,7 +79,7 @@ optimization and code generation capabilities.
|
|
|
|
|
This package contains the Phobos D standard library and the D runtime library.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version_no_tilde}-src -p1
|
|
|
|
|
%autosetup -n %{name}-%{version}-src -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# This package appears to be failing because links to the LLVM plugins
|
|
|
|
@ -149,6 +149,9 @@ install --mode=0644 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ldc
|
|
|
|
|
%{_libdir}/libphobos2-ldc-shared.so.%{soversion}*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Mar 28 2024 Alexey Lyubimov <a.lyubimov@msvsphere-os.ru> - 1:1.35.0-1.inferit
|
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
|
|
|
|
|
|
* Fri Nov 17 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 1:1.35.0-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|