setup _ghcdynlibdir from spec file for current releases
This commit is contained in:
parent
323880f227
commit
0017f57fc4
@ -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 %{SOURCE6} %{buildroot}%{macros_dir}/macros.ghc-extra
|
||||||
install -p -D -m 0644 %{SOURCE9} %{buildroot}%{macros_dir}/macros.ghc-os
|
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
|
install -p -D -m 0755 %{SOURCE3} %{buildroot}%{_prefix}/lib/rpm/ghc-deps.sh
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
%_ghcdocdir %{_ghclicensedir}/%{name}
|
%_ghcdocdir %{_ghclicensedir}/%{name}
|
||||||
|
|
||||||
# %%_ghcdynlibdir %%{_libdir}/ghc-%%{ghc_version}
|
|
||||||
|
|
||||||
%ghc_without_dynamic 1
|
%ghc_without_dynamic 1
|
||||||
|
|
||||||
# enable profiling libraries in prof subpkgs
|
# enable profiling libraries in prof subpkgs
|
||||||
|
Loading…
Reference in New Issue
Block a user