Compare commits
117 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84b6995fd2 | ||
|
|
937baf3e85 | ||
|
|
605a127cb1 | ||
|
|
b763b8828e | ||
|
|
3f3c0e3471 | ||
|
|
6eeff1b1dd | ||
|
|
89a5074a4a | ||
|
|
f54e80c6ab | ||
|
|
70e0f0786c | ||
|
|
3b2f3dfcce | ||
|
|
073e1bb36a | ||
|
|
8a31ee478f | ||
|
|
fb1edd4740 | ||
|
|
d3882283af | ||
|
|
36bd7e2ddc | ||
|
|
b83488d98a | ||
|
|
fecdd7941b | ||
|
|
a3ba8c2a72 | ||
|
|
86537fd1d3 | ||
|
|
88ad8b7915 | ||
|
|
784412798a | ||
|
|
ff636396f1 | ||
|
|
d78b70b6ba | ||
|
|
234447b44d | ||
|
|
9f94d354e1 | ||
|
|
cfd1626575 | ||
|
|
63eda324ae | ||
|
|
0f4f83125f | ||
|
|
ab1e938d2b | ||
|
|
e60e00e4d1 | ||
|
|
9852ccbfd5 | ||
|
|
2b96988044 | ||
|
|
c255f7c9e7 | ||
|
|
6e83a29ba2 | ||
|
|
7dea3a5231 | ||
|
|
70af6eb742 | ||
|
|
8183d50d63 | ||
|
|
77fe45dffb | ||
|
|
18f27d868e | ||
|
|
b29e22972a | ||
|
|
cc79ba07ce | ||
|
|
af3e2340b6 | ||
|
|
f10c48e588 | ||
|
|
59c682ea88 | ||
|
|
40452c41de | ||
|
|
993952ce1f | ||
|
|
fc855f9862 | ||
|
|
42c56ec13f | ||
|
|
434359550e | ||
|
|
3cb7a8fb81 | ||
|
|
e6cf6db2c1 | ||
|
|
9ebc1eb9a4 | ||
|
|
7c685bbc39 | ||
|
|
9a69c439ac | ||
|
|
e3e4431135 | ||
|
|
5ef7655a5a | ||
|
|
9791b8159f | ||
|
|
a0e68356a7 | ||
|
|
d0991411f3 | ||
|
|
b447386fbb | ||
|
|
c88f89138d | ||
|
|
0f6e77c5b2 | ||
|
|
31184c9e61 | ||
|
|
d605c454ab | ||
|
|
fcf5dd804c | ||
|
|
4e49274766 | ||
|
|
77f273c4cb | ||
|
|
8934726631 | ||
|
|
510e9a0d11 | ||
|
|
f7faf5daea | ||
|
|
e9169782c8 | ||
|
|
f443df0b3b | ||
|
|
33b9b49d5c | ||
|
|
e7f8aa5fe4 | ||
|
|
a63ce181b4 | ||
|
|
805fc1c040 | ||
|
|
898f2df64c | ||
|
|
7eb7b3d1d6 | ||
|
|
ce9d6118e0 | ||
|
|
edd89cc804 | ||
|
|
c07abdf43c | ||
|
|
e317a619be | ||
|
|
65ebd4c9b5 | ||
|
|
0439f873ec | ||
|
|
999ae91a27 | ||
|
|
e4f2f8eed9 | ||
|
|
ac9287e49c | ||
|
|
9f26c7375a | ||
|
|
e9692ba128 | ||
|
|
45a62500d0 | ||
|
|
0c128e02a8 | ||
|
|
62c8da19d7 | ||
|
|
e973df3a93 | ||
|
|
56a9f6f8a8 | ||
|
|
57443f3360 | ||
|
|
eae3509dbe | ||
|
|
36aeb53738 | ||
|
|
16212bf2db | ||
|
|
b1e77fe36e | ||
|
|
e637205935 | ||
|
|
60545cc541 | ||
|
|
f83e5f9253 | ||
|
|
8b53e13de4 | ||
|
|
86a7d3fe36 | ||
|
|
0ee0d364bb | ||
|
|
b4058e3027 | ||
|
|
fe3633773d | ||
|
|
7d520c824b | ||
|
|
508bdfe008 | ||
|
|
548dcd55d9 | ||
|
|
500be8f46a | ||
|
|
87bff7f6c5 | ||
|
|
30b190a267 | ||
|
|
45222d99ca | ||
|
|
a681cbef9c | ||
|
|
657fb66b3a | ||
|
|
e2e49ad9df |
7 changed files with 465 additions and 232 deletions
69
.gitignore
vendored
69
.gitignore
vendored
|
|
@ -7,3 +7,72 @@ haskell-platform-2010.2.0.0.tar.gz
|
|||
/haskell-platform-2012.4.0.0-rc2.tar.gz
|
||||
/haskell-platform-2012.4.0.0.tar.gz
|
||||
/haskell-platform-2013.2.0.0.tar.gz
|
||||
/haskell-platform-2014.2.0.0-srcdist-RC3.tar.gz
|
||||
/haskell-platform-2014.2.0.0-srcdist.tar.gz
|
||||
/haskell-platform-7.10.3.tar.gz
|
||||
/haskell-platform-8.0.2.tar.gz
|
||||
/haskell-platform-8.2.2.tar.gz
|
||||
/filelock-0.1.1.4.tar.gz
|
||||
/hi-file-parser-0.1.0.0.tar.gz
|
||||
/hpack-0.31.2.tar.gz
|
||||
/http-download-0.1.0.1.tar.gz
|
||||
/infer-license-0.2.0.tar.gz
|
||||
/mintty-0.1.2.tar.gz
|
||||
/mustache-2.3.1.tar.gz
|
||||
/neat-interpolation-0.3.2.6.tar.gz
|
||||
/open-browser-0.2.1.0.tar.gz
|
||||
/pantry-0.1.1.2.tar.gz
|
||||
/project-template-0.2.0.1.tar.gz
|
||||
/regex-applicative-text-0.1.0.1.tar.gz
|
||||
/retry-0.8.1.0.tar.gz
|
||||
/rio-orphans-0.1.1.0.tar.gz
|
||||
/stack-2.1.3.1.tar.gz
|
||||
/th-utilities-0.2.3.1.tar.gz
|
||||
/casa-client-0.0.1.tar.gz
|
||||
/casa-types-0.0.1.tar.gz
|
||||
/hpack-0.34.2.tar.gz
|
||||
/http-download-0.2.0.0.tar.gz
|
||||
/pantry-0.4.0.1.tar.gz
|
||||
/retry-0.8.1.2.tar.gz
|
||||
/stack-2.3.1.tar.gz
|
||||
/th-utilities-0.2.4.0.tar.gz
|
||||
/filelock-0.1.1.5.tar.gz
|
||||
/project-template-0.2.1.0.tar.gz
|
||||
/pantry-0.4.0.2.tar.gz
|
||||
/stack-2.3.3.tar.gz
|
||||
/stack-2.7.3.tar.gz
|
||||
/hi-file-parser-0.1.2.0.tar.gz
|
||||
/hpack-0.34.4.tar.gz
|
||||
/neat-interpolation-0.5.1.2.tar.gz
|
||||
/pantry-0.5.2.3.tar.gz
|
||||
/rio-orphans-0.1.2.0.tar.gz
|
||||
/casa-types-0.0.2.tar.gz
|
||||
/stack-2.7.5.tar.gz
|
||||
/hpack-0.34.6.tar.gz
|
||||
/mintty-0.1.3.tar.gz
|
||||
/mustache-2.3.2.tar.gz
|
||||
/neat-interpolation-0.5.1.3.tar.gz
|
||||
/pantry-0.5.3.tar.gz
|
||||
/stack-2.9.1.tar.gz
|
||||
/hi-file-parser-0.1.3.0.tar.gz
|
||||
/hpack-0.35.2.tar.gz
|
||||
/mintty-0.1.4.tar.gz
|
||||
/mustache-2.4.1.tar.gz
|
||||
/pantry-0.5.7.tar.gz
|
||||
/stack-2.9.3.1.tar.gz
|
||||
/filelock-0.1.1.6.tar.gz
|
||||
/hi-file-parser-0.1.4.0.tar.gz
|
||||
/mustache-2.4.2.tar.gz
|
||||
/pantry-0.8.3.tar.gz
|
||||
/stack-2.15.7.tar.gz
|
||||
/aeson-warning-parser-0.1.1.tar.gz
|
||||
/casa-client-0.0.2.tar.gz
|
||||
/companion-0.1.0.tar.gz
|
||||
/crypton-conduit-0.2.3.tar.gz
|
||||
/filelock-0.1.1.7.tar.gz
|
||||
/hi-file-parser-0.1.6.0.tar.gz
|
||||
/hpack-0.36.1.tar.gz
|
||||
/http-download-0.2.1.0.tar.gz
|
||||
/neat-interpolation-0.5.1.4.tar.gz
|
||||
/pantry-0.9.3.2.tar.gz
|
||||
/static-bytes-0.1.0.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,257 +1,273 @@
|
|||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global ghc_compiler_version 7.6.3
|
||||
%global alex_version 3.0.5
|
||||
%global cabal_install_version 1.16.0.2
|
||||
%global happy_version 1.18.10
|
||||
|
||||
%global HUnit_version 1.2.5.2
|
||||
%global HTTP_version 4000.2.8
|
||||
%global html_version 1.0.1.2
|
||||
%global mtl_version 2.1.2
|
||||
%global network_version 2.4.1.2
|
||||
%global parallel_version 3.2.0.3
|
||||
%global parsec_version 3.1.3
|
||||
%global QuickCheck_version 2.6
|
||||
%global random_version 1.0.1.1
|
||||
%global regex_base_version 0.93.2
|
||||
%global regex_compat_version 0.95.1
|
||||
%global regex_posix_version 0.95.2
|
||||
%global stm_version 2.4.2
|
||||
%global syb_version 0.4.0
|
||||
%global text_version 0.11.3.1
|
||||
%global transformers_version 0.3.0.0
|
||||
%global zlib_version 0.5.4.1
|
||||
# 2012.4
|
||||
%global async_version 2.0.1.4
|
||||
%global primitive_version 0.5.0.1
|
||||
%global split_version 0.2.2
|
||||
%global vector_version 0.10.0.1
|
||||
# 2013.2
|
||||
%global attoparsec_version 0.10.4.0
|
||||
%global case_insensitive_version 1.0.0.1
|
||||
%global hashable_version 1.1.2.5
|
||||
%global unordered_containers_version 0.2.3.0
|
||||
|
||||
%global separate_packages QuickCheck|HTTP|HUnit|alex|cabal-install|happy|html|mtl|network|parallel|parsec|random|regex-base|regex-compat|regex-posix|stm|syb|text|transformers|zlib|async|primitive|split|vector|attoparsec|case-insensitive|hashable|unordered-containers
|
||||
# generated by cabal-rpm-2.2.1 --subpackage
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
Name: haskell-platform
|
||||
Version: 2013.2.0.0
|
||||
# Since library subpackages are versioned:
|
||||
# - release can only be reset if all library versions get bumped simultaneously
|
||||
# (eg for a major release)
|
||||
# - minor release numbers should be incremented monotonically
|
||||
Release: 37%{?dist}
|
||||
Version: 2024.1
|
||||
Release: 36%{?dist}
|
||||
Summary: Standard Haskell distribution
|
||||
|
||||
Group: Development/Tools
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/platform
|
||||
Source0: http://lambda.haskell.org/platform/download/%{version}/%{name}-%{version}.tar.gz
|
||||
License: BSD-3-Clause
|
||||
URL: https://www.haskell.org/
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros-extra
|
||||
BuildRequires: ghc
|
||||
BuildRequires: alex
|
||||
BuildRequires: cabal-install
|
||||
BuildRequires: happy
|
||||
BuildRequires: hscolour
|
||||
BuildRequires: stack
|
||||
|
||||
BuildRequires: alex = %{alex_version}
|
||||
BuildRequires: cabal-install = %{cabal_install_version}
|
||||
BuildRequires: ghc-compiler = %{ghc_compiler_version}
|
||||
# GLUT
|
||||
BuildRequires: freeglut-devel%{?_isa}
|
||||
BuildRequires: happy = %{happy_version}
|
||||
# OpenGL
|
||||
BuildRequires: mesa-libGL-devel%{?_isa},mesa-libGLU-devel%{?_isa}
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
BuildRequires: ghc-haskell98-devel
|
||||
BuildRequires: ghc-HUnit-devel = %{HUnit_version}
|
||||
BuildRequires: ghc-HTTP-devel = %{HTTP_version}
|
||||
BuildRequires: ghc-html-devel = %{html_version}
|
||||
BuildRequires: ghc-mtl-devel = %{mtl_version}
|
||||
BuildRequires: ghc-network-devel = %{network_version}
|
||||
BuildRequires: ghc-parallel-devel = %{parallel_version}
|
||||
BuildRequires: ghc-parsec-devel = %{parsec_version}
|
||||
BuildRequires: ghc-QuickCheck-devel = %{QuickCheck_version}
|
||||
BuildRequires: ghc-random-devel = %{random_version}
|
||||
BuildRequires: ghc-regex-base-devel = %{regex_base_version}
|
||||
BuildRequires: ghc-regex-compat-devel = %{regex_compat_version}
|
||||
BuildRequires: ghc-regex-posix-devel = %{regex_posix_version}
|
||||
BuildRequires: ghc-stm-devel = %{stm_version}
|
||||
BuildRequires: ghc-syb-devel = %{syb_version}
|
||||
%ifarch %{ghc_arches_with_ghci}
|
||||
BuildRequires: ghc-template-haskell-devel
|
||||
%endif
|
||||
BuildRequires: ghc-text-devel = %{text_version}
|
||||
BuildRequires: ghc-transformers-devel = %{transformers_version}
|
||||
BuildRequires: ghc-time-devel
|
||||
BuildRequires: ghc-zlib-devel = %{zlib_version}
|
||||
# part of HP-2012.4
|
||||
BuildRequires: ghc-async-devel = %{async_version}
|
||||
BuildRequires: ghc-primitive-devel = %{primitive_version}
|
||||
BuildRequires: ghc-split-devel = %{split_version}
|
||||
BuildRequires: ghc-vector-devel = %{vector_version}
|
||||
# part of HP-2013.2
|
||||
BuildRequires: ghc-attoparsec-devel = %{attoparsec_version}
|
||||
BuildRequires: ghc-case-insensitive-devel = %{case_insensitive_version}
|
||||
BuildRequires: ghc-hashable-devel = %{hashable_version}
|
||||
BuildRequires: ghc-unordered-containers-devel = %{unordered_containers_version}
|
||||
|
||||
# ghci "ghc" library is not officially part of hackage-platform
|
||||
Requires: ghc-compiler = %{ghc_compiler_version}
|
||||
Requires: alex = %{alex_version}
|
||||
Requires: cabal-install = %{cabal_install_version}
|
||||
Requires: happy = %{happy_version}
|
||||
Requires: ghc-haskell-platform-devel = %{version}-%{release}
|
||||
# pull in all of ghc for least surprise
|
||||
# even though strictly libHSghc is not formally part of HP
|
||||
Requires: ghc
|
||||
Requires: alex
|
||||
Requires: cabal-install
|
||||
Requires: happy
|
||||
Requires: hscolour
|
||||
Requires: stack
|
||||
|
||||
%description
|
||||
Haskell Platform is a suite of stable and well used Haskell libraries
|
||||
and tools. It provides a good starting environment for Haskell development.
|
||||
|
||||
|
||||
%global BSDHaskellReport BSD%{space}and%{space}HaskellReport
|
||||
|
||||
%global haskell_platform_version %{version}
|
||||
|
||||
%if %{defined ghclibdir}
|
||||
%ghc_lib_subpackage cgi 3001.1.7.5
|
||||
%ghc_lib_subpackage fgl 5.4.2.4
|
||||
%ghc_lib_subpackage -c mesa-libGLU-devel%{?_isa} GLURaw 1.3.0.0
|
||||
%ghc_lib_subpackage -c freeglut-devel%{?_isa} GLUT 2.4.0.0
|
||||
# used by lambdabot-utils
|
||||
%ghc_lib_subpackage haskell-src 1.0.1.5
|
||||
%ghc_lib_subpackage OpenGL 2.8.0.0
|
||||
%ghc_lib_subpackage -c mesa-libGL-devel%{?_isa} OpenGLRaw 1.3.0.0
|
||||
# exposed in ghc-7.8
|
||||
%ghc_lib_subpackage xhtml 3000.2.1
|
||||
%endif
|
||||
|
||||
%global version %{haskell_platform_version}
|
||||
|
||||
%package -n ghc-haskell-platform-devel
|
||||
Summary: Haskell Platform library development files
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
%{?ghc_packages_list:Requires: %(echo %{ghc_packages_list} | sed -e "s/\([^ ]*\)-\([^ ]*\)/ghc-\1-devel = \2-%{release},/g")}
|
||||
# pull in all of ghc for least surprise
|
||||
# even though libghc is not formally part of HP
|
||||
Requires: ghc = %{ghc_compiler_version}
|
||||
Requires: ghc-HUnit-devel = %{HUnit_version}
|
||||
Requires: ghc-HTTP-devel = %{HTTP_version}
|
||||
Requires: ghc-html-devel = %{html_version}
|
||||
Requires: ghc-mtl-devel = %{mtl_version}
|
||||
Requires: ghc-network-devel = %{network_version}
|
||||
Requires: ghc-parallel-devel = %{parallel_version}
|
||||
Requires: ghc-parsec-devel = %{parsec_version}
|
||||
Requires: ghc-QuickCheck-devel = %{QuickCheck_version}
|
||||
Requires: ghc-random-devel = %{random_version}
|
||||
Requires: ghc-regex-base-devel = %{regex_base_version}
|
||||
Requires: ghc-regex-compat-devel = %{regex_compat_version}
|
||||
Requires: ghc-regex-posix-devel = %{regex_posix_version}
|
||||
Requires: ghc-stm-devel = %{stm_version}
|
||||
Requires: ghc-syb-devel = %{syb_version}
|
||||
Requires: ghc-text-devel = %{text_version}
|
||||
Requires: ghc-transformers-devel = %{transformers_version}
|
||||
Requires: ghc-zlib-devel = %{zlib_version}
|
||||
# part of HP-2012.4
|
||||
Requires: ghc-async-devel = %{async_version}
|
||||
Requires: ghc-primitive-devel = %{primitive_version}
|
||||
Requires: ghc-split-devel = %{split_version}
|
||||
Requires: ghc-vector-devel = %{vector_version}
|
||||
# part of HP-2013.2
|
||||
Requires: ghc-attoparsec-devel = %{attoparsec_version}
|
||||
Requires: ghc-case-insensitive-devel = %{case_insensitive_version}
|
||||
Requires: ghc-hashable-devel = %{hashable_version}
|
||||
Requires: ghc-unordered-containers-devel = %{unordered_containers_version}
|
||||
# added in F17 devel cycle
|
||||
Obsoletes: ghc-haskell-platform < %{version}-%{release}
|
||||
|
||||
%description -n ghc-haskell-platform-devel
|
||||
This provides the haskell-platform meta library package.
|
||||
Haskell Platform is a set of stable and well used Haskell tools.
|
||||
It provides a good starting environment for Haskell development.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
cd packages
|
||||
|
||||
cd ..
|
||||
|
||||
|
||||
%build
|
||||
HOME=$PWD
|
||||
PATH=$HOME/.cabal/bin:$PATH
|
||||
%define cabal_configure_options --user
|
||||
|
||||
cd packages
|
||||
for i in $(egrep -v "^(%{?separate_packages})-" platform.packages); do
|
||||
name=$(echo $i | sed -e "s/\(.*\)-.*/\1/")
|
||||
ver=$(echo $i | sed -e "s/.*-\(.*\)/\1/")
|
||||
cd $name-$ver
|
||||
case $name in
|
||||
alex|cabal-install|happy)
|
||||
%ghc_bin_build
|
||||
;;
|
||||
haskell-platform)
|
||||
%ghc_lib_build_without_haddock $name $ver
|
||||
cabal_configure_extra_options=
|
||||
;;
|
||||
*)
|
||||
%ghc_lib_build $name $ver
|
||||
./Setup register --inplace
|
||||
;;
|
||||
esac
|
||||
cd ..
|
||||
done
|
||||
|
||||
|
||||
%install
|
||||
HOME=$PWD
|
||||
PATH=$HOME/.cabal/bin:$PATH
|
||||
|
||||
cd packages
|
||||
|
||||
for i in $(egrep -v "^(%{?separate_packages})-" platform.packages); do
|
||||
name=$(echo $i | sed -e "s/\(.*\)-.*/\1/")
|
||||
ver=$(echo $i | sed -e "s/.*-\(.*\)/\1/")
|
||||
cd $name-$ver
|
||||
case $name in
|
||||
alex|cabal-install|happy)
|
||||
%ghc_bin_install $name $ver
|
||||
;;
|
||||
*)
|
||||
%ghc_lib_install $name $ver
|
||||
# for ghc-7.8
|
||||
#%%ghc_gen_filelists $name $ver
|
||||
echo "%doc packages/$name-$ver/LICENSE" >> ghc-$name.files
|
||||
;;
|
||||
esac
|
||||
cd ..
|
||||
done
|
||||
|
||||
mv */*.files ..
|
||||
cd ..
|
||||
|
||||
%ghc_strip_dynlinked
|
||||
|
||||
rm %{buildroot}/%{_docdir}/ghc-%{name}*/LICENSE
|
||||
|
||||
|
||||
%post -n ghc-haskell-platform-devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%postun -n ghc-haskell-platform-devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%files
|
||||
%doc packages/%{name}-%{version}/LICENSE
|
||||
|
||||
|
||||
%files -n ghc-haskell-platform-devel -f ghc-haskell-platform-devel.files
|
||||
%doc packages/haskell-platform-%{version}/LICENSE
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2024.1-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2024.1-35
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Fri Dec 6 2024 Jens Petersen <petersen@redhat.com> - 2024.1-34
|
||||
- stack is now packaged separately
|
||||
|
||||
* Thu Aug 1 2024 Jens Petersen <petersen@redhat.com> - 2024.1-33
|
||||
- https://hackage.haskell.org/package/stack-2.15.7/changelog
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.1-32
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Mon Jul 8 2024 Jens Petersen <petersen@redhat.com> - 2023.1-31
|
||||
- update to new stackage snapshots.json url
|
||||
|
||||
* Thu Mar 7 2024 Jens Petersen <petersen@redhat.com> - 2023.1-30
|
||||
- stack-symlink-distro-ghc: workaround for ppc64le and no longer error
|
||||
for existing dir
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.1-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.1-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Dec 15 2023 Jens Petersen <petersen@redhat.com> - 2023.1-27
|
||||
- patch Stack.Setup to accept PPC64 and S390X Linux platforms
|
||||
|
||||
* Tue Nov 7 2023 Jens Petersen <petersen@redhat.com> - 2023.1-26
|
||||
- make stack-symlink-distro-ghc executable
|
||||
|
||||
* Tue Aug 8 2023 Jens Petersen <petersen@redhat.com> - 2023.1-25
|
||||
- bring back the stack InvalidAbsFile patch updated for 2.9.3
|
||||
https://github.com/commercialhaskell/stack/pull/6028
|
||||
- disable warnings about untested ghc and Cabal versions
|
||||
|
||||
* Sat Jul 29 2023 Jens Petersen <petersen@redhat.com> - 2023.1-24
|
||||
- stack-2.9.3.1
|
||||
- https://hackage.haskell.org/package/stack-2.9.3.1/changelog
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2022.2-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Apr 11 2023 Jens Petersen <petersen@redhat.com> - 2022.2-22
|
||||
- backport fix for error: InvalidAbsFile "/usr/lib64/ghc-9.2.3/lib/../lib/x86_64-linux-ghc-9.2.3/rts-1.0.2/include/ghcversion.h" (#5866)
|
||||
|
||||
* Tue Feb 21 2023 Jens Petersen <petersen@redhat.com> - 2022.2-21
|
||||
- update to stack 2.9.1
|
||||
- https://hackage.haskell.org/package/stack-2.9.1/changelog
|
||||
- SPDX migration
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2022.1-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 20 2022 Jens Petersen <petersen@redhat.com> - 2022.1-19
|
||||
- rebuild
|
||||
|
||||
* Sat Apr 30 2022 Jens Petersen <petersen@redhat.com> - 2022.1-18
|
||||
- stack-symlink-distro-ghc script for setting up stack to use ghcX.Y
|
||||
|
||||
* Mon Mar 21 2022 Jens Petersen <petersen@redhat.com> - 2022.1-17
|
||||
- silence the warnings about ghc-9.2 and Cabal-3.6
|
||||
|
||||
* Sun Mar 20 2022 Jens Petersen <petersen@redhat.com> - 2022.1-16
|
||||
- https://hackage.haskell.org/package/stack-2.7.5/changelog
|
||||
- drop regex-applicative-text library
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2021.1-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 2021.1-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
||||
|
||||
* Tue Aug 10 2021 Jens Petersen <petersen@redhat.com> - 2021.1-13
|
||||
- stack-2.7.3
|
||||
- https://github.com/commercialhaskell/stack/releases/tag/v2.7.3
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jun 8 2021 Jens Petersen <petersen@redhat.com> - 2020.2-11
|
||||
- use ghc_delete_rpaths
|
||||
|
||||
* Thu Mar 18 2021 Jens Petersen <petersen@redhat.com> - 2020.2-10
|
||||
- retry was packaged in Fedora
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sun Jan 24 2021 Jens Petersen <petersen@redhat.com> - 2020.2-8
|
||||
- infer-license was packaged
|
||||
|
||||
* Sun Jan 17 2021 Jens Petersen <petersen@redhat.com> - 2020.2-7
|
||||
- th-utilities is not longer needed for pantry/store
|
||||
|
||||
* Fri Sep 18 2020 Jens Petersen <petersen@redhat.com>
|
||||
- stack: use recommends for zlib-devel
|
||||
|
||||
* Wed Sep 16 2020 Jens Petersen <petersen@redhat.com> - 2020.2-6
|
||||
- stack requires gmp-devel and gcc
|
||||
https://github.com/commercialhaskell/stack/issues/5388
|
||||
|
||||
* Tue Aug 11 2020 Jens Petersen <petersen@redhat.com> - 2020.2-5
|
||||
- stack-2.3.3
|
||||
- https://github.com/commercialhaskell/stack/releases/tag/v2.3.3
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2020.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jun 25 2020 Jens Petersen <petersen@redhat.com> - 2020.2-3
|
||||
- update stack to 2.3.1
|
||||
|
||||
* Sat May 2 2020 Jens Petersen <petersen@redhat.com>
|
||||
- generate bash completions
|
||||
|
||||
* Sun Apr 12 2020 Jens Petersen <petersen@redhat.com> - 2020.1-2
|
||||
- stack requires ghc-zlib-devel for ghc
|
||||
- stack: silence warnings about ghc-8.8 and Cabal-3.0
|
||||
|
||||
* Wed Apr 8 2020 Jens Petersen <petersen@redhat.com> - 2020.1-1
|
||||
- subpackage stack package tool
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2019.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu May 9 2019 Jens Petersen <petersen@redhat.com> - 2019.1-2
|
||||
- move obsoletes to ghc-obsoletes to not pull in this heavy package
|
||||
|
||||
* Wed May 8 2019 Jens Petersen <petersen@redhat.com> - 2019.1-1
|
||||
- haskell-platform is now just a meta-package
|
||||
- obsolete previous subpackaged Haskell Platform libraries
|
||||
- package is now noarch
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2018.8.2.2-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 2018.8.2.2-14
|
||||
- refresh to lts-11
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2017.8.2.2-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 15 2018 Jens Petersen <petersen@redhat.com> - 2017.8.2.2-12
|
||||
- remove _isa from buildrequires (#1545187)
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2017.8.2.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Feb 5 2018 Jens Petersen <petersen@redhat.com> - 2017.8.2.2-10
|
||||
- update to upstream 8.2.2 release
|
||||
|
||||
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 2017.8.0.2-9
|
||||
- rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2017.8.0.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2017.8.0.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* 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'
|
||||
- core haskell-platform now just provides tools
|
||||
- drop ghc-haskell-platform-devel subpackage
|
||||
|
||||
* Fri Feb 10 2017 Jens Petersen <petersen@redhat.com> - 2016.7.10.3-4
|
||||
- subpackage build like for other packages
|
||||
|
||||
* Wed Sep 28 2016 Jens Petersen <petersen@redhat.com> - 2016.7.10.3-3
|
||||
- rebuild
|
||||
|
||||
* Fri Jul 29 2016 Jens Petersen <petersen@redhat.com> - 2016.7.10.3-2
|
||||
- split-0.2.3.1
|
||||
- use new ghc_libs_build and ghc_libs_install macros
|
||||
- disable GL packages for armv7hl (#1372527)
|
||||
|
||||
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 2016.7.10.3-1
|
||||
- update to new haskell-platform version 7.10.3
|
||||
- new half multipart ObjectName StateVar subpackages
|
||||
- haskell98 dropped and cgi is back
|
||||
- old-locale and old-time packages added
|
||||
- bump version to 2016 for version bumps and to avoid epoch
|
||||
- alex-3.1.7, async-2.1.0, attoparsec-0.13.0.2, cabal-install-1.22.9.0,
|
||||
HUnit-1.3.1.1, network-uri 2.6.1.0, parallel-3.2.1.0, parsec-3.1.11,
|
||||
QuickCheck-2.8.2, scientific-0.3.4.7, split-0.2.3, text-1.2.2.1, zlib-0.6.1.1
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2014.2.0.0.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2014.2.0.0.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Wed May 13 2015 Jens Petersen <petersen@redhat.com> - 2014.2.0.0.3-4
|
||||
- bump cabal-install to 1.18.1.0 and allow newer versions
|
||||
|
||||
* Fri Apr 10 2015 Jens Petersen <petersen@redhat.com> - 2014.2.0.0.2-3
|
||||
- workaround build-tools version detection failures on aarch64 (#1210323)
|
||||
|
||||
* Fri Apr 3 2015 Jens Petersen <petersen@redhat.com> - 2014.2.0.0.2-2
|
||||
- bump alex to 3.1.4
|
||||
- bump cabal-install to 1.18.0.8
|
||||
- bump happy to 1.19.5
|
||||
- bump QuickCheck to 2.7.6
|
||||
|
||||
* Fri Feb 6 2015 Jens Petersen <petersen@redhat.com> - 2014.2.0.0.1-1
|
||||
- use ghc-7.8.4
|
||||
- bump attoparsec to 0.11.3.4
|
||||
- bump text to 1.1.1.3
|
||||
|
||||
* Wed Aug 20 2014 Jens Petersen <petersen@redhat.com> - 2014.2.0.0-1
|
||||
- update to haskell-platform-2014.2
|
||||
- ghc-7.8.3+ ships xhtml
|
||||
- cgi dropped
|
||||
- requires hscolour
|
||||
|
||||
* Tue Jul 8 2014 Jens Petersen <petersen@redhat.com> - 2013.2.0.0-37
|
||||
- rebuild for F21
|
||||
|
||||
|
|
|
|||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
36d02a889ad57a6345b167f5c7a6c164 haskell-platform-2013.2.0.0.tar.gz
|
||||
11
stack-Setup-Platforms.patch
Normal file
11
stack-Setup-Platforms.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- stack-2.15.7/src/Stack/Setup.hs~ 2024-05-12 22:50:14.000000000 +0800
|
||||
+++ stack-2.15.7/src/Stack/Setup.hs 2024-08-02 01:11:32.252316054 +0800
|
||||
@@ -2138,6 +2138,8 @@
|
||||
Platform Sparc Cabal.Linux -> pure "linux-sparc"
|
||||
Platform AArch64 Cabal.OSX -> pure "macosx-aarch64"
|
||||
Platform AArch64 Cabal.FreeBSD -> pure "freebsd-aarch64"
|
||||
+ Platform PPC64 Cabal.Linux -> pure "linux-ppc64"
|
||||
+ Platform S390X Cabal.Linux -> pure "linux-s390x"
|
||||
Platform arch os ->
|
||||
prettyThrowM $ UnsupportedSetupCombo os arch tool toolDir programsDir
|
||||
|
||||
38
stack-disable-ghc-Cabal-version-warnings.patch
Normal file
38
stack-disable-ghc-Cabal-version-warnings.patch
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
--- stack-2.9.3.1/src/Stack/Setup.hs~ 2023-06-22 18:40:54.000000000 +0800
|
||||
+++ stack-2.9.3.1/src/Stack/Setup.hs 2023-08-08 14:29:43.486062926 +0800
|
||||
@@ -719,12 +719,12 @@
|
||||
logWarn "For more information, see: https://github.com/commercialhaskell/stack/issues/648"
|
||||
logWarn ""
|
||||
pure True
|
||||
- | ghcVersion >= mkVersion [9, 5] -> do
|
||||
- logWarn $
|
||||
- "Stack has not been tested with GHC versions above 9.4, and using " <>
|
||||
- fromString (versionString ghcVersion) <>
|
||||
- ", this may fail"
|
||||
- pure True
|
||||
+ -- | ghcVersion >= mkVersion [9, 5] -> do
|
||||
+ -- logWarn $
|
||||
+ -- "Stack has not been tested with GHC versions above 9.4, and using " <>
|
||||
+ -- fromString (versionString ghcVersion) <>
|
||||
+ -- ", this may fail"
|
||||
+ -- pure True
|
||||
| otherwise -> do
|
||||
logDebug "Asking for a supported GHC version"
|
||||
pure False
|
||||
@@ -746,11 +746,11 @@
|
||||
logWarn "This invocation will most likely fail."
|
||||
logWarn "To fix this, either use an older version of Stack or a newer resolver"
|
||||
logWarn "Acceptable resolvers: lts-3.0/nightly-2015-05-05 or later"
|
||||
- | cabalVersion >= mkVersion [3, 9] ->
|
||||
- logWarn $
|
||||
- "Stack has not been tested with Cabal versions above 3.8, but version " <>
|
||||
- fromString (versionString cabalVersion) <>
|
||||
- " was found, this may fail"
|
||||
+ -- | cabalVersion >= mkVersion [3, 9] ->
|
||||
+ -- logWarn $
|
||||
+ -- "Stack has not been tested with Cabal versions above 3.8, but version " <>
|
||||
+ -- fromString (versionString cabalVersion) <>
|
||||
+ -- " was found, this may fail"
|
||||
| otherwise -> pure ()
|
||||
|
||||
-- | Ensure that the msys toolchain is installed if necessary and
|
||||
49
stack-disabled-global-warnings.patch
Normal file
49
stack-disabled-global-warnings.patch
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
diff -up stack-2.15.7/src/Stack/Config.hs~ stack-2.15.7/src/Stack/Config.hs
|
||||
--- stack-2.15.7/src/Stack/Config.hs~ 2024-05-12 22:50:13.000000000 +0800
|
||||
+++ stack-2.15.7/src/Stack/Config.hs 2024-08-02 01:21:01.138918479 +0800
|
||||
@@ -435,9 +435,9 @@ configFromConfigMonoid
|
||||
fromFirst Constants.hackageBaseUrl configMonoid.hackageBaseUrl
|
||||
hideSourcePaths = fromFirstTrue configMonoid.hideSourcePaths
|
||||
recommendUpgrade = fromFirstTrue configMonoid.recommendUpgrade
|
||||
- notifyIfNixOnPath = fromFirstTrue configMonoid.notifyIfNixOnPath
|
||||
- notifyIfGhcUntested = fromFirstTrue configMonoid.notifyIfGhcUntested
|
||||
- notifyIfCabalUntested = fromFirstTrue configMonoid.notifyIfCabalUntested
|
||||
+ notifyIfNixOnPath = fromFirstFalse configMonoid.notifyIfNixOnPath
|
||||
+ notifyIfGhcUntested = fromFirstFalse configMonoid.notifyIfGhcUntested
|
||||
+ notifyIfCabalUntested = fromFirstFalse configMonoid.notifyIfCabalUntested
|
||||
notifyIfArchUnknown = fromFirstTrue configMonoid.notifyIfArchUnknown
|
||||
noRunCompile = fromFirstFalse configMonoid.noRunCompile
|
||||
allowDifferentUser <-
|
||||
diff -up stack-2.15.7/src/Stack/Types/ConfigMonoid.hs~ stack-2.15.7/src/Stack/Types/ConfigMonoid.hs
|
||||
--- stack-2.15.7/src/Stack/Types/ConfigMonoid.hs~ 2024-05-12 22:50:14.000000000 +0800
|
||||
+++ stack-2.15.7/src/Stack/Types/ConfigMonoid.hs 2024-08-02 01:20:22.724711778 +0800
|
||||
@@ -170,11 +170,11 @@ data ConfigMonoid = ConfigMonoid
|
||||
-- ^ See 'configHideSourcePaths'
|
||||
, recommendUpgrade :: !FirstTrue
|
||||
-- ^ See 'configRecommendUpgrade'
|
||||
- , notifyIfNixOnPath :: !FirstTrue
|
||||
+ , notifyIfNixOnPath :: !FirstFalse
|
||||
-- ^ See 'configNotifyIfNixOnPath'
|
||||
- , notifyIfGhcUntested :: !FirstTrue
|
||||
+ , notifyIfGhcUntested :: !FirstFalse
|
||||
-- ^ See 'configNotifyIfGhcUntested'
|
||||
- , notifyIfCabalUntested :: !FirstTrue
|
||||
+ , notifyIfCabalUntested :: !FirstFalse
|
||||
-- ^ See 'configNotifyIfCabalUntested'
|
||||
, notifyIfArchUnknown :: !FirstTrue
|
||||
-- ^ See 'configNotifyIfArchUnknown'
|
||||
@@ -317,11 +317,11 @@ parseConfigMonoidObject rootDir obj = do
|
||||
let styles = fromMaybe mempty $ configMonoidStylesUS <|> configMonoidStylesGB
|
||||
hideSourcePaths <- FirstTrue <$> obj ..:? configMonoidHideSourcePathsName
|
||||
recommendUpgrade <- FirstTrue <$> obj ..:? configMonoidRecommendUpgradeName
|
||||
- notifyIfNixOnPath <- FirstTrue <$> obj ..:? configMonoidNotifyIfNixOnPathName
|
||||
+ notifyIfNixOnPath <- FirstFalse <$> obj ..:? configMonoidNotifyIfNixOnPathName
|
||||
notifyIfGhcUntested <-
|
||||
- FirstTrue <$> obj ..:? configMonoidNotifyIfGhcUntestedName
|
||||
+ FirstFalse <$> obj ..:? configMonoidNotifyIfGhcUntestedName
|
||||
notifyIfCabalUntested <-
|
||||
- FirstTrue <$> obj ..:? configMonoidNotifyIfCabalUntestedName
|
||||
+ FirstFalse <$> obj ..:? configMonoidNotifyIfCabalUntestedName
|
||||
notifyIfArchUnknown <-
|
||||
FirstTrue <$> obj ..:? configMonoidNotifyIfArchUnknownName
|
||||
casaOpts <- jsonSubWarnings (obj ..:? configMonoidCasaOptsName ..!= mempty)
|
||||
51
stack-symlink-distro-ghc
Executable file
51
stack-symlink-distro-ghc
Executable file
|
|
@ -0,0 +1,51 @@
|
|||
#!/bin/sh
|
||||
|
||||
VERSION=$1
|
||||
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "Usage: $0 X.Y.Z"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#set +x
|
||||
|
||||
#FIXME lib
|
||||
LIBDIR=/usr/lib64/ghc-$VERSION
|
||||
if [ ! -d "$LIBDIR" ]; then
|
||||
echo "$0: $LIBDIR does not exist: please install ghcX.Y first"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ARCH=$(arch)
|
||||
|
||||
# stack/Cabal doesn't know ppc64le
|
||||
if [ "$ARCH" = "ppc64le" ]; then
|
||||
ARCH=ppc64
|
||||
fi
|
||||
|
||||
STACK_PROGRAMS=$HOME/.stack/programs/$ARCH-linux
|
||||
|
||||
STACK_GHCDIR=${STACK_PROGRAMS}/ghc-tinfo6-$VERSION
|
||||
|
||||
if [ -e "$STACK_GHCDIR" ]; then
|
||||
echo "$0: $STACK_GHCDIR exists: to replace, please remove first"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mkdir -p $STACK_GHCDIR/bin
|
||||
|
||||
for i in ghc ghc-pkg ghci hp2ps hpc hsc2hs runghc runhaskell; do
|
||||
if [ -x /usr/bin/$i-$VERSION ]; then
|
||||
ln -s /usr/bin/$i-$VERSION $STACK_GHCDIR/bin/$i
|
||||
elif [ -x /usr/bin/$i-ghc-$VERSION ]; then
|
||||
ln -s /usr/bin/$i-ghc-$VERSION $STACK_GHCDIR/bin/$i
|
||||
else
|
||||
ln -s /usr/bin/$i $STACK_GHCDIR/bin/$i
|
||||
fi
|
||||
done
|
||||
|
||||
ln -s /usr/bin/haddock-ghc-$VERSION $STACK_GHCDIR/bin/haddock
|
||||
|
||||
if [ ! -f "${STACK_GHCDIR}.installed" ]; then
|
||||
echo "installed" > $STACK_GHCDIR.installed
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue