The package rpms/ghc-cmark-gfm.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/ghc-cmark-gfm.git/commit/?id=aacc....
Change:
+%ifnarch ppc64 s390x
Thanks.
Full change:
============
commit aacc8299c3ce7688d006839fa9468e9cf2d4827d
Author: Jens Petersen <petersen(a)redhat.com>
Date: Wed May 30 23:31:23 2018 +0900
tests fail on ppc64 and s390x
diff --git a/ghc-cmark-gfm.spec b/ghc-cmark-gfm.spec
index 9f01c90..1c986f1 100644
--- a/ghc-cmark-gfm.spec
+++ b/ghc-cmark-gfm.spec
@@ -4,7 +4,12 @@
%global pkg_name cmark-gfm
%global pkgver %{pkg_name}-%{version}
+#
https://github.com/kivikakk/cmark-gfm-hs/issues/6
+%ifnarch ppc64 s390x
%bcond_without tests
+%else
+%bcond_with tests
+%endif
Name: ghc-%{pkg_name}
Version: 0.1.3
@@ -81,3 +86,4 @@ This package provides the Haskell %{pkg_name} library development
files.
%changelog
* Mon May 28 2018 Fedora Haskell SIG <haskell(a)lists.fedoraproject.org> - 0.1.3-1
- spec file generated by cabal-rpm-0.12.3
+- tests fail on big endian
commit 0a8bbbc32ebeed3ce8d537a09d6b36133df8c134
Author: Jens Petersen <petersen(a)redhat.com>
Date: Wed May 30 23:28:51 2018 +0900
import (#1583268)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..705451f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/cmark-gfm-0.1.3.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index e08c213..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# ghc-cmark-gfm
-
-The ghc-cmark-gfm package
\ No newline at end of file
diff --git a/ghc-cmark-gfm.spec b/ghc-cmark-gfm.spec
new file mode 100644
index 0000000..9f01c90
--- /dev/null
+++ b/ghc-cmark-gfm.spec
@@ -0,0 +1,83 @@
+# generated by cabal-rpm-0.12.3
+#
https://fedoraproject.org/wiki/Packaging:Haskell
+
+%global pkg_name cmark-gfm
+%global pkgver %{pkg_name}-%{version}
+
+%bcond_without tests
+
+Name: ghc-%{pkg_name}
+Version: 0.1.3
+Release: 1%{?dist}
+Summary: Fast, accurate GitHub Flavored Markdown parser and renderer
+
+License: BSD
+Url:
https://hackage.haskell.org/package/%{pkg_name}
+Source0:
https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
+
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires: ghc-bytestring-devel
+BuildRequires: ghc-text-devel
+%if %{with tests}
+BuildRequires: ghc-HUnit-devel
+%endif
+# End cabal-rpm deps
+
+%description
+This package provides Haskell bindings for <
https://github.com/github/cmark
+libcmark-gfm>, the reference parser for <
https://github.github.com/gfm/ GitHub
+Flavored Markdown>, a fully specified variant of Markdown.
+
+
+%package devel
+Summary: Haskell %{pkg_name} library development files
+Provides: %{name}-static = %{version}-%{release}
+Provides: %{name}-doc = %{version}-%{release}
+%if %{defined ghc_version}
+Requires: ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+%endif
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+This package provides the Haskell %{pkg_name} library development files.
+
+
+%prep
+%setup -q -n %{pkgver}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+%check
+%cabal_test
+
+
+%post devel
+%ghc_pkg_recache
+
+
+%postun devel
+%ghc_pkg_recache
+
+
+%files -f %{name}.files
+%license LICENSE
+
+
+%files devel -f %{name}-devel.files
+%doc README.md changelog
+
+
+%changelog
+* Mon May 28 2018 Fedora Haskell SIG <haskell(a)lists.fedoraproject.org> - 0.1.3-1
+- spec file generated by cabal-rpm-0.12.3
diff --git a/sources b/sources
new file mode 100644
index 0000000..424902e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cmark-gfm-0.1.3.tar.gz) =
c12b533c377a7433e78acb39d0ec743e6c2b341f25e6c6722cfb543297b2a4c936c8d2dd5ef878e931bdb829b4a556ef630854c3dad442b5f464e91fbe6ed9c0