osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-hslua-module-version revision:3, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua-module-version?expand=0&rev=3
This commit is contained in:
Peter Simons 2022-02-09 13:44:54 +00:00 committed by Git OBS Bridge
parent 6628651d77
commit 9a0af84994
5 changed files with 92 additions and 6 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Feb 4 12:15:30 UTC 2022 - psimons@suse.com
- Update hslua-module-version to version 1.0.1 revision 1.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/hslua-module-version-1.0.1/src/CHANGELOG.md
-------------------------------------------------------------------
Mon Nov 1 08:47:20 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-hslua-module-version
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,15 +19,16 @@
%global pkg_name hslua-module-version
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.0.0
Version: 1.0.1
Release: 0
Summary: Lua module to work with version specifiers
License: MIT
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-filepath-devel
BuildRequires: ghc-hslua-devel
BuildRequires: ghc-hslua-core-devel
BuildRequires: ghc-hslua-marshalling-devel
BuildRequires: ghc-hslua-packaging-devel
BuildRequires: ghc-rpm-macros
@ -55,6 +56,7 @@ files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d63b7b905608e52680c998e95a4c898ed16ff20bb434d06f568fbca2760473cd
size 5534

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc97d9f1292de02cde4d7a62bd4adcd8e58e82e1e1050710b31e167cbdbbb388
size 5780

View File

@ -0,0 +1,75 @@
cabal-version: 2.2
name: hslua-module-version
version: 1.0.1
x-revision: 1
synopsis: Lua module to work with version specifiers.
description: Wrapper for the Data.Version.Version Haskell type.
homepage: https://hslua.org/
bug-reports: https://github.com/hslua/hslua/issues
license: MIT
license-file: LICENSE
author: Albert Krewinkel
maintainer: Albert Krewinkel <albert@zeitkraut.de>
copyright: © 2019-2022 Albert Krewinkel
category: Foreign
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
extra-source-files: test/test-version.lua
tested-with: GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.1
, GHC == 9.2.1
source-repository head
type: git
location: https://github.com/hslua/hslua.git
subdir: hslua-module-version
common common-options
build-depends: base >= 4.9.1 && < 5
, filepath >= 1.4 && < 1.5
, hslua-core >= 2.1 && < 2.2
, hslua-marshalling >= 2.1 && < 2.2
, hslua-packaging >= 2.1 && < 2.2
, text >= 1.2 && < 2.1
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
if impl(ghc >= 8.0)
ghc-options: -Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
default-language: Haskell2010
library
import: common-options
hs-source-dirs: src
exposed-modules: HsLua.Module.Version
test-suite hslua-module-version-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: test-hslua-module-version.hs
build-depends: base
, hslua-module-version
, tasty
, tasty-hunit
, tasty-lua >= 1.0 && < 1.1
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N