Hello community, here is the log from the commit of package ghc-text-icu for openSUSE:Factory checked in at 2017-05-09 18:09:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-text-icu (Old) and /work/SRC/openSUSE:Factory/.ghc-text-icu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-text-icu" Tue May 9 18:09:08 2017 rev:3 rq:493566 version:0.7.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-text-icu/ghc-text-icu.changes 2016-07-21 08:13:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-text-icu.new/ghc-text-icu.changes 2017-05-09 18:09:09.869897151 +0200 @@ -1,0 +2,5 @@ +Mon May 8 18:09:58 UTC 2017 - [email protected] + +- Fix icu dependencies. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-text-icu.spec ++++++ --- /var/tmp/diff_new_pack.OHdVjW/_old 2017-05-09 18:09:10.677782987 +0200 +++ /var/tmp/diff_new_pack.OHdVjW/_new 2017-05-09 18:09:10.681782422 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-text-icu # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,16 +23,19 @@ Release: 0 Summary: Bindings to the ICU library License: BSD-3-Clause -Group: System/Libraries +Group: Development/Languages/Other 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 -# Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel BuildRequires: libicu-devel +BuildRequires: pkgconfig +BuildRequires: pkgconfig(icu-i18n) +BuildRequires: pkgconfig(icu-io) +BuildRequires: pkgconfig(icu-uc) BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-HUnit-devel @@ -44,13 +47,6 @@ BuildRequires: ghc-test-framework-hunit-devel BuildRequires: ghc-test-framework-quickcheck2-devel %endif -# End cabal-rpm deps -BuildRequires: pkgconfig -BuildRequires: pkgconfig(icu-i18n) -BuildRequires: pkgconfig(icu-io) -BuildRequires: pkgconfig(icu-le) -BuildRequires: pkgconfig(icu-lx) -BuildRequires: pkgconfig(icu-uc) %description Haskell bindings to the International Components for Unicode (ICU) libraries. @@ -84,15 +80,11 @@ Group: Development/Libraries/Other Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} -# Begin cabal-rpm deps: Requires: libicu-devel -Requires(post): ghc-compiler = %{ghc_version} -Requires(postun): ghc-compiler = %{ghc_version} -# End cabal-rpm deps Requires: pkgconfig(icu-i18n) Requires: pkgconfig(icu-io) -Requires: pkgconfig(icu-le) -Requires: pkgconfig(icu-lx) +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} %description devel This package provides the Haskell %{pkg_name} library development files. @@ -100,20 +92,14 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache
