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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-Glob?expand=0&rev=60
This commit is contained in:
2020-09-04 15:09:50 +00:00
committed by Git OBS Bridge
parent 1b7153ad28
commit 8e2b381a7c
5 changed files with 25 additions and 102 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-Glob
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,12 @@
%global pkg_name Glob
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.10.0
Version: 0.10.1
Release: 0
Summary: Globbing library
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
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
@@ -56,8 +55,7 @@ Requires(postun): ghc-compiler = %{ghc_version}
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%autosetup -n %{pkg_name}-%{version}
chmod -x *.txt # https://github.com/Deewiant/glob/issues/31
%build