diff --git a/ghc-lpeg.changes b/ghc-lpeg.changes index 4f8cedb..ddcee6d 100644 --- a/ghc-lpeg.changes +++ b/ghc-lpeg.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Mar 13 12:06:09 UTC 2023 - Peter Simons + +- 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 diff --git a/ghc-lpeg.spec b/ghc-lpeg.spec index 9174d28..4340a3f 100644 --- a/ghc-lpeg.spec +++ b/ghc-lpeg.spec @@ -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 diff --git a/lpeg-1.0.3.tar.gz b/lpeg-1.0.3.tar.gz deleted file mode 100644 index 3177a0b..0000000 --- a/lpeg-1.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e1c1f4891931f469dc78a6cd2a528fcc27b645e0df5ecf1a975f50c4dbd67ba7 -size 40092 diff --git a/lpeg-1.0.4.tar.gz b/lpeg-1.0.4.tar.gz new file mode 100644 index 0000000..7772011 --- /dev/null +++ b/lpeg-1.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24084721a225f133682aa12c5ff4f65c7ea7b6b03894c6af0504864bea2054bb +size 40132