1
0

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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lens-aeson?expand=0&rev=2
This commit is contained in:
Ondřej Súkup 2020-12-18 12:52:30 +00:00 committed by Git OBS Bridge
parent 8e458c6dd5
commit 562d56b237
3 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Oct 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- force i686 arch on i586
-------------------------------------------------------------------
Thu Dec 17 10:46:18 UTC 2020 - psimons@suse.com
- Update lens-aeson to version 1.1 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sun Nov 29 18:14:48 UTC 2020 - psimons@suse.com

View File

@ -25,7 +25,7 @@ Summary: Law-abiding lenses for aeson
License: MIT
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/2.cabal#/%{pkg_name}.cabal
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-attoparsec-devel
@ -37,6 +37,12 @@ BuildRequires: ghc-scientific-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-vector-devel
# GHC dont support i586
%ifarch %{ix86}
ExclusiveArch: i586 i686
ExclusiveArch: i686
%{expand:%%global optflags %(echo "%{optflags}"|sed -e s/i586/i686/) -march=i686 -mtune=generic}
%endif
%if %{with tests}
BuildRequires: ghc-doctest-devel
BuildRequires: ghc-generic-deriving-devel

View File

@ -1,7 +1,7 @@
name: lens-aeson
category: Numeric
version: 1.1
x-revision: 2
x-revision: 3
license: MIT
cabal-version: >= 1.8
license-file: LICENSE
@ -61,7 +61,7 @@ library
vector >= 0.9 && < 0.13,
unordered-containers >= 0.2.3 && < 0.3,
attoparsec >= 0.10 && < 0.14,
bytestring >= 0.9 && < 0.11,
bytestring >= 0.9 && < 0.12,
aeson >= 0.7.0.5 && < 1.6,
scientific >= 0.3.2 && < 0.4