2015-02-24 07:57:44 +00:00
|
|
|
Index: ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381/macros.ghc
|
2013-07-31 15:36:43 +00:00
|
|
|
===================================================================
|
2015-02-24 07:57:44 +00:00
|
|
|
--- ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381.orig/macros.ghc
|
|
|
|
+++ ghc-rpm-macros-81726e4857a866d19cc59b496846d127b9e8c381/macros.ghc
|
|
|
|
@@ -66,7 +66,7 @@ tests
|
2013-07-31 15:36:43 +00:00
|
|
|
rm -f %{basepkg}.files %{basepkg}-devel.files\
|
2015-02-24 07:57:44 +00:00
|
|
|
touch %{basepkg}.files %{basepkg}-devel.files\
|
2013-07-31 15:36:43 +00:00
|
|
|
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\
|