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