Hello community, here is the log from the commit of package ghc-utf8-string for openSUSE:Factory checked in at 2016-07-20 09:24:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-utf8-string (Old) and /work/SRC/openSUSE:Factory/.ghc-utf8-string.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-utf8-string" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-utf8-string/ghc-utf8-string.changes 2015-09-02 00:36:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-utf8-string.new/ghc-utf8-string.changes 2016-07-20 09:24:47.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 16:54:38 UTC 2016 - [email protected] + +- Update to version 1.0.1.1 revision 1 with cabal2obs. + +------------------------------------------------------------------- Old: ---- _service New: ---- 1.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-utf8-string.spec ++++++ --- /var/tmp/diff_new_pack.6ppMSB/_old 2016-07-20 09:24:48.000000000 +0200 +++ /var/tmp/diff_new_pack.6ppMSB/_new 2016-07-20 09:24:48.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-utf8-string # -# 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,52 +17,51 @@ %global pkg_name utf8-string - -Name: ghc-utf8-string +Name: ghc-%{pkg_name} Version: 1.0.1.1 Release: 0 Summary: Support for reading and writing UTF8 Strings License: BSD-3-Clause Group: System/Libraries - -Url: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal BuildRequires: ghc-Cabal-devel +# Begin cabal-rpm deps: +BuildRequires: ghc-bytestring-devel BuildRequires: ghc-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# End cabal-rpm deps %description -A UTF8 layer for IO and Strings. The utf8-string -package provides operations for encoding UTF8 -strings to Word8 lists and back, and for reading and -writing UTF8 without truncation. - +A UTF8 layer for Strings. The utf8-string package provides operations for +encoding UTF8 strings to Word8 lists and back, and for reading and writing UTF8 +without truncation. %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other -Requires: ghc-compiler -Requires(post): ghc-compiler -Requires(postun): ghc-compiler Requires: %{name} = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} %description devel -A UTF8 layer for Strings. The utf8-string -package provides operations for encoding UTF8 -strings to Word8 lists and back, and for reading and -writing UTF8 without truncation. - +This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal + %build %ghc_lib_build + %install %ghc_lib_install + %post devel %ghc_pkg_recache @@ -75,5 +74,6 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) +%doc CHANGELOG.markdown %changelog ++++++ 1.cabal ++++++ Name: utf8-string Version: 1.0.1.1 x-revision: 1 Author: Eric Mertens Maintainer: [email protected] License: BSD3 License-file: LICENSE Homepage: http://github.com/glguy/utf8-string/ Synopsis: Support for reading and writing UTF8 Strings Description: A UTF8 layer for Strings. The utf8-string package provides operations for encoding UTF8 strings to Word8 lists and back, and for reading and writing UTF8 without truncation. Category: Codec Build-type: Simple cabal-version: >= 1.2 Extra-Source-Files: CHANGELOG.markdown Tested-With: GHC==7.0.4, GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.2 library Ghc-options: -W -O2 build-depends: base >= 4.3 && < 4.10, bytestring >= 0.9 Extensions: CPP Exposed-modules: Codec.Binary.UTF8.String Codec.Binary.UTF8.Generic Data.String.UTF8 Data.ByteString.UTF8 Data.ByteString.Lazy.UTF8
