forked from pool/ghc-lpeg
Accepting request 1075946 from devel:languages:haskell
update for ghc-9.4.4 OBS-URL: https://build.opensuse.org/request/show/1075946 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-lpeg?expand=0&rev=3
This commit is contained in:
commit
b5e186d26b
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 30 17:07:25 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Sat Feb 19 14:38:07 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-lpeg
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,21 +17,27 @@
|
|||||||
|
|
||||||
|
|
||||||
%global pkg_name lpeg
|
%global pkg_name lpeg
|
||||||
|
%global pkgver %{pkg_name}-%{version}
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.0.3
|
Version: 1.0.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: LPeg – Parsing Expression Grammars For Lua
|
Summary: LPeg – Parsing Expression Grammars For Lua
|
||||||
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
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
|
BuildRequires: ghc-base-devel
|
||||||
|
BuildRequires: ghc-base-prof
|
||||||
BuildRequires: ghc-lua-devel
|
BuildRequires: ghc-lua-devel
|
||||||
|
BuildRequires: ghc-lua-prof
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
ExcludeArch: %{ix86}
|
ExcludeArch: %{ix86}
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-tasty-devel
|
BuildRequires: ghc-tasty-devel
|
||||||
BuildRequires: ghc-tasty-hunit-devel
|
BuildRequires: ghc-tasty-hunit-devel
|
||||||
|
BuildRequires: ghc-tasty-hunit-prof
|
||||||
|
BuildRequires: ghc-tasty-prof
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -50,6 +56,22 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
|||||||
%description devel
|
%description devel
|
||||||
This package provides the Haskell %{pkg_name} library development files.
|
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
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%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
|
%files devel -f %{name}-devel.files
|
||||||
%doc CHANGELOG.md README.md
|
%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
|
%changelog
|
||||||
|
@ -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
3
lpeg-1.0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:24084721a225f133682aa12c5ff4f65c7ea7b6b03894c6af0504864bea2054bb
|
||||||
|
size 40132
|
Loading…
Reference in New Issue
Block a user