update to 1.4.7 and remove ghc dependency workaround OBS-URL: https://build.opensuse.org/request/show/287470 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-rpm-macros?expand=0&rev=40
14 lines
687 B
Diff
14 lines
687 B
Diff
Index: ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381/macros.ghc
|
|
===================================================================
|
|
--- ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381.orig/macros.ghc
|
|
+++ ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381/macros.ghc
|
|
@@ -66,7 +66,7 @@ tests
|
|
rm -f %{basepkg}.files %{basepkg}-devel.files\
|
|
touch %{basepkg}.files %{basepkg}-devel.files\
|
|
if [ -d "%{buildroot}%{pkgdir}" ]; then\
|
|
-echo "%dir %{pkgdir}" >> %{basepkg}.files\
|
|
+echo "%%dir %{pkgdir}" >> %{basepkg}.files\
|
|
%if %{undefined ghc_without_shared}\
|
|
echo "%attr(755,root,root) %{pkgdir}/libHS%{pkgnamever}-ghc%{ghc_version}.so" >> %{basepkg}.files\
|
|
%endif\
|