1
0

Accepting request 829151 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/829151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-HsYAML-aeson?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-08-28 19:23:51 +00:00 committed by Git OBS Bridge
commit dcd6d159ed
3 changed files with 9 additions and 5 deletions

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 18 10:43:48 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 16 11:13:37 UTC 2020 - Peter Simons <psimons@suse.com>

View File

@ -24,7 +24,7 @@ Summary: JSON to YAML Adapter
License: GPL-2.0-or-later
URL: https://hackage.haskell.org/package/%{pkg_name}
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-HsYAML-devel
BuildRequires: ghc-aeson-devel
@ -60,9 +60,8 @@ Requires(postun): ghc-compiler = %{ghc_version}
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
cabal-tweak-dep-ver aeson '^>= 1.4.0.0' '< 2'
%build
%ghc_lib_build