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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-ed25519?expand=0&rev=37
This commit is contained in:
Peter Simons 2020-05-29 14:39:54 +00:00 committed by Git OBS Bridge
parent ad1beb3a52
commit 5e2e8d99fa
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
name: ed25519 name: ed25519
version: 0.0.5.0 version: 0.0.5.0
x-revision: 2 x-revision: 3
category: Cryptography category: Cryptography
license: MIT license: MIT
synopsis: Ed25519 cryptographic signatures synopsis: Ed25519 cryptographic signatures
@ -61,7 +61,7 @@ flag no-donna
library library
build-depends: build-depends:
ghc-prim >= 0.1 && < 0.6, ghc-prim >= 0.1 && < 0.7,
base >= 4 && < 5, base >= 4 && < 5,
bytestring >= 0.9 && < 0.11 bytestring >= 0.9 && < 0.11

View File

@ -25,7 +25,7 @@ Summary: Ed25519 cryptographic signatures
License: MIT License: MIT
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/2.cabal#/%{pkg_name}.cabal Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
@ -56,7 +56,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal cp -p %{SOURCE1} %{pkg_name}.cabal
cabal-tweak-dep-ver ghc-prim '< 0.6' '< 1'
%build %build
%ghc_lib_build %ghc_lib_build