]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- add ghc-prof to BRs
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 19 Oct 2012 12:07:50 +0000 (14:07 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 19 Oct 2012 12:07:50 +0000 (14:07 +0200)
- change Setup ext to .lhs

ghc-package.spec

index 0f9062637a932f52d046cf737eca6405cbd2dd12..eb2a0707b3965ef7f99a1ac3e5749732a4cf1769 100644 (file)
@@ -9,6 +9,7 @@ Source0:        http://hackage.haskell.org/packages/archive/%{pkgname}/%{version}/%{pkg
 # Source0-md5: -
 URL:           http://hackage.haskell.org/package/PACKAGE_NAME/
 BuildRequires: ghc >= 6.12.3
+#BuildRequires:        ghc-prof
 #BuildRequires:        ghc-OTHERMODULE
 BuildRequires: rpmbuild(macros) >= 1.608
 %requires_releq        ghc
@@ -42,26 +43,26 @@ kiedy potrzebujemy systemu profilującego z GHC.
 %setup -q -n %{pkgname}-%{version}
 
 %build
-runhaskell Setup.hs configure -v2 --enable-library-profiling \
+runhaskell Setup.lhs configure -v2 --enable-library-profiling \
        --prefix=%{_prefix} \
        --libdir=%{_libdir} \
        --libexecdir=%{_libexecdir} \
        --docdir=%{_docdir}/%{name}-%{version}
 
-runhaskell Setup.hs build
-runhaskell Setup.hs haddock --executables
+runhaskell Setup.lhs build
+runhaskell Setup.lhs haddock --executables
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d
 
-runhaskell Setup.hs copy --destdir=$RPM_BUILD_ROOT
+runhaskell Setup.lhs copy --destdir=$RPM_BUILD_ROOT
 
 # work around automatic haddock docs installation
 rm -rf %{name}-%{version}-doc
 cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
 
-runhaskell Setup.hs register \
+runhaskell Setup.lhs register \
        --gen-pkg-config=$RPM_BUILD_ROOT/%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
 
 %clean
This page took 0.073139 seconds and 4 git commands to generate.