use dos2unix for cabal revision
This commit is contained in:
parent
cf6cc70157
commit
065b6749e7
@ -19,6 +19,7 @@ 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
|
||||
@ -76,7 +77,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