|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# generated by cabal-rpm-2.0.5
|
|
|
|
|
# generated by cabal-rpm-2.0.6
|
|
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
|
|
|
|
|
|
|
%global pkg_name ansi-wl-pprint
|
|
|
|
@ -68,6 +68,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|
|
|
|
# Begin cabal-rpm setup:
|
|
|
|
|
%setup -q -n %{pkgver}
|
|
|
|
|
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
|
|
|
|
chmod a-x Changelog.md README.md
|
|
|
|
|
# End cabal-rpm setup
|
|
|
|
|
sed -i 's/\r$//' README.md
|
|
|
|
|
|
|
|
|
@ -81,20 +82,9 @@ sed -i 's/\r$//' README.md
|
|
|
|
|
%install
|
|
|
|
|
# Begin cabal-rpm install
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
chmod a-x Changelog.md README.md
|
|
|
|
|
# End cabal-rpm install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
|
%license LICENSE
|
|
|
|
|