refresh to cabal-rpm-2.0.2
This commit is contained in:
parent
8991b1edda
commit
7697cbf0c0
|
@ -1,16 +1,12 @@
|
|||
# generated by cabal-rpm-1.0.3
|
||||
# generated by cabal-rpm-2.0.2
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name path
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
%global _devel -%{?ghc_devel_prof}%{!?ghc_devel_prof:devel}
|
||||
|
||||
%bcond_with tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.6.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Support for well-typed paths
|
||||
|
||||
License: BSD
|
||||
|
@ -23,22 +19,13 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
|
|||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-aeson%{_devel}
|
||||
BuildRequires: ghc-base%{_devel}
|
||||
BuildRequires: ghc-deepseq%{_devel}
|
||||
BuildRequires: ghc-exceptions%{_devel}
|
||||
BuildRequires: ghc-filepath%{_devel}
|
||||
BuildRequires: ghc-hashable%{_devel}
|
||||
BuildRequires: ghc-template-haskell%{_devel}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-genvalidity-devel
|
||||
BuildRequires: ghc-genvalidity-property-devel
|
||||
BuildRequires: ghc-hspec-devel
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-validity-devel
|
||||
%endif
|
||||
BuildRequires: ghc-aeson-prof
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-deepseq-prof
|
||||
BuildRequires: ghc-exceptions-prof
|
||||
BuildRequires: ghc-filepath-prof
|
||||
BuildRequires: ghc-hashable-prof
|
||||
BuildRequires: ghc-template-haskell-prof
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
|
@ -98,10 +85,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
|
|||
# End cabal-rpm install
|
||||
|
||||
|
||||
%check
|
||||
%cabal_test
|
||||
|
||||
|
||||
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
@ -134,6 +117,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 19 2020 Jens Petersen <petersen@redhat.com> - 0.6.1-3
|
||||
- refresh to cabal-rpm-2.0.2
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue