fix macro.ghc path for cat

This commit is contained in:
Jens Petersen 2011-02-13 01:19:40 +10:00
parent 2c0b10d5d5
commit 75e22924a6
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
%global debug_package %{nil}
Name: ghc-rpm-macros
Version: 0.11.10
Version: 0.11.10.1
Release: 1%{?dist}
Summary: Macros for building packages for GHC
@ -41,7 +41,7 @@ install -p %{SOURCE3} ${RPM_BUILD_ROOT}/%{_prefix}/lib/rpm
# this is why this package is now arch-dependent:
# turn off shared libs and dynamic linking on secondary archs
%ifnarch %{ix86} x86_64
cat >> ${RPM_BUILD_ROOT}/%{_prefix}%{_sysconfdir}/rpm/macros.ghc <<EOF
cat >> ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc <<EOF
# shared libraries are only supported on main intel archs
%%global ghc_without_dynamic 1