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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lpeg?expand=0&rev=5
This commit is contained in:
Peter Simons 2023-03-30 08:26:27 +00:00 committed by Git OBS Bridge
parent 166c10542d
commit 9e4c98af4c
4 changed files with 45 additions and 5 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Mar 13 12:06:09 UTC 2023 - Peter Simons <psimons@suse.com>
- Update lpeg to version 1.0.4.
## lpeg-1.0.4
Released 2023-03-13.
- Allow lua-2.3.
- Cease support for GHC 8.2 and older; require base 4.11 or
later.
-------------------------------------------------------------------
Sat Feb 19 14:38:07 UTC 2022 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-lpeg
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,21 +17,27 @@
%global pkg_name lpeg
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.0.3
Version: 1.0.4
Release: 0
Summary: LPeg Parsing Expression Grammars For Lua
License: MIT
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-lua-devel
BuildRequires: ghc-lua-prof
BuildRequires: ghc-rpm-macros
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-tasty-hunit-prof
BuildRequires: ghc-tasty-prof
%endif
%description
@ -50,6 +56,22 @@ Requires(postun): ghc-compiler = %{ghc_version}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%package -n ghc-%{pkg_name}-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
%description -n ghc-%{pkg_name}-doc
This package provides the Haskell %{pkg_name} library documentation.
%package -n ghc-%{pkg_name}-prof
Summary: Haskell %{pkg_name} profiling library
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
%description -n ghc-%{pkg_name}-prof
This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
@ -74,4 +96,9 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files
%doc CHANGELOG.md README.md
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
%changelog

View File

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

3
lpeg-1.0.4.tar.gz Normal file
View File

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