use autopatch
This commit is contained in:
parent
d12525074b
commit
0f7e36c5be
@ -1,4 +1,4 @@
|
|||||||
# generated by cabal-rpm-2.1.0 --subpackage
|
# generated by cabal-rpm-2.1.2 --subpackage
|
||||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name yaml
|
%global pkg_name yaml
|
||||||
@ -21,7 +21,7 @@ Url: https://hackage.haskell.org/package/%{pkg_name}
|
|||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{libyaml}/%{libyaml}.tar.gz
|
Source1: https://hackage.haskell.org/package/%{libyaml}/%{libyaml}.tar.gz
|
||||||
# End cabal-rpm sources
|
# End cabal-rpm sources
|
||||||
Patch1: system-libyaml.patch
|
Patch0: system-libyaml.patch
|
||||||
|
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
@ -122,7 +122,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver} -a1
|
%setup -q -n %{pkgver} -a1
|
||||||
# End cabal-rpm setup
|
# End cabal-rpm setup
|
||||||
%patch1 -p1 -b .orig
|
%autopatch -p1
|
||||||
(
|
(
|
||||||
cd %{libyaml}
|
cd %{libyaml}
|
||||||
# remove the bundled lib
|
# remove the bundled lib
|
||||||
|
Loading…
Reference in New Issue
Block a user