[haskell-platform] fix ghc_without_shared handling of library metapackage doc dir
Jens Petersen
petersen at fedoraproject.org
Fri Jun 8 09:34:17 UTC 2012
commit c4542112e64b629c00b88db07b1f16fd61cd2b73
Author: Jens Petersen <petersen at redhat.com>
Date: Fri Jun 8 18:34:02 2012 +0900
fix ghc_without_shared handling of library metapackage doc dir
haskell-platform.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/haskell-platform.spec b/haskell-platform.spec
index 30743d5..619c141 100644
--- a/haskell-platform.spec
+++ b/haskell-platform.spec
@@ -254,7 +254,9 @@ rm %{buildroot}%{_bindir}/*-tests
rm -r %{buildroot}%{_datadir}/HUnit-*
# haskell-platform
-mv %{buildroot}%{_docdir}/ghc-haskell-platform{,-devel}-%{version}
+if [ -d %{buildroot}%{_docdir}/ghc-haskell-platform-%{version} ]; then
+ mv %{buildroot}%{_docdir}/ghc-haskell-platform{,-devel}-%{version}
+fi
mv */*.files ..
cd ..
More information about the scm-commits
mailing list