|
|
@ -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/
|
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
|
|
|
|
|
|
|
|
|
%global pkg_name zip-archive
|
|
|
|
%global pkg_name zip-archive
|
|
|
@ -37,11 +37,11 @@ BuildRequires: ghc-text-prof
|
|
|
|
BuildRequires: ghc-time-prof
|
|
|
|
BuildRequires: ghc-time-prof
|
|
|
|
BuildRequires: ghc-unix-prof
|
|
|
|
BuildRequires: ghc-unix-prof
|
|
|
|
BuildRequires: ghc-zlib-prof
|
|
|
|
BuildRequires: ghc-zlib-prof
|
|
|
|
BuildRequires: unzip
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
BuildRequires: ghc-process-devel
|
|
|
|
BuildRequires: ghc-process-devel
|
|
|
|
BuildRequires: ghc-temporary-devel
|
|
|
|
BuildRequires: ghc-temporary-devel
|
|
|
|
|
|
|
|
BuildRequires: unzip
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
|
@ -125,16 +125,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
|
|
|
|
%cabal_test
|
|
|
|
%cabal_test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%files -f %{name}.files
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
# Begin cabal-rpm files:
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|