|
@@ -1,8 +1,8 @@
|
|
%define pkg_name yaml
|
|
%define pkg_name yaml
|
|
-%define pkg_version 0.8.16
|
|
+%define pkg_version 0.8.21.2
|
|
-%define pkg_release 3%{?_dist_release}
|
|
+%define pkg_release 1%{?_dist_release}
|
|
|
|
|
|
-%define ghc_version 7.10.3
|
|
+%define ghc_version 8.0.1
|
|
|
|
|
|
Summary: Support for parsing and rendering YAML documents
|
|
Summary: Support for parsing and rendering YAML documents
|
|
Name: %{pkg_name}
|
|
Name: %{pkg_name}
|
|
@@ -14,30 +14,29 @@ Group: Applications/Text
|
|
URL: http://hackage.haskell.org
|
|
URL: http://hackage.haskell.org
|
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source0: %{name}-%{version}.tar.gz
|
|
-Source1: fail-4.9.0.0.tar.gz
|
|
+Source1: packages
|
|
-Source2: mmorph-1.0.6.tar.gz
|
|
+
|
|
-Source3: tagged-0.8.3.tar.gz
|
|
+# num=11; for pkg in `cat packages`; do echo "Source${num}: ${pkg}.tar.gz"; num=`expr ${num} + 1`; done
|
|
-Source4: semigroups-0.18.1.tar.gz
|
|
+Source11: exceptions-0.8.3.tar.gz
|
|
-Source5: transformers-base-0.4.4.tar.gz
|
|
+Source12: mmorph-1.0.6.tar.gz
|
|
-Source6: monad-control-1.0.0.5.tar.gz
|
|
+Source13: semigroups-0.18.1.tar.gz
|
|
-Source7: lifted-base-0.2.3.6.tar.gz
|
|
+Source14: transformers-base-0.4.4.tar.gz
|
|
-Source8: enclosed-exceptions-1.0.1.1.tar.gz
|
|
+Source15: monad-control-1.0.0.5.tar.gz
|
|
-Source9: resourcet-1.1.7.2.tar.gz
|
|
+Source16: lifted-base-0.2.3.6.tar.gz
|
|
-Source10: conduit-1.2.6.2.tar.gz
|
|
+Source17: enclosed-exceptions-1.0.1.1.tar.gz
|
|
-
|
|
+Source18: resourcet-1.1.7.2.tar.gz
|
|
-Source100: packages
|
|
+Source19: conduit-1.2.6.2.tar.gz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
-BuildRequires: ghc haskell-platform-base cabal-install
|
|
+BuildRequires: ghc haskell-platform
|
|
BuildRequires: libffi-devel gmp-devel zlib-devel
|
|
BuildRequires: libffi-devel gmp-devel zlib-devel
|
|
BuildRequires: libghc-dlist
|
|
BuildRequires: libghc-dlist
|
|
BuildRequires: libghc-aeson
|
|
BuildRequires: libghc-aeson
|
|
|
|
|
|
BuildRequires: docbook-utils docbook-utils-pdf docbook-style-xsl
|
|
BuildRequires: docbook-utils docbook-utils-pdf docbook-style-xsl
|
|
-BuildRequires: hscolour
|
|
|
|
|
|
|
|
-Requires: ghc haskell-platform-base cabal-install
|
|
+Requires: ghc haskell-platform
|
|
Requires: libghc-dlist
|
|
Requires: libghc-dlist
|
|
Requires: libghc-aeson
|
|
Requires: libghc-aeson
|
|
|
|
|
|
@@ -60,6 +59,8 @@ For most users, "Data.Yaml" is recommended.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
+%{__rm} -rf %{_builddir}/package.conf
|
|
|
|
+%{__rm} -rf ${HOME}/.ghc
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%build
|
|
@@ -71,7 +72,7 @@ PKG_CONF_DIR=${RPM_BUILD_ROOT}%{_libdir}/ghc-%{ghc_version}/package.conf.d
|
|
|
|
|
|
# install dependent packages
|
|
# install dependent packages
|
|
cd %{_builddir}
|
|
cd %{_builddir}
|
|
-for pkg in `cat %{SOURCE100}`; do
|
|
+for pkg in `cat %{SOURCE1}`; do
|
|
%{__tar} xzf %{_sourcedir}/${pkg}.tar.gz
|
|
%{__tar} xzf %{_sourcedir}/${pkg}.tar.gz
|
|
cd ${pkg}
|
|
cd ${pkg}
|
|
cabal configure \
|
|
cabal configure \
|
|
@@ -131,6 +132,10 @@ ghc-pkg recache
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Feb 03 2017 Toshiaki Ara <ara_t@384.jp> 0.8.21.2-1
|
|
|
|
+- update to 0.8.21.2
|
|
|
|
+- build using ghc-8.0.1
|
|
|
|
+
|
|
* Wed May 04 2016 Toshiaki Ara <ara_t@384.jp> 0.8.16-3
|
|
* Wed May 04 2016 Toshiaki Ara <ara_t@384.jp> 0.8.16-3
|
|
- rebuilt
|
|
- rebuilt
|
|
|
|
|