Browse Source

rebuild under haskell-platform-2017.7.10.3-3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10234 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 8 years ago
parent
commit
5c0ab8ac54
1 changed files with 16 additions and 8 deletions
  1. 16 8
      c/cabal-install/cabal-install.vl.spec

+ 16 - 8
c/cabal-install/cabal-install.vl.spec

@@ -1,6 +1,6 @@
 %define pkg_name    cabal-install
-%define pkg_version 1.22.8.0
-%define pkg_release 3%{?_dist_release}
+%define pkg_version 1.22.9.0
+%define pkg_release 1%{?_dist_release}
 
 Summary: A command-line program simplifies the process of managing Haskell software
 Name:    %{pkg_name}
@@ -15,7 +15,7 @@ Source0: cabal-install-%{pkg_version}.tar.gz
 BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-root
 
 BuildRequires: ghc
-BuildRequires: haskell-platform-base cabal-install
+BuildRequires: haskell-platform-base
 BuildRequires: libffi-devel gmp-devel zlib-devel
 Requires: ghc
 
@@ -35,13 +35,16 @@ compilation and installation of Haskell libraries and programs.
 %setup -q
 
 %build
-cabal configure --prefix=%{_usr} \
-                --docdir=%{_docdir}/%{name}-%{version}
-cabal build
+ghc --make Setup
+./Setup configure \
+        --user \
+        --disable-shared \
+        --prefix=%{_usr} \
+        --docdir=%{_docdir}/%{name}-%{version}
+./Setup build
 
 %install
-cabal copy --destdir=${RPM_BUILD_ROOT}
-%{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}
+./Setup copy --destdir=${RPM_BUILD_ROOT}
 
 %clean
 %{__rm} -rf ${RPM_BUILD_ROOT}
@@ -54,6 +57,11 @@ cabal copy --destdir=${RPM_BUILD_ROOT}
 
 
 %changelog
+* Mon May 02 2016 Toshiaki Ara <ara_t@384.jp> 1.22.9.0-1
+- update to 1.22.9.0
+- rebuild under haskell-platform-2015.7.10.3-3
+- delete BuildRequires: cabal-install and hscolour
+
 * Mon Apr 11 2016 Toshiaki Ara <ara_t@384.jp> 1.22.8.0-2
 - correct SPEC file