Hello community,

here is the log from the commit of package ghc-cmark for openSUSE:Factory 
checked in at 2017-10-02 16:54:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-cmark.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-cmark"

Mon Oct  2 16:54:04 2017 rev:13 rq:530113 version:0.5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes      2017-04-14 
13:37:26.117814591 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2017-10-02 
16:54:18.621493550 +0200
@@ -1,0 +2,20 @@
+Sat Sep 30 08:56:55 UTC 2017 - [email protected]
+
+- Re-factor spec file to rely on the system's libcmark library by
+  default.
+
+- Work around erroneous library path advertised in libcmark's
+  pkg-config data. [boo#1061183]
+  
+-------------------------------------------------------------------
+Thu Aug 17 03:03:08 UTC 2017 - [email protected]
+
+- Update to version 0.5.6.
+  + Update to cmark 0.28.0.
+  
+-------------------------------------------------------------------
+Thu Aug  3 15:38:38 UTC 2017 - [email protected]
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+-------------------------------------------------------------------

Old:
----
  cmark-0.5.5.1.tar.gz

New:
----
  cmark-0.5.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-cmark.spec ++++++
--- /var/tmp/diff_new_pack.ghJVMQ/_old  2017-10-02 16:54:19.337393065 +0200
+++ /var/tmp/diff_new_pack.ghJVMQ/_new  2017-10-02 16:54:19.341392504 +0200
@@ -17,31 +17,21 @@
 
 
 %global pkg_name cmark
-%if 0%{?suse_version} >= 1330
-%define is_tumble 1
-%endif
-# is Leap 42.2+ or SLE12SP2+
-%if 0%{?sle_version} >= 120200
-%define is_sp2up 1
-%endif
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.5.5.1
+Version:        0.5.6
 Release:        0
 Summary:        Fast, accurate CommonMark (Markdown) parser and renderer
 License:        BSD-3-Clause AND BSD-2-Clause AND MIT
-Group:          Development/Languages/Other
-Url:            https://hackage.haskell.org/package/%{pkg_name}
+Group:          Development/Libraries/Haskell
+URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?is_tumble} || 0%{?is_sp2up}
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libcmark)
-%endif
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 %endif
@@ -49,35 +39,33 @@
 %description
 This package provides Haskell bindings for <https://github.com/jgm/cmark
 libcmark>, the reference parser for <http://commonmark.org CommonMark>, a fully
-specified variant of Markdown. It includes sources for libcmark (0.27.1) and
+specified variant of Markdown. It includes sources for libcmark (0.28.0) and
 does not require prior installation of the C library.
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
-Group:          Development/Libraries/Other
+Group:          Development/Libraries/Haskell
 Requires:       %{name} = %{version}-%{release}
 Requires:       ghc-compiler = %{ghc_version}
-Requires(post): ghc-compiler = %{ghc_version}
-Requires(postun): ghc-compiler = %{ghc_version}
-%if 0%{?is_tumble} || 0%{?is_sp2up}
 Requires:       pkgconfig
 Requires:       pkgconfig(libcmark)
-%endif
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-%if 0%{?is_tumble} || 0%{?is_sp2up}
-cabal-tweak-flag    pkgconfig   True
-%endif
 
 %build
+%define cabal_configure_options -fpkgconfig
 %ghc_lib_build
 
 %install
 %ghc_lib_install
+# Drop erroneous library path that Cabal records in the package's config file. 
[boo#1061183]
+sed -i -e "s|%{_prefix}/%{_prefix}/|%{_prefix}/|g" 
%{buildroot}%{ghclibdir}/package.conf.d/%{pkg_name}*.conf
 
 %check
 %cabal_test
@@ -89,11 +77,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc README.md changelog
 
 %changelog

++++++ cmark-0.5.5.1.tar.gz -> cmark-0.5.6.tar.gz ++++++
++++ 32084 lines of diff (skipped)


Reply via email to