Hello community, here is the log from the commit of package ghc-mod for openSUSE:Factory checked in at 2016-07-21 08:02:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-mod (Old) and /work/SRC/openSUSE:Factory/.ghc-mod.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-mod" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-mod/ghc-mod.changes 2016-02-05 00:31:26.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-mod.new/ghc-mod.changes 2016-07-21 08:02:04.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:02:27 UTC 2016 - psim...@suse.com + +- Update to version 5.5.0.0 revision 0 with cabal2obs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-mod.spec ++++++ --- /var/tmp/diff_new_pack.dNy3Rs/_old 2016-07-21 08:02:06.000000000 +0200 +++ /var/tmp/diff_new_pack.dNy3Rs/_new 2016-07-21 08:02:06.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-mod # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,30 +17,22 @@ %global pkg_name ghc-mod - %bcond_with tests - -Name: ghc-mod +Name: %{pkg_name} Version: 5.5.0.0 Release: 0 Summary: Happy Haskell Programming License: AGPL-3.0+ and BSD-3-Clause Group: Development/Languages/Other - Url: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz - -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: chrpath -BuildRequires: ghc-async-devel +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-binary-devel +BuildRequires: ghc-bytestring-devel BuildRequires: ghc-cabal-helper-devel -BuildRequires: ghc-cereal-devel BuildRequires: ghc-containers-devel -BuildRequires: ghc-data-default-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-djinn-ghc-devel @@ -52,7 +44,6 @@ BuildRequires: ghc-ghc-syb-utils-devel BuildRequires: ghc-haskell-src-exts-devel BuildRequires: ghc-hlint-devel -BuildRequires: ghc-io-choice-devel BuildRequires: ghc-monad-control-devel BuildRequires: ghc-monad-journal-devel BuildRequires: ghc-mtl-devel @@ -61,6 +52,7 @@ BuildRequires: ghc-pipes-devel BuildRequires: ghc-pretty-devel BuildRequires: ghc-process-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-safe-devel BuildRequires: ghc-split-devel BuildRequires: ghc-syb-devel @@ -69,20 +61,24 @@ BuildRequires: ghc-time-devel BuildRequires: ghc-transformers-base-devel BuildRequires: ghc-transformers-devel +Suggests: emacs-haskel-mode +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-doctest-devel BuildRequires: ghc-hspec-devel %endif -Suggests: emacs-haskel-mode # End cabal-rpm deps %description -The ghc-mod command is a backend command to enrich Haskell programming on -editors including Emacs, Vim, and Sublime. The ghc-mod command is based on -ghc-mod library which is a wrapper of GHC API. This package includes the -ghc-mod command, the ghc-mod library, and Emacs front-end (for historical -reasons). For more information, please see its home page. - +Ghc-mod is a backend program to enrich Haskell programming in editors. +It strives to offer most of the features one has come to expect from modern +IDEs in any editor. ghc-mod provides a library for other haskell programs to +use as well as a standalone program for easy editor integration. All of the +fundamental functionality of the frontend program can be accessed through the +library however many implementation details are hidden and if you want to +significantly extend ghc-mod you should submit these changes upstream instead +of implementing them on top of the library. For more information, please see +its home page. %package -n ghc-%{name} Summary: Haskell %{name} library @@ -91,26 +87,26 @@ %description -n ghc-%{name} This package provides the Haskell %{name} shared library. - %package -n ghc-%{name}-devel Summary: Haskell %{name} library development files Group: Development/Libraries/Other +Requires: ghc-%{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} -Requires: ghc-%{name} = %{version}-%{release} %description -n ghc-%{name}-devel This package provides the Haskell %{name} library development files. - %prep %setup -q + %build %define cabal_configure_options --libexecdir=%{_libexecdir} %ghc_lib_build + %install %ghc_lib_install %ghc_fix_dynamic_rpath %{pkg_name} ghc-modi @@ -126,9 +122,10 @@ %check %if %{with tests} -%cabal test +%{cabal} test %endif + %post -n ghc-%{name}-devel %ghc_pkg_recache