osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-hslua-module-path revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua-module-path?expand=0&rev=4
This commit is contained in:
parent
6ce2842cfa
commit
c5c2146a11
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 4 12:15:33 UTC 2022 - psimons@suse.com
|
||||
|
||||
- Update hslua-module-path 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-path-1.0.1/src/CHANGELOG.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 1 08:26:33 UTC 2021 - psimons@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-hslua-module-path
|
||||
#
|
||||
# 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-path
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.0.0
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
Summary: Lua module to work with file paths
|
||||
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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ef2fc58690017280be990e2e96b3c2a3b14f5468baa8c09dd9d05ff1f7a40afa
|
||||
size 7981
|
3
hslua-module-path-1.0.1.tar.gz
Normal file
3
hslua-module-path-1.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dd505e9236b6140dd9a5b3711b9a010de058cd5fe5b65c07981b5b32fd74d8b9
|
||||
size 7950
|
77
hslua-module-path.cabal
Normal file
77
hslua-module-path.cabal
Normal file
@ -0,0 +1,77 @@
|
||||
cabal-version: 2.2
|
||||
name: hslua-module-path
|
||||
version: 1.0.1
|
||||
x-revision: 1
|
||||
synopsis: Lua module to work with file paths.
|
||||
description: Lua module to work with file paths in a platform
|
||||
independent way.
|
||||
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: © 2020-2022 Albert Krewinkel
|
||||
category: Foreign
|
||||
build-type: Simple
|
||||
extra-doc-files: README.md
|
||||
CHANGELOG.md
|
||||
extra-source-files: test/test-path.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
|
||||
subdir: hslua-module-path
|
||||
|
||||
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.Path
|
||||
|
||||
test-suite hslua-module-path-test
|
||||
import: common-options
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
main-is: test-hslua-module-path.hs
|
||||
build-depends: base
|
||||
, hslua-module-path
|
||||
, tasty
|
||||
, tasty-hunit
|
||||
, tasty-lua >= 1.0 && < 1.1
|
||||
, text
|
||||
ghc-options: -threaded
|
||||
-rtsopts
|
||||
-with-rtsopts=-N
|
Loading…
Reference in New Issue
Block a user