osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-config-ini revision:8, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-config-ini?expand=0&rev=10
This commit is contained in:
Peter Simons 2020-10-20 09:15:31 +00:00 committed by Git OBS Bridge
parent 702ff31bdd
commit 46bf6d31be
3 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,6 @@
name: config-ini name: config-ini
version: 0.2.4.0 version: 0.2.4.0
x-revision: 1 x-revision: 2
synopsis: A library for simple INI-based configuration files. synopsis: A library for simple INI-based configuration files.
homepage: https://github.com/aisamanra/config-ini homepage: https://github.com/aisamanra/config-ini
bug-reports: https://github.com/aisamanra/config-ini/issues bug-reports: https://github.com/aisamanra/config-ini/issues
@ -50,7 +50,7 @@ library
, text >=1.2.2 && <1.3 , text >=1.2.2 && <1.3
, unordered-containers >=0.2.7 && <0.3 , unordered-containers >=0.2.7 && <0.3
, transformers >=0.4.1 && <0.6 , transformers >=0.4.1 && <0.6
, megaparsec >=7 && <9 , megaparsec >=7 && <10
default-language: Haskell2010 default-language: Haskell2010
test-suite test-ini-compat test-suite test-ini-compat

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 30 08:36:56 UTC 2020 - psimons@suse.com
- Update config-ini to version 0.2.4.0 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 9 14:43:22 UTC 2020 - Peter Simons <psimons@suse.com> Wed Sep 9 14:43:22 UTC 2020 - Peter Simons <psimons@suse.com>

View File

@ -25,7 +25,7 @@ Summary: A library for simple INI-based configuration files
License: BSD-3-Clause License: BSD-3-Clause
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-containers-devel BuildRequires: ghc-containers-devel
BuildRequires: ghc-megaparsec-devel BuildRequires: ghc-megaparsec-devel
@ -60,7 +60,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%autosetup -n %{pkg_name}-%{version} %autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal cp -p %{SOURCE1} %{pkg_name}.cabal
cabal-tweak-dep-ver megaparsec '<9' '< 10'
%build %build
%ghc_lib_build %ghc_lib_build