diff --git a/ghc-syb.changes b/ghc-syb.changes index 7a1867d..4f93841 100644 --- a/ghc-syb.changes +++ b/ghc-syb.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon May 6 10:06:40 UTC 2013 - peter.trommler@ohm-hochschule.de + +- update to 0.4.0 from upstream +* fix for ghc 7.7 and up +- part of Haskell Platform 2013.2 update +- more transparent packaging (fewer macros) + ------------------------------------------------------------------- Sun Dec 30 18:43:19 UTC 2012 - peter.trommler@ohm-hochschule.de diff --git a/ghc-syb.spec b/ghc-syb.spec index fe81cfb..a2a7534 100644 --- a/ghc-syb.spec +++ b/ghc-syb.spec @@ -1,8 +1,7 @@ # -# spec file for ghc-syb +# spec file for package ghc-syb # - -# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name syb %global common_summary Haskell Scrap Your Boilerplate library @@ -23,47 +23,56 @@ %global common_description This package contains the generics system described in the Scrap Your Boilerplate papers (see http://www.cs.uu.nl/wiki/GenericProgramming/SYB). It defines the Data class of types permitting folding and unfolding of constructor applications, instances of this class for primitive types, and a variety of traversals. Name: ghc-syb -Version: 0.3.7 -Release: 1 +Version: 0.4.0 +Release: 0 Summary: %{common_summary} - -Group: System/Libraries License: BSD-3-Clause +Group: System/Libraries + BuildRoot: %{_tmppath}/%{name}-%{version}-build # BEGIN cabal2spec -URL: http://hackage.haskell.org/package/%{pkg_name} +Url: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz ExclusiveArch: %{ix86} x86_64 %{ghc_arches} BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +BuildRequires: ghc-rpm-macros # END cabal2spec %description %{common_description} +%package devel +Summary: Haskell %{pkg_name} library development files +Group: Development/Languages/Other +Requires: ghc-compiler +Requires(post): ghc-compiler +Requires(postun): ghc-compiler +Requires: %{name} = %{version}-%{release} + +%description devel +%{common_description} +This package contains the development files. %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install +%post devel +%ghc_pkg_recache -# devel subpackage -%ghc_devel_package +%postun devel +%ghc_pkg_recache -%ghc_devel_description - - -%ghc_devel_post_postun - - -%ghc_files LICENSE +%files -f %{name}.files +%defattr(-,root,root,-) +%doc LICENSE README +%files devel -f %{name}-devel.files +%defattr(-,root,root,-) %changelog diff --git a/syb-0.3.7.tar.gz b/syb-0.3.7.tar.gz deleted file mode 100644 index 7a70ab9..0000000 --- a/syb-0.3.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:59f4058a8182a472c0e0e35f8aca836470a5785d3dcd01e3d44bb188c850da73 -size 39091 diff --git a/syb-0.4.0.tar.gz b/syb-0.4.0.tar.gz new file mode 100644 index 0000000..85f607a --- /dev/null +++ b/syb-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f201089aa7e74b6cbca7fc73a259596b2a9628e31a9b54e801844ad68447bff3 +size 71729