enable prof libs

they were unintentionally disabled
This commit is contained in:
Jens Petersen 2017-03-13 11:12:37 +09:00
parent 510e9a0d11
commit 8934726631

View File

@ -1,5 +1,3 @@
%global without_prof 1
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name haskell-platform
@ -14,10 +12,6 @@
%global separate_packages QuickCheck|HTTP|HUnit|StateVar|alex|cabal-install|call-stack|fgl|happy|html|integer-logarithms|mtl|network|parallel|parsec|random|regex-base|regex-compat|regex-posix|stm|syb|text|zlib|async|primitive|split|vector|attoparsec|case-insensitive|hashable|unordered-containers|xhtml|hscolour|tf-random|exceptions|transformers-compat|scientific|network-uri|old-locale|old-time
#%%ifarch armv7hl
#%%global separate_packages %{separate_packages}|OpenGL|OpenGLRaw|GLUT|GLURaw
#%%endif
Name: haskell-platform
Version: 2017.%{upstream_version}
# Since library subpackages are versioned:
@ -25,7 +19,7 @@ Version: 2017.%{upstream_version}
# (eg for a major release)
# - minor release numbers should be incremented monotonically
# - haskell-src version unchanged
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Standard Haskell distribution
Group: Development/Tools
@ -100,11 +94,11 @@ mv packages/* .
%build
%ghc_libs_build $(egrep \-v "^(%{?separate_packages})-[0-9]" etc/build.packages)
%ghc_libs_build $(grep \-e \-v "^(%{?separate_packages})-[0-9]" etc/build.packages)
%install
%ghc_libs_install $(egrep \-v "^(%{?separate_packages})-[0-9]" etc/build.packages)
%ghc_libs_install $(grep \-e \-v "^(%{?separate_packages})-[0-9]" etc/build.packages)
%ghc_strip_dynlinked
@ -114,6 +108,9 @@ mv packages/* .
%changelog
* Mon Mar 13 2017 Jens Petersen <petersen@redhat.com> - 2017.8.0.2-6
- enable prof libraries
* Fri Mar 10 2017 Jens Petersen <petersen@redhat.com> - 2017.8.0.2-5
- update to 8.0.2
- 'cgi' and 'multipart' dropped, add 'fixed'