Accepting request 609822 from devel:languages:haskell

Update to support new ghc-rpm-macros.

OBS-URL: https://build.opensuse.org/request/show/609822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-tagged?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2018-05-30 10:20:51 +00:00 committed by Git OBS Bridge
commit 44186cc1c5
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 16 14:36:29 UTC 2018 - psimons@suse.com
- Prefer the new %license attribute over %doc.
- Update Cabal file to revision 2.
* add support for GHC 8.4.x
-------------------------------------------------------------------
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com

View File

@ -25,7 +25,7 @@ License: BSD-3-Clause
Group: Development/Libraries/Haskell
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-deepseq-devel
BuildRequires: ghc-rpm-macros
@ -64,7 +64,7 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%ghc_pkg_recache
%files -f %{name}.files
%doc LICENSE
%license LICENSE
%files devel -f %{name}-devel.files
%doc CHANGELOG.markdown README.markdown

View File

@ -1,6 +1,6 @@
name: tagged
version: 0.8.5
x-revision: 1
x-revision: 2
license: BSD3
license-file: LICENSE
author: Edward A. Kmett
@ -58,7 +58,7 @@ library
if impl(ghc>=7.6)
exposed-modules: Data.Proxy.TH
build-depends: template-haskell >= 2.8 && < 2.13
build-depends: template-haskell >= 2.8 && < 2.14
if flag(deepseq)
build-depends: deepseq >= 1.1 && < 1.5