Hello community, here is the log from the commit of package ghc-cmark for openSUSE:Factory checked in at 2016-06-20 11:06:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-cmark (Old) and /work/SRC/openSUSE:Factory/.ghc-cmark.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-cmark" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-cmark/ghc-cmark.changes 2016-05-25 21:28:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-cmark.new/ghc-cmark.changes 2016-06-20 11:06:44.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Jun 14 13:28:16 UTC 2016 - [email protected] + +- use system libcmark on SLE12SP2+ and Leap:42.2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-cmark.spec ++++++ --- /var/tmp/diff_new_pack.gZrbA2/_old 2016-06-20 11:06:45.000000000 +0200 +++ /var/tmp/diff_new_pack.gZrbA2/_new 2016-06-20 11:06:45.000000000 +0200 @@ -15,6 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%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 %global pkg_name cmark @@ -36,7 +44,7 @@ # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: ghc-text-devel -%if 0%{?suse_version} >= 1330 +%if 0%{?is_tumble} || 0%{?is_sp2up} BuildRequires: pkg-config BuildRequires: pkgconfig(libcmark) %endif @@ -108,7 +116,7 @@ Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} Requires: %{name} = %{version}-%{release} -%if 0%{?suse_version} >=1330 +%if 0%{?is_tumble} || 0%{?is_sp2up} Requires: pkgconfig(libcmark) %endif @@ -118,7 +126,7 @@ %prep %setup -q -n %{pkg_name}-%{version} -%if 0%{?suse_version} >= 1330 +%if 0%{?is_tumble} || 0%{?is_sp2up} cabal-tweak-flag pkgconfig True %endif
