From 1300a33ea6c3155fad6d5ba91d414e0cec498547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 01:04:43 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/ghc-cmark-gfm#9169cf24b0c603b43fc1793de4583ec535280243 --- .gitignore | 6 ++ ghc-cmark-gfm.spec | 168 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 175 insertions(+) create mode 100644 ghc-cmark-gfm.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..8a08446 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,6 @@ +/cmark-gfm-0.1.3.tar.gz +/cmark-gfm-0.1.4.tar.gz +/cmark-gfm-0.1.6.tar.gz +/cmark-gfm-0.1.8.tar.gz +/cmark-gfm-0.2.1.tar.gz +/cmark-gfm-0.2.2.tar.gz diff --git a/ghc-cmark-gfm.spec b/ghc-cmark-gfm.spec new file mode 100644 index 0000000..b10bf14 --- /dev/null +++ b/ghc-cmark-gfm.spec @@ -0,0 +1,168 @@ +# generated by cabal-rpm-2.0.6 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name cmark-gfm +%global pkgver %{pkg_name}-%{version} + +%bcond_without tests + +Name: ghc-%{pkg_name} +Version: 0.2.2 +Release: 1%{?dist} +Summary: Fast, accurate GitHub Flavored Markdown parser and renderer + +License: BSD +Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-text-prof +%if %{with tests} +BuildRequires: ghc-HUnit-devel +%endif +# End cabal-rpm deps +Provides: bundled(cmark) = 0.28.0 + +%description +This package provides Haskell bindings for , the reference parser for , a fully specified variant of Markdown. It includes sources +for libcmark-gfm (0.29.0.gfm.0) and does not require prior installation of the +C library. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + + +%install +# Begin cabal-rpm install +%ghc_lib_install +# End cabal-rpm install + + +%check +%cabal_test + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc README.md changelog + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Thu Sep 17 11:52:52 +08 2020 Jens Petersen - 0.2.2-1 +- https://github.com/kivikakk/cmark-gfm-hs/releases/tag/0.2.2 +- updates cbits to cmark-gfm-0.29.0.gfm.1 for CVE-2020-5238 (#1854329) + https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85 + +* Mon Jul 27 2020 Fedora Release Engineering - 0.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 17 2020 Jens Petersen - 0.2.1-2 +- refresh to cabal-rpm-2.0.6 + +* Fri Feb 14 2020 Jens Petersen - 0.2.1-1 +- update to 0.2.1 + +* Tue Jan 28 2020 Fedora Release Engineering - 0.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Jens Petersen - 0.1.8-1 +- update to 0.1.8 + +* Thu Jul 25 2019 Fedora Release Engineering - 0.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Feb 21 2019 Jens Petersen - 0.1.6-1 +- update to 0.1.6 + +* Sun Feb 17 2019 Jens Petersen - 0.1.4-3 +- refresh to cabal-rpm-0.13 + +* Thu Jan 31 2019 Fedora Release Engineering - 0.1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Jul 22 2018 Jens Petersen - 0.1.4-1 +- update to 0.1.4 +- provide bundled(cmark) + +* Mon Jul 16 2018 Jens Petersen - 0.1.3-6 +- add patch to fix tests on big endian + +* Fri Jul 13 2018 Fedora Release Engineering - 0.1.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 1 2018 Jens Petersen - 0.1.3-4 +- disable testsuite to restore the package hash + +* Wed May 30 2018 Jens Petersen - 0.1.3-3 +- bump release over pandoc + +* Mon May 28 2018 Fedora Haskell SIG - 0.1.3-1 +- spec file generated by cabal-rpm-0.12.3 +- tests fail on big endian diff --git a/sources b/sources new file mode 100644 index 0000000..ca572a6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (cmark-gfm-0.2.2.tar.gz) = f4d5825b19beeef42402b0bed0928ebfb7923aee6c59d4937516877a89cce832667ff19fdf3a6279d484ffaad06d763e0ac4946275b1051c3cae12d7928a2567