diff --git a/ghc-pandoc-types.changes b/ghc-pandoc-types.changes index b6cfc70..d7c4df4 100644 --- a/ghc-pandoc-types.changes +++ b/ghc-pandoc-types.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 10 17:27:24 UTC 2016 - psimons@suse.com + +- Update to version 1.16.1 revision 0 with cabal2obs. + ------------------------------------------------------------------- Thu Feb 11 08:45:43 UTC 2016 - mimi.vx@gmail.com diff --git a/ghc-pandoc-types.spec b/ghc-pandoc-types.spec index c10c32d..d7e63d5 100644 --- a/ghc-pandoc-types.spec +++ b/ghc-pandoc-types.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-pandoc-types # -# 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,27 +17,23 @@ %global pkg_name pandoc-types - -Name: ghc-pandoc-types +Name: ghc-%{pkg_name} Version: 1.16.1 Release: 0 Summary: Types for representing a structured document License: GPL-2.0 Group: System/Libraries - -Url: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{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 BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-aeson-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-deepseq-generics-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-syb-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build # End cabal-rpm deps %description @@ -58,30 +54,30 @@ Pandoc documents. 'Text.Pandoc.JSON' provides functions for serializing and deserializing a 'Pandoc' structure to and from JSON. -#' help EMACS syntax highlighting %package devel Summary: Haskell %{pkg_name} library development files Group: Development/Libraries/Other -Provides: %{name}-static = %{version}-%{release} +Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} -Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. - %prep %setup -q -n %{pkg_name}-%{version} + %build %ghc_lib_build + %install %ghc_lib_install + %post devel %ghc_pkg_recache @@ -90,9 +86,10 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files %defattr(-,root,root,-) -%doc LICENSE +%doc LICENSE %files devel -f %{name}-devel.files %defattr(-,root,root,-) +%doc changelog %changelog