Blame SPECS/ghc-cmark-gfm.spec

914973
# generated by cabal-rpm-0.12.3
914973
# https://fedoraproject.org/wiki/Packaging:Haskell
914973
914973
%global pkg_name cmark-gfm
914973
%global pkgver %{pkg_name}-%{version}
914973
914973
%bcond_without tests
914973
914973
Name:           ghc-%{pkg_name}
914973
Version:        0.2.3
914973
Release:        1%{?dist}
914973
Summary:        Fast, accurate GitHub Flavored Markdown parser and renderer
914973
914973
License:        BSD
914973
Url:            https://hackage.haskell.org/package/%{pkg_name}
914973
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
914973
914973
BuildRequires:  ghc-Cabal-devel
914973
BuildRequires:  ghc-rpm-macros
914973
# Begin cabal-rpm deps:
914973
BuildRequires:  ghc-bytestring-devel
914973
BuildRequires:  ghc-text-devel
914973
%if %{with tests}
914973
BuildRequires:  ghc-HUnit-devel
914973
%endif
914973
# End cabal-rpm deps
914973
Provides:       bundled(cmark-gfm) = 0.29.0.gfm.3
914973
914973
%description
914973
This package provides Haskell bindings for 
914973
libcmark-gfm>, the reference parser for 
914973
Flavored Markdown>, a fully specified variant of Markdown. It includes sources
914973
for libcmark-gfm (0.29.0.gfm.3).
914973
914973
914973
%package devel
914973
Summary:        Haskell %{pkg_name} library development files
914973
Provides:       %{name}-static = %{version}-%{release}
914973
Provides:       %{name}-doc = %{version}-%{release}
914973
%if %{defined ghc_version}
914973
Requires:       ghc-compiler = %{ghc_version}
914973
Requires(post): ghc-compiler = %{ghc_version}
914973
Requires(postun): ghc-compiler = %{ghc_version}
914973
%endif
914973
Requires:       %{name}%{?_isa} = %{version}-%{release}
914973
914973
%description devel
914973
This package provides the Haskell %{pkg_name} library development files.
914973
914973
914973
%prep
914973
%setup -q -n %{pkgver}
914973
914973
914973
%build
914973
%ghc_lib_build
914973
914973
914973
%install
914973
%ghc_lib_install
914973
914973
914973
%check
914973
%cabal_test
914973
914973
914973
%post devel
914973
%ghc_pkg_recache
914973
914973
914973
%postun devel
914973
%ghc_pkg_recache
914973
914973
914973
%files -f %{name}.files
914973
%license LICENSE
914973
914973
914973
%files devel -f %{name}-devel.files
914973
%doc README.md changelog
914973
914973
914973
%changelog
914973
* Thu Apr 14 2022 Jens Petersen <petersen@redhat.com> - 0.2.3-1
914973
- 0.2.3 bundles the C cmark-gfm-0.29.0.gfm.3 library which fixes CVE-2022-24724
914973
  https://github.com/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4x
914973
- Resolves: #2074998
914973
914973
* Mon Jan 11 2021 Jens Petersen <petersen@redhat.com> - 0.2.2-2
914973
- rebuild
914973
914973
* Mon Dec 14 2020 Jens Petersen <petersen@redhat.com> - 0.2.2-1
914973
- https://github.com/kivikakk/cmark-gfm-hs/releases/tag/0.2.2
914973
- updates cbits to cmark-gfm-0.29.0.gfm.1 for CVE-2020-5238 (#1854329)
914973
  https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85
914973
- fixes rhbz#1855805
914973
914973
* Fri Jun  1 2018 Jens Petersen <petersen@redhat.com> - 0.1.3-4
914973
- disable testsuite to restore the package hash
914973
914973
* Wed May 30 2018 Jens Petersen <petersen@redhat.com> - 0.1.3-3
914973
- bump release over pandoc
914973
914973
* Mon May 28 2018 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.1.3-1
914973
- spec file generated by cabal-rpm-0.12.3
914973
- tests fail on big endian