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:
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

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