Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ce671caeb | ||
|
|
5153748ff2 |
2 changed files with 10 additions and 2 deletions
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
Name: haskell-platform
|
||||
Version: 2022.1
|
||||
Release: 20%{?dist}
|
||||
Release: 22%{?dist}
|
||||
Summary: Standard Haskell distribution
|
||||
|
||||
License: BSD
|
||||
|
|
@ -258,7 +258,7 @@ echo %{_bindir}/haskell-mustache >> %{mustache}/ghc-mustache.files
|
|||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
||||
%{buildroot}%{_bindir}/stack --bash-completion-script stack | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/stack
|
||||
|
||||
install -p -m 644 %{SOURCE20} %{buildroot}%{_bindir}/stack-symlink-distro-ghc
|
||||
install -p %{SOURCE20} %{buildroot}%{_bindir}/stack-symlink-distro-ghc
|
||||
|
||||
|
||||
%files
|
||||
|
|
@ -275,6 +275,12 @@ install -p -m 644 %{SOURCE20} %{buildroot}%{_bindir}/stack-symlink-distro-ghc
|
|||
|
||||
|
||||
%changelog
|
||||
* Sun Nov 12 2023 Jens Petersen <petersen@redhat.com> - 2022.1-22
|
||||
- stack-symlink-distro-ghc: also symlink bin/*-ghc-version
|
||||
|
||||
* Sun Nov 12 2023 Jens Petersen <petersen@redhat.com> - 2022.1-21
|
||||
- make stack-symlink-distro-ghc executable
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2022.1-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue