diff --git a/_constraints b/_constraints
new file mode 100644
index 0000000..b5b0790
--- /dev/null
+++ b/_constraints
@@ -0,0 +1,14 @@
+
+
+
+ ppc64
+ ppc64le
+
+
+
+ 6
+
+
+
+
+
diff --git a/ghc-skylighting.changes b/ghc-skylighting.changes
index a27dfdd..d6226b7 100644
--- a/ghc-skylighting.changes
+++ b/ghc-skylighting.changes
@@ -1,3 +1,78 @@
+-------------------------------------------------------------------
+Wed Aug 19 06:52:08 UTC 2020 - Michel Normand
+
+- Add _constraints with 6GB min disk space for ppc64/ppc64le
+
+-------------------------------------------------------------------
+Tue Aug 18 10:46:03 UTC 2020 - Peter Simons
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+-------------------------------------------------------------------
+Sun Jun 21 02:00:45 UTC 2020 - psimons@suse.com
+
+- Update skylighting to version 0.8.5.
+ ## 0.8.5
+
+ * Respect dynamic flag on StringDetect elements (#99, Albert
+ Krewinkel).
+
+ * Increase test timeout to avoid failures with qemu-emulated
+ environments, such as qemu and riscv64 in Ubuntu builders
+ (William Grant).
+
+ * Fix attribute for opening double quote in sql-postgresql.xml
+ (Benjamin Wuethrich).
+
+ * Update syntax descriptions for javascript, bash, coffee,
+ javascript-react, javascript, latex, sql-postgresql, typescript.
+
+-------------------------------------------------------------------
+Tue Jun 9 09:10:53 UTC 2020 - psimons@suse.com
+
+- Update skylighting to version 0.8.4.
+ ## 0.8.4
+
+ * HTML output: use aria-hidden="true" on empty a elements
+ unless numberLines is specified (in which case the element
+ is still empty but will have content added by CSS).
+ This is to avoid excess noise when the code blocks are
+ read by screen readers. See jgm/pandoc#6352.
+
+-------------------------------------------------------------------
+Wed May 6 06:52:10 UTC 2020 - psimons@suse.com
+
+- Update skylighting to version 0.8.3.4.
+ Upstream has edited the change log file since the last release in
+ a non-trivial way, i.e. they did more than just add a new entry
+ at the top. You can review the file at:
+ http://hackage.haskell.org/package/skylighting-0.8.3.4/src/changelog.md
+
+-------------------------------------------------------------------
+Sat Jan 25 10:22:55 UTC 2020 - psimons@suse.com
+
+- Update skylighting to version 0.8.3.2.
+ ## 0.8.3.2 -- 2020-01-21
+
+ * This fixes a packaging error in 0.8.3.1, which didn't include
+ the results of the bootsrap step and hence didn't update the
+ syntax modules.
+
+ ## 0.8.3.1 -- 2020-01-21
+
+ * Escape `<` and `>` in latex to avoid ligatures (#91).
+
+ * Fix and extend Idris keywords (Denis Buzdalov).
+
+ * Update XML syntax definitions for javascript-react, qml,
+ typescript, javascript, cmake, cofee, latex, perl, python,
+ rest.
+
+ * Fixed bug with context shifts using `##` syntax for foreign context.
+ Previously we only handled these in IncludeRules, but
+ starting with the current batches of xml files they can occur
+ elsewhere too.
+
-------------------------------------------------------------------
Wed Nov 27 03:00:59 UTC 2019 - psimons@suse.com
diff --git a/ghc-skylighting.spec b/ghc-skylighting.spec
index 2ad9ece..aca2222 100644
--- a/ghc-skylighting.spec
+++ b/ghc-skylighting.spec
@@ -1,7 +1,7 @@
#
# spec file for package ghc-skylighting
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,24 @@
%global pkg_name skylighting
Name: ghc-%{pkg_name}
-Version: 0.8.3
+Version: 0.8.5
Release: 0
Summary: Syntax highlighting library
License: GPL-2.0-or-later
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-binary-devel
+BuildRequires: ghc-blaze-html-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
+BuildRequires: ghc-directory-devel
+BuildRequires: ghc-filepath-devel
+BuildRequires: ghc-pretty-show-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-skylighting-core-devel
+BuildRequires: ghc-text-devel
%description
Skylighting is a syntax highlighting library with support for over one hundred
@@ -51,13 +57,15 @@ Requires(postun): ghc-compiler = %{ghc_version}
This package provides the Haskell %{pkg_name} library development files.
%prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
%build
+%define cabal_configure_options -fexecutable
%ghc_lib_build
%install
%ghc_lib_install
+%ghc_fix_rpath %{pkg_name}-%{version}
%post devel
%ghc_pkg_recache
@@ -67,6 +75,7 @@ This package provides the Haskell %{pkg_name} library development files.
%files -f %{name}.files
%license LICENSE
+%{_bindir}/%{pkg_name}
%files devel -f %{name}-devel.files
%doc README.md changelog.md
diff --git a/skylighting-0.8.3.tar.gz b/skylighting-0.8.3.tar.gz
deleted file mode 100644
index d822243..0000000
--- a/skylighting-0.8.3.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:269a4d5cd3a1b83d8d37442f7f76b17bf2b2294da2ad3aa6dd4ef3eede5f55bf
-size 629989
diff --git a/skylighting-0.8.5.tar.gz b/skylighting-0.8.5.tar.gz
new file mode 100644
index 0000000..e74132a
--- /dev/null
+++ b/skylighting-0.8.5.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5ba30911f5718ec4c5e76d160c358892b301b3ea58d009cb0506dcabaf0615ad
+size 621391