1
0

osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-HsYAML-aeson revision:14, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HsYAML-aeson?expand=0&rev=12
This commit is contained in:
Peter Simons 2020-08-04 11:07:02 +00:00 committed by Git OBS Bridge
parent e7d7c09ba7
commit 04bfe97f8f
2 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
cabal-version: 2.2 cabal-version: 2.2
name: HsYAML-aeson name: HsYAML-aeson
version: 0.2.0.0 version: 0.2.0.0
x-revision: 1 x-revision: 2
license: GPL-2.0-or-later license: GPL-2.0-or-later
license-file: LICENSE.GPLv2 license-file: LICENSE.GPLv2
author: Herbert Valerio Riedel author: Herbert Valerio Riedel
@ -32,7 +32,7 @@ library
exposed-modules: Data.YAML.Aeson exposed-modules: Data.YAML.Aeson
build-depends: build-depends:
, HsYAML ^>= 0.2.0 , HsYAML ^>= 0.2.0
, aeson ^>= 1.4.0.0 , aeson >= 1.4.0.0 && < 1.6
, base >= 4.5 && < 4.15 , base >= 4.5 && < 4.15
, bytestring ^>= 0.9.2.1 || ^>= 0.10.0.2 , bytestring ^>= 0.9.2.1 || ^>= 0.10.0.2
, containers >=0.4.2 && <0.7 , containers >=0.4.2 && <0.7

View File

@ -24,7 +24,7 @@ Summary: JSON to YAML Adapter
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-HsYAML-devel BuildRequires: ghc-HsYAML-devel
BuildRequires: ghc-aeson-devel BuildRequires: ghc-aeson-devel
@ -62,7 +62,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal cp -p %{SOURCE1} %{pkg_name}.cabal
cabal-tweak-dep-ver aeson '^>= 1.4.0.0' '< 2'
%build %build
%ghc_lib_build %ghc_lib_build