sort subpkgs to ease update to cabal-rpm-2.1.3

This commit is contained in:
Jens Petersen 2023-09-28 00:09:58 +08:00
parent fb1cbb02ad
commit dbad259eb0

View File

@ -4,24 +4,24 @@
%global pkg_name pandoc-cli
%global pandoc_ver 3.0.1
%global hsluamodulesystem hslua-module-system-1.1.0.1
%global ipynb ipynb-0.2
%global jirawikimarkup jira-wiki-markup-1.5.1
%global base64 base64-0.4.2.4
%global citeproc citeproc-0.8.1
%global commonmark commonmark-0.2.3
%global commonmarkextensions commonmark-extensions-0.2.3.5
%global commonmarkpandoc commonmark-pandoc-0.2.1.3
%global hsluamodulepath hslua-module-path-1.1.0
%global unicodecollation unicode-collation-0.1.3.4
%global base64 base64-0.4.2.4
%global gridtables gridtables-0.1.0.0
%global hslualist hslua-list-1.1.1
%global hsluamoduledoclayout hslua-module-doclayout-1.1.0
%global hsluamodulepath hslua-module-path-1.1.0
%global hsluamodulesystem hslua-module-system-1.1.0.1
%global hsluamoduleversion hslua-module-version-1.1.0
%global ipynb ipynb-0.2
%global jirawikimarkup jira-wiki-markup-1.5.1
%global lpeg lpeg-1.0.4
%global pandocluamarshal pandoc-lua-marshal-0.2.2
%global pandoc pandoc-%{pandoc_ver}
%global pandoccli pandoc-cli-0.1.1.1
%global pandocluamarshal pandoc-lua-marshal-0.2.2
%global unicodecollation unicode-collation-0.1.3.4
%global subpkgs %{hsluamodulesystem} %{ipynb} %{jirawikimarkup} %{unicodecollation} %{citeproc} %{commonmark} %{commonmarkextensions} %{commonmarkpandoc} %{hsluamodulepath} %{base64} %{gridtables} %{hsluamoduledoclayout} %{hsluamoduleversion} %{lpeg} %{hslualist} %{pandocluamarshal} %{pandoc}
@ -37,25 +37,25 @@ License: GPL-2.0-or-later
Url: https://hackage.haskell.org/package/%{name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pandoccli}/%{pandoccli}.tar.gz
Source1: https://hackage.haskell.org/package/%{pandoc}/%{pandoc}.tar.gz
Source2: https://hackage.haskell.org/package/%{hsluamodulesystem}/%{hsluamodulesystem}.tar.gz
Source3: https://hackage.haskell.org/package/%{ipynb}/%{ipynb}.tar.gz
Source4: https://hackage.haskell.org/package/%{jirawikimarkup}/%{jirawikimarkup}.tar.gz
Source5: https://hackage.haskell.org/package/%{citeproc}/%{citeproc}.tar.gz
Source6: https://hackage.haskell.org/package/%{commonmark}/%{commonmark}.tar.gz
Source7: https://hackage.haskell.org/package/%{commonmarkextensions}/%{commonmarkextensions}.tar.gz
Source8: https://hackage.haskell.org/package/%{commonmarkpandoc}/%{commonmarkpandoc}.tar.gz
Source9: https://hackage.haskell.org/package/%{hsluamodulepath}/%{hsluamodulepath}.tar.gz
Source10: https://hackage.haskell.org/package/%{unicodecollation}/%{unicodecollation}.tar.gz
Source11: https://hackage.haskell.org/package/%{base64}/%{base64}.tar.gz
Source12: https://hackage.haskell.org/package/%{gridtables}/%{gridtables}.tar.gz
Source13: https://hackage.haskell.org/package/%{hsluamoduledoclayout}/%{hsluamoduledoclayout}.tar.gz
Source14: https://hackage.haskell.org/package/%{hsluamoduleversion}/%{hsluamoduleversion}.tar.gz
Source15: https://hackage.haskell.org/package/%{lpeg}/%{lpeg}.tar.gz
Source16: https://hackage.haskell.org/package/%{pandocluamarshal}/%{pandocluamarshal}.tar.gz
Source17: https://hackage.haskell.org/package/%{hslualist}/%{hslualist}.tar.gz
Source1: https://hackage.haskell.org/package/%{unicodecollation}/%{unicodecollation}.tar.gz
Source2: https://hackage.haskell.org/package/%{base64}/%{base64}.tar.gz
Source3: https://hackage.haskell.org/package/%{gridtables}/%{gridtables}.tar.gz
Source4: https://hackage.haskell.org/package/%{hsluamoduledoclayout}/%{hsluamoduledoclayout}.tar.gz
Source5: https://hackage.haskell.org/package/%{hsluamoduleversion}/%{hsluamoduleversion}.tar.gz
Source6: https://hackage.haskell.org/package/%{lpeg}/%{lpeg}.tar.gz
Source7: https://hackage.haskell.org/package/%{pandocluamarshal}/%{pandocluamarshal}.tar.gz
Source8: https://hackage.haskell.org/package/%{hslualist}/%{hslualist}.tar.gz
Source9: https://hackage.haskell.org/package/%{pandoc}/%{pandoc}.tar.gz
Source10: https://hackage.haskell.org/package/%{hsluamodulesystem}/%{hsluamodulesystem}.tar.gz
Source11: https://hackage.haskell.org/package/%{ipynb}/%{ipynb}.tar.gz
Source12: https://hackage.haskell.org/package/%{jirawikimarkup}/%{jirawikimarkup}.tar.gz
Source13: https://hackage.haskell.org/package/%{citeproc}/%{citeproc}.tar.gz
Source14: https://hackage.haskell.org/package/%{commonmark}/%{commonmark}.tar.gz
Source15: https://hackage.haskell.org/package/%{commonmarkextensions}/%{commonmarkextensions}.tar.gz
Source16: https://hackage.haskell.org/package/%{commonmarkpandoc}/%{commonmarkpandoc}.tar.gz
Source17: https://hackage.haskell.org/package/%{hsluamodulepath}/%{hsluamodulepath}.tar.gz
# End cabal-rpm sources
Source18: https://hackage.haskell.org/package/%{base64}/base64.cabal#/%{base64}.cabal
Source18: https://hackage.haskell.org/package/%{base64}/base64.cabal#/%{base64}.cabal
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
@ -341,23 +341,23 @@ or texlive-collection-luatex respectively.
%global main_version %{version}
%if %{defined ghclibdir}
%ghc_lib_subpackage -l MIT %{hsluamodulesystem}
%ghc_lib_subpackage -l BSD-3-Clause %{ipynb}
%ghc_lib_subpackage -l MIT %{jirawikimarkup}
%ghc_lib_subpackage -l BSD-3-Clause %{base64}
%ghc_lib_subpackage -l BSD-2-Clause %{citeproc}
%ghc_lib_subpackage -l BSD-3-Clause %{commonmark}
%ghc_lib_subpackage -l BSD-3-Clause %{commonmarkextensions}
%ghc_lib_subpackage -l BSD-3-Clause %{commonmarkpandoc}
%ghc_lib_subpackage -l MIT %{hsluamodulepath}
%ghc_lib_subpackage -l BSD-2-Clause %{unicodecollation}
%ghc_lib_subpackage -l BSD-3-Clause %{base64}
%ghc_lib_subpackage -l MIT %{gridtables}
%ghc_lib_subpackage -l MIT %{hsluamoduledoclayout}
%ghc_lib_subpackage -l MIT %{hsluamoduleversion}
%ghc_lib_subpackage -l MIT %{lpeg}
%ghc_lib_subpackage -l MIT %{pandocluamarshal}
%ghc_lib_subpackage -l MIT %{hslualist}
%ghc_lib_subpackage -l MIT %{hsluamoduledoclayout}
%ghc_lib_subpackage -l MIT %{hsluamodulepath}
%ghc_lib_subpackage -l MIT %{hsluamodulesystem}
%ghc_lib_subpackage -l MIT %{hsluamoduleversion}
%ghc_lib_subpackage -l BSD-3-Clause %{ipynb}
%ghc_lib_subpackage -l MIT %{jirawikimarkup}
%ghc_lib_subpackage -l MIT %{lpeg}
%ghc_lib_subpackage -l GPL-2.0-or-later %{pandoc}
%ghc_lib_subpackage -l MIT %{pandocluamarshal}
%ghc_lib_subpackage -l BSD-2-Clause %{unicodecollation}
%endif
%global version %{main_version}