osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-Glob revision:6, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-Glob?expand=0&rev=41
This commit is contained in:
2019-06-11 14:10:45 +00:00
committed by Git OBS Bridge
parent f1a574c916
commit ee2c154633
2 changed files with 96 additions and 0 deletions

View File

@@ -26,6 +26,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
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
@@ -58,6 +59,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
chmod -x *.txt # https://github.com/Deewiant/glob/issues/31
%build