setup _ghcdynlibdir from spec file for current releases

This commit is contained in:
Jens Petersen 2023-01-21 15:38:01 +08:00
parent 323880f227
commit 0017f57fc4
2 changed files with 4 additions and 2 deletions

View File

@ -130,6 +130,10 @@ install -p -D -m 0644 %{SOURCE0} %{buildroot}%{macros_dir}/macros.ghc
install -p -D -m 0644 %{SOURCE6} %{buildroot}%{macros_dir}/macros.ghc-extra
install -p -D -m 0644 %{SOURCE9} %{buildroot}%{macros_dir}/macros.ghc-os
%if 0%{?fedora} < 38
echo -e "\n%%_ghcdynlibdir %%{_libdir}" >> %{buildroot}%{macros_dir}/macros.ghc-os
%endif
install -p -D -m 0755 %{SOURCE3} %{buildroot}%{_prefix}/lib/rpm/ghc-deps.sh
%if 0%{?fedora} || 0%{?rhel} >= 7

View File

@ -2,8 +2,6 @@
%_ghcdocdir %{_ghclicensedir}/%{name}
# %%_ghcdynlibdir %%{_libdir}/ghc-%%{ghc_version}
%ghc_without_dynamic 1
# enable profiling libraries in prof subpkgs