Accepting request 829254 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/829254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-distributive?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2020-08-28 19:29:35 +00:00 committed by Git OBS Bridge
commit 2e09d1b2c9
3 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,7 @@
name: distributive
category: Data Structures
version: 0.6.2
x-revision: 1
x-revision: 2
license: BSD3
cabal-version: >= 1.8
license-file: LICENSE
@ -65,7 +65,7 @@ library
build-depends:
base >= 4 && < 5,
base-orphans >= 0.5.2 && < 1,
transformers >= 0.2 && < 0.6
transformers >= 0.3 && < 0.6
if !impl(ghc >= 7.8) && !impl(ghcjs)
build-depends: transformers-compat >= 0.3 && < 1

View File

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

View File

@ -25,7 +25,7 @@ Summary: Distributive functors -- Dual to Traversable
License: BSD-2-Clause
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-base-orphans-devel
BuildRequires: ghc-cabal-doctest-devel
@ -52,7 +52,7 @@ 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
%build