refresh to cabal-rpm-2.1.0 including SPDX migration
This commit is contained in:
parent
784a60aaf0
commit
eb71460a46
@ -1,4 +1,4 @@
|
||||
# generated by cabal-rpm-2.0.9
|
||||
# generated by cabal-rpm-2.1.0
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%global pkg_name zlib-bindings
|
||||
@ -11,7 +11,8 @@ Version: 0.1.1.5
|
||||
Release: %autorelease
|
||||
Summary: Low-level bindings to the zlib package
|
||||
|
||||
License: BSD
|
||||
# license file is 2 clause
|
||||
License: BSD-2-Clause
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
@ -19,11 +20,17 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-zlib-devel
|
||||
%if %{with ghc_prof}
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-bytestring-prof
|
||||
BuildRequires: ghc-zlib-prof
|
||||
%endif
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-hspec-devel
|
||||
@ -31,6 +38,8 @@ BuildRequires: ghc-hspec-devel
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
Low-level bindings to the zlib package.
|
||||
|
||||
Deprecated in favor of streaming-commons.
|
||||
|
||||
|
||||
@ -72,7 +81,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user