diff --git a/annotated-wl-pprint.cabal b/annotated-wl-pprint.cabal new file mode 100644 index 0000000..0ab3052 --- /dev/null +++ b/annotated-wl-pprint.cabal @@ -0,0 +1,26 @@ +Name: annotated-wl-pprint +Version: 0.7.0 +x-revision: 1 +Cabal-Version: >= 1.6 +Synopsis: The Wadler/Leijen Pretty Printer, with annotation support +Category: Text +Description: + This is a modified version of wl-pprint, which was based on Wadler's + paper "A Prettier Printer". See the haddocks for full info. This + version allows the library user to annotate the text with semantic + information, which can later be rendered in a variety of ways. +License: BSD3 +License-file: LICENSE +Author: Daan Leijen, David Raymond Christiansen +Maintainer: david@davidchristiansen.dk +Homepage: https://github.com/david-christiansen/annotated-wl-pprint +Build-Type: Simple +Library + Build-Depends: base >= 4.4 && < 5 + Exposed-Modules: Text.PrettyPrint.Annotated.Leijen + Extensions: DeriveFunctor + Ghc-options: -fwarn-incomplete-patterns +Source-Repository head + type: git + location: https://github.com/david-christiansen/annotated-wl-pprint + diff --git a/ghc-annotated-wl-pprint.changes b/ghc-annotated-wl-pprint.changes index f4d2f81..12c9fd1 100644 --- a/ghc-annotated-wl-pprint.changes +++ b/ghc-annotated-wl-pprint.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 6 13:51:53 UTC 2016 - psimons@suse.com + +- Update to version 0.7.0 revision 1 with cabal2obs. + ------------------------------------------------------------------- Sun Jul 10 16:57:38 UTC 2016 - psimons@suse.com diff --git a/ghc-annotated-wl-pprint.spec b/ghc-annotated-wl-pprint.spec index 7a6e4de..20489be 100644 --- a/ghc-annotated-wl-pprint.spec +++ b/ghc-annotated-wl-pprint.spec @@ -22,9 +22,10 @@ Version: 0.7.0 Release: 0 Summary: The Wadler/Leijen Pretty Printer, with annotation support 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 +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -49,16 +50,14 @@ 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