From 506411498eac52ef62a6da5c8c82248988c5802952ff4820d528d0d976668a79 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 3 Feb 2023 09:19:02 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-jira-wiki-markup revision:31, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-jira-wiki-markup?expand=0&rev=31 --- ghc-jira-wiki-markup.changes | 17 ------ ghc-jira-wiki-markup.spec | 6 +- jira-wiki-markup-1.4.0.tar.gz | 3 + jira-wiki-markup-1.5.0.tar.gz | 3 - jira-wiki-markup.cabal | 111 ++++++++++++++++++++++++++++++++++ 5 files changed, 118 insertions(+), 22 deletions(-) create mode 100644 jira-wiki-markup-1.4.0.tar.gz delete mode 100644 jira-wiki-markup-1.5.0.tar.gz create mode 100644 jira-wiki-markup.cabal diff --git a/ghc-jira-wiki-markup.changes b/ghc-jira-wiki-markup.changes index 88c5e23..eb4f471 100644 --- a/ghc-jira-wiki-markup.changes +++ b/ghc-jira-wiki-markup.changes @@ -1,20 +1,3 @@ -------------------------------------------------------------------- -Wed Jan 11 13:22:31 UTC 2023 - Peter Simons - -- Update jira-wiki-markup to version 1.5.0. - 1.5.0 - ----- - - Released 2023-01-11. - - * Relaxed upper bounds for mtl, allow mtl 2.3. - - * Fixed handling of character sequences that would be interpreted - as icons if they weren't followed by an alphanumeric character. - See also [pandoc issue #8511][]. - - [pandoc issue #8511]: https://github.com/jgm/pandoc/issues/8511 - ------------------------------------------------------------------- Fri Jun 3 07:23:33 UTC 2022 - Peter Simons diff --git a/ghc-jira-wiki-markup.spec b/ghc-jira-wiki-markup.spec index 258aa05..595aced 100644 --- a/ghc-jira-wiki-markup.spec +++ b/ghc-jira-wiki-markup.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-jira-wiki-markup # -# Copyright (c) 2023 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,12 +19,13 @@ %global pkg_name jira-wiki-markup %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.5.0 +Version: 1.4.0 Release: 0 Summary: Handle Jira wiki markup 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: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-mtl-devel @@ -54,6 +55,7 @@ files. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/jira-wiki-markup-1.4.0.tar.gz b/jira-wiki-markup-1.4.0.tar.gz new file mode 100644 index 0000000..97d3d11 --- /dev/null +++ b/jira-wiki-markup-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c210d3c575779a7b5b974e6873b265117944746862b5bb40684903a8decca5c +size 24883 diff --git a/jira-wiki-markup-1.5.0.tar.gz b/jira-wiki-markup-1.5.0.tar.gz deleted file mode 100644 index dbd5f1c..0000000 --- a/jira-wiki-markup-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:447f2ea1d12f851a49b7c7cee38b32db062e188742ff3f9363b2271188d55faa -size 25380 diff --git a/jira-wiki-markup.cabal b/jira-wiki-markup.cabal new file mode 100644 index 0000000..5781d4c --- /dev/null +++ b/jira-wiki-markup.cabal @@ -0,0 +1,111 @@ +cabal-version: 2.0 +name: jira-wiki-markup +version: 1.4.0 +x-revision: 1 +synopsis: Handle Jira wiki markup +description: Parse jira wiki text into an abstract syntax tree for easy + transformation to other formats. +homepage: https://github.com/tarleb/jira-wiki-markup +bug-reports: https://github.com/tarleb/jira-wiki-markup/issues +license: MIT +license-file: LICENSE +author: Albert Krewinkel +maintainer: tarleb@zeitkraut.de +copyright: © 2019–2021 Albert Krewinkel +category: Text +build-type: Simple +extra-doc-files: README.md + , CHANGELOG.md +tested-with: GHC == 8.0.2 + , GHC == 8.2.2 + , GHC == 8.4.4 + , GHC == 8.6.5 + , GHC == 8.8.3 + , GHC == 8.10.4 + , GHC == 9.0 + +source-repository head + type: git + location: https://github.com/tarleb/jira-wiki-markup.git + +library + hs-source-dirs: src + exposed-modules: Text.Jira.Markup + , Text.Jira.Parser + , Text.Jira.Parser.Block + , Text.Jira.Parser.Core + , Text.Jira.Parser.Inline + , Text.Jira.Parser.PlainText + , Text.Jira.Parser.Shared + , Text.Jira.Printer + + build-depends: base >= 4.9 && < 5 + , mtl >= 2.2 && < 2.3 + , parsec >= 3.1 && < 3.2 + , text >= 1.1.1 && < 1.3 || >= 2.0 && < 2.1 + + ghc-options: -Wall + -Wincomplete-uni-patterns + -Wincomplete-record-updates + -Wcompat + -Widentities + -Wredundant-constraints + if impl(ghc >= 8.4) + ghc-options: -fhide-source-paths + + default-language: Haskell2010 + default-extensions: OverloadedStrings + +executable jira-wiki-markup + hs-source-dirs: app + main-is: Main.hs + + build-depends: base >= 4.9 && < 5 + , text >= 1.1.1 && < 1.3 || >= 2.0 && < 2.1 + , jira-wiki-markup + + ghc-options: -Wall + -threaded + -rtsopts + -with-rtsopts=-N + -Wincomplete-uni-patterns + -Wincomplete-record-updates + -Wcompat + -Widentities + -Wredundant-constraints + if impl(ghc >= 8.4) + ghc-options: -fhide-source-paths + + default-language: Haskell2010 + default-extensions: OverloadedStrings + +test-suite jira-wiki-markup-test + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: jira-wiki-markup-test.hs + other-modules: Text.Jira.ParserTests + , Text.Jira.Parser.BlockTests + , Text.Jira.Parser.InlineTests + , Text.Jira.PrinterTests + + build-depends: base >= 4.9 && < 5 + , jira-wiki-markup + , parsec >= 3.1 && < 3.2 + , tasty + , tasty-hunit + , text >= 1.1.1 && < 1.3 || >= 2.0 && < 2.1 + + ghc-options: -Wall + -threaded + -rtsopts + -with-rtsopts=-N + -Wincomplete-uni-patterns + -Wincomplete-record-updates + -Wcompat + -Widentities + -Wredundant-constraints + if impl(ghc >= 8.4) + ghc-options: -fhide-source-paths + + default-language: Haskell2010 + default-extensions: OverloadedStrings