commit ghc-ghc-syb-utils for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-ghc-syb-utils for openSUSE:Factory checked in at 2017-09-15 21:41:31 Comparing /work/SRC/openSUSE:Factory/ghc-ghc-syb-utils (Old) and /work/SRC/openSUSE:Factory/.ghc-ghc-syb-utils.new (New) Package is "ghc-ghc-syb-utils" Fri Sep 15 21:41:31 2017 rev:5 rq:524565 version:0.2.3.2 Changes: --- /work/SRC/openSUSE:Factory/ghc-ghc-syb-utils/ghc-ghc-syb-utils.changes 2017-07-05 23:59:00.611399574 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-ghc-syb-utils.new/ghc-ghc-syb-utils.changes 2017-09-15 21:41:32.848145195 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 15:38:38 UTC 2017 - psim...@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +--- Other differences: -- ++ ghc-ghc-syb-utils.spec ++ --- /var/tmp/diff_new_pack.bEeNRc/_old 2017-09-15 21:41:33.480056165 +0200 +++ /var/tmp/diff_new_pack.bEeNRc/_new 2017-09-15 21:41:33.484055601 +0200 @@ -23,14 +23,13 @@ Release:0 Summary:Scrap Your Boilerplate utilities for the GHC API License:BSD-3-Clause -Group: Development/Languages/Other -Url:https://hackage.haskell.org/package/%{pkg_name} +Group: Development/Libraries/Haskell +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-ghc-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-syb-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel @@ -42,7 +41,7 @@ %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -70,10 +69,8 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %changelog
commit ghc-ghc-syb-utils for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-ghc-syb-utils for openSUSE:Factory checked in at 2017-07-05 23:58:58 Comparing /work/SRC/openSUSE:Factory/ghc-ghc-syb-utils (Old) and /work/SRC/openSUSE:Factory/.ghc-ghc-syb-utils.new (New) Package is "ghc-ghc-syb-utils" Wed Jul 5 23:58:58 2017 rev:4 rq:506808 version:0.2.3.2 Changes: --- /work/SRC/openSUSE:Factory/ghc-ghc-syb-utils/ghc-ghc-syb-utils.changes 2017-06-21 13:55:21.954822252 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-ghc-syb-utils.new/ghc-ghc-syb-utils.changes 2017-07-05 23:59:00.611399574 +0200 @@ -1,0 +2,5 @@ +Mon Jun 19 20:51:50 UTC 2017 - psim...@suse.com + +- Update to version 0.2.3.2. + +--- Old: ghc-syb-utils-0.2.3.1.tar.gz New: ghc-syb-utils-0.2.3.2.tar.gz Other differences: -- ++ ghc-ghc-syb-utils.spec ++ --- /var/tmp/diff_new_pack.k9xnhc/_old 2017-07-05 23:59:02.695106041 +0200 +++ /var/tmp/diff_new_pack.k9xnhc/_new 2017-07-05 23:59:02.699105478 +0200 @@ -19,7 +19,7 @@ %global pkg_name ghc-syb-utils %bcond_with tests Name: ghc-%{pkg_name} -Version:0.2.3.1 +Version:0.2.3.2 Release:0 Summary:Scrap Your Boilerplate utilities for the GHC API License:BSD-3-Clause ++ ghc-syb-utils-0.2.3.1.tar.gz -> ghc-syb-utils-0.2.3.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-syb-utils-0.2.3.1/ghc-syb-utils.cabal new/ghc-syb-utils-0.2.3.2/ghc-syb-utils.cabal --- old/ghc-syb-utils-0.2.3.1/ghc-syb-utils.cabal 2017-06-11 12:15:08.0 +0200 +++ new/ghc-syb-utils-0.2.3.2/ghc-syb-utils.cabal 2017-06-11 15:56:51.0 +0200 @@ -1,5 +1,5 @@ name:ghc-syb-utils -version: 0.2.3.1 +version: 0.2.3.2 license: BSD3 license-file:LICENSE author: Claus Reinke @@ -11,9 +11,11 @@ category:Development stability: provisional build-type: Simple -cabal-version: >= 1.8 +cabal-version: >= 1.10 tested-with: GHC ==7.8.3, GHC ==7.10.0 +extra-source-files: test/test-cases/*.hs + library build-depends: base >= 4 && < 5 , syb >= 0.1.0 @@ -27,15 +29,19 @@ ghc-syb == 0.2.* hs-source-dirs: . - extensions: Rank2Types, CPP + default-language: Haskell2010 + default-extensions: Rank2Types, CPP ghc-options:-Wall exposed-modules: GHC.SYB.Utils + + test-suite regression-tests type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Regression.hs + default-language: Haskell2010 build-depends: base, directory, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-syb-utils-0.2.3.1/test/Regression.hs new/ghc-syb-utils-0.2.3.2/test/Regression.hs --- old/ghc-syb-utils-0.2.3.1/test/Regression.hs2017-06-11 12:15:08.0 +0200 +++ new/ghc-syb-utils-0.2.3.2/test/Regression.hs2017-06-11 15:56:58.0 +0200 @@ -14,8 +14,8 @@ main :: IO () main = do - pkg_dir <- getCurrentDirectory - let ex1 = pkg_dir "test" "test-cases" "GithubIssue9.hs" + let ex1 = "test" "test-cases" "GithubIssue9.hs" + Ghc.runGhc (Just libdir) $ do dflags0 <- Ghc.getSessionDynFlags let dflags = dflags0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-syb-utils-0.2.3.1/test/test-cases/GithubIssue9.hs new/ghc-syb-utils-0.2.3.2/test/test-cases/GithubIssue9.hs --- old/ghc-syb-utils-0.2.3.1/test/test-cases/GithubIssue9.hs 1970-01-01 01:00:00.0 +0100 +++ new/ghc-syb-utils-0.2.3.2/test/test-cases/GithubIssue9.hs 2017-06-11 12:15:08.0 +0200 @@ -0,0 +1,7 @@ +{-# LANGUAGE TemplateHaskell #-} +module GithubIssue9 where + +import Language.Haskell.TH + +foo :: Q Exp +foo = [| \f -> f 2 |]
commit ghc-ghc-syb-utils for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-ghc-syb-utils for openSUSE:Factory checked in at 2017-06-21 13:55:21 Comparing /work/SRC/openSUSE:Factory/ghc-ghc-syb-utils (Old) and /work/SRC/openSUSE:Factory/.ghc-ghc-syb-utils.new (New) Package is "ghc-ghc-syb-utils" Wed Jun 21 13:55:21 2017 rev:3 rq:504666 version:0.2.3.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-ghc-syb-utils/ghc-ghc-syb-utils.changes 2016-07-20 09:21:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-ghc-syb-utils.new/ghc-ghc-syb-utils.changes 2017-06-21 13:55:21.954822252 +0200 @@ -1,0 +2,5 @@ +Mon Jun 12 09:41:40 UTC 2017 - psim...@suse.com + +- Update to version 0.2.3.1. + +--- Old: ghc-syb-utils-0.2.3.tar.gz New: ghc-syb-utils-0.2.3.1.tar.gz Other differences: -- ++ ghc-ghc-syb-utils.spec ++ --- /var/tmp/diff_new_pack.ZhiUgc/_old 2017-06-21 13:55:23.310631003 +0200 +++ /var/tmp/diff_new_pack.ZhiUgc/_new 2017-06-21 13:55:23.310631003 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-ghc-syb-utils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,21 +17,25 @@ %global pkg_name ghc-syb-utils +%bcond_with tests Name: ghc-%{pkg_name} -Version:0.2.3 +Version:0.2.3.1 Release:0 Summary:Scrap Your Boilerplate utilities for the GHC API 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 BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-ghc-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-syb-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps +%if %{with tests} +BuildRequires: ghc-directory-devel +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-ghc-paths-devel +%endif %description Scrap Your Boilerplate utilities for the GHC API. @@ -50,14 +54,14 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install +%check +%cabal_test %post devel %ghc_pkg_recache ++ ghc-syb-utils-0.2.3.tar.gz -> ghc-syb-utils-0.2.3.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-syb-utils-0.2.3/GHC/SYB/Utils.hs new/ghc-syb-utils-0.2.3.1/GHC/SYB/Utils.hs --- old/ghc-syb-utils-0.2.3/GHC/SYB/Utils.hs2015-01-15 01:09:53.0 +0100 +++ new/ghc-syb-utils-0.2.3.1/GHC/SYB/Utils.hs 2017-06-11 12:15:08.0 +0200 @@ -185,7 +185,9 @@ import Bag(Bag,bagToList) import Var(Var) import FastString(FastString) -#if __GLASGOW_HASKELL__ >= 709 +#if __GLASGOW_HASKELL__ >= 800 +import NameSet(NameSet,nameSetElemsStable) +#elif __GLASGOW_HASKELL__ >= 709 import NameSet(NameSet,nameSetElems) #else import NameSet(NameSet,nameSetToList) @@ -198,7 +200,10 @@ import Control.Monad import Data.List -#if __GLASGOW_HASKELL__ < 709 +#if __GLASGOW_HASKELL__ >= 800 +nameSetElems :: NameSet -> [Name] +nameSetElems = nameSetElemsStable +#elif __GLASGOW_HASKELL__ < 709 nameSetElems :: NameSet -> [Name] nameSetElems = nameSetToList #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ghc-syb-utils-0.2.3/ghc-syb-utils.cabal new/ghc-syb-utils-0.2.3.1/ghc-syb-utils.cabal --- old/ghc-syb-utils-0.2.3/ghc-syb-utils.cabal 2015-01-15 01:09:53.0 +0100 +++ new/ghc-syb-utils-0.2.3.1/ghc-syb-utils.cabal 2017-06-11 12:15:08.0 +0200 @@ -1,5 +1,5 @@ name:ghc-syb-utils -version: 0.2.3 +version: 0.2.3.1 license: BSD3 license-file:LICENSE author: Claus Reinke @@ -11,7 +11,7 @@ category:Development stability: provisional build-type: Simple -cabal-version: >= 1.6 +cabal-version: >= 1.8 tested-with: GHC ==7.8.3, GHC ==7.10.0 library @@ -31,3 +31,15 @@ ghc-options:-Wall exposed-modules: GHC.SYB.Utils + +test-suite regression-tests + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Regression.hs + build-depends: +base, +directory, +filepath, +ghc, +ghc-paths, +ghc-syb-utils diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exc
commit ghc-ghc-syb-utils for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-ghc-syb-utils for openSUSE:Factory checked in at 2016-07-20 09:21:14 Comparing /work/SRC/openSUSE:Factory/ghc-ghc-syb-utils (Old) and /work/SRC/openSUSE:Factory/.ghc-ghc-syb-utils.new (New) Package is "ghc-ghc-syb-utils" Changes: --- /work/SRC/openSUSE:Factory/ghc-ghc-syb-utils/ghc-ghc-syb-utils.changes 2015-05-22 09:51:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-ghc-syb-utils.new/ghc-ghc-syb-utils.changes 2016-07-20 09:21:16.0 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:00:58 UTC 2016 - psim...@suse.com + +- Update to version 0.2.3 revision 0 with cabal2obs. + +--- Other differences: -- ++ ghc-ghc-syb-utils.spec ++ --- /var/tmp/diff_new_pack.68DIVP/_old 2016-07-20 09:21:17.0 +0200 +++ /var/tmp/diff_new_pack.68DIVP/_new 2016-07-20 09:21:17.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-ghc-syb-utils # -# 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 @@ -15,42 +15,38 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global pkg_name ghc-syb-utils +%global pkg_name ghc-syb-utils Name: ghc-%{pkg_name} Version:0.2.3 Release:0 Summary:Scrap Your Boilerplate utilities for the GHC API -Group: System/Libraries - License:BSD-3-Clause +Group: System/Libraries Url:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-ghc-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-syb-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build # End cabal-rpm deps %description Scrap Your Boilerplate utilities for the GHC API. - %package devel Summary:Haskell %{pkg_name} library development files Group: Development/Libraries/Other +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} @@ -66,18 +62,14 @@ %post devel %ghc_pkg_recache - %postun devel %ghc_pkg_recache - %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE - %files devel -f %{name}-devel.files %defattr(-,root,root,-) - %changelog