From ea3073a41590187fc016c246c1f2178f6cd3c707 Mon Sep 17 00:00:00 2001 From: Alexey Lyubimov Date: Fri, 29 Mar 2024 01:36:53 +0300 Subject: [PATCH] Rebuilt for MSVSphere 8.9 --- SPECS/ldc.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/SPECS/ldc.spec b/SPECS/ldc.spec index c7353d3..f5772ac 100644 --- a/SPECS/ldc.spec +++ b/SPECS/ldc.spec @@ -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 - 1:1.35.0-1.inferit +- Rebuilt for MSVSphere 8.9 + * Fri Nov 17 2023 Arkady L. Shane - 1:1.35.0-1 - Rebuilt for MSVSphere 9.3