commit ghc-hse-cpp for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hse-cpp for openSUSE:Factory checked in at 2017-09-15 21:49:19 Comparing /work/SRC/openSUSE:Factory/ghc-hse-cpp (Old) and /work/SRC/openSUSE:Factory/.ghc-hse-cpp.new (New) Package is "ghc-hse-cpp" Fri Sep 15 21:49:19 2017 rev:3 rq:524779 version:0.2 Changes: --- /work/SRC/openSUSE:Factory/ghc-hse-cpp/ghc-hse-cpp.changes 2017-03-24 02:18:18.344494595 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-hse-cpp.new/ghc-hse-cpp.changes 2017-09-15 21:49:20.486264866 +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-hse-cpp.spec ++ --- /var/tmp/diff_new_pack.eq6BBE/_old 2017-09-15 21:49:21.294150989 +0200 +++ /var/tmp/diff_new_pack.eq6BBE/_new 2017-09-15 21:49:21.298150426 +0200 @@ -22,21 +22,20 @@ Release:0 Summary:Preprocess+parse haskell code License:MIT -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-cpphs-devel BuildRequires: ghc-haskell-src-exts-devel BuildRequires: ghc-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Preprocess+parse haskell code. %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} @@ -61,10 +60,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-hse-cpp for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hse-cpp for openSUSE:Factory checked in at 2017-03-24 02:18:17 Comparing /work/SRC/openSUSE:Factory/ghc-hse-cpp (Old) and /work/SRC/openSUSE:Factory/.ghc-hse-cpp.new (New) Package is "ghc-hse-cpp" Fri Mar 24 02:18:17 2017 rev:2 rq:479409 version:0.2 Changes: --- /work/SRC/openSUSE:Factory/ghc-hse-cpp/ghc-hse-cpp.changes 2017-03-08 01:02:15.726125293 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-hse-cpp.new/ghc-hse-cpp.changes 2017-03-24 02:18:18.344494595 +0100 @@ -1,0 +2,5 @@ +Sun Feb 12 14:20:20 UTC 2017 - psim...@suse.com + +- Update to version 0.2 with cabal2obs. + +--- Old: 1.cabal hse-cpp-0.1.tar.gz New: hse-cpp-0.2.tar.gz Other differences: -- ++ ghc-hse-cpp.spec ++ --- /var/tmp/diff_new_pack.mrbB6r/_old 2017-03-24 02:18:18.860421595 +0100 +++ /var/tmp/diff_new_pack.mrbB6r/_new 2017-03-24 02:18:18.864421029 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-hse-cpp # -# 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 @@ -18,14 +18,13 @@ %global pkg_name hse-cpp Name: ghc-%{pkg_name} -Version:0.1 +Version:0.2 Release:0 Summary:Preprocess+parse haskell code License:MIT 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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-cpphs-devel BuildRequires: ghc-haskell-src-exts-devel @@ -48,7 +47,6 @@ %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++ hse-cpp-0.1.tar.gz -> hse-cpp-0.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hse-cpp-0.1/Language/Haskell/Exts/Annotated/CPP.hs new/hse-cpp-0.2/Language/Haskell/Exts/Annotated/CPP.hs --- old/hse-cpp-0.1/Language/Haskell/Exts/Annotated/CPP.hs 2013-05-21 08:49:23.0 +0200 +++ new/hse-cpp-0.2/Language/Haskell/Exts/Annotated/CPP.hs 1970-01-01 01:00:00.0 +0100 @@ -1,66 +0,0 @@ -module Language.Haskell.Exts.Annotated.CPP - ( parseFileWithCommentsAndCPP - , parseFileContentsWithCommentsAndCPP - , defaultCpphsOptions - , CpphsOptions(..) - , BoolOptions(..) - ) where - -import qualified Language.Preprocessor.Cpphs as Orig -import Language.Preprocessor.Cpphs hiding (defaultCpphsOptions) -import Language.Preprocessor.Unlit -import Language.Haskell.Exts (ParseMode(..)) -import Language.Haskell.Exts.Annotated -import Control.Applicative -import Data.List - -parseFileWithCommentsAndCPP :: CpphsOptions -> ParseMode -> FilePath - -> IO (ParseResult (Module SrcSpanInfo, [Comment])) -parseFileWithCommentsAndCPP cppopts parseMode0 file = do -content <- readFile file -parseFileContentsWithCommentsAndCPP cppopts parseMode content - where -parseMode = parseMode0 { parseFilename = file } - -parseFileContentsWithCommentsAndCPP -:: CpphsOptions -> ParseMode -> String --> IO (ParseResult (Module SrcSpanInfo, [Comment])) -parseFileContentsWithCommentsAndCPP cppopts p rawStr = do -let filename = parseFilename p -md = delit filename rawStr -cppMode = updateExtensions p md -processedSrc <- cpp cppopts cppMode md -let finalMode = updateExtensions cppMode processedSrc -return $ parseModuleWithComments finalMode processedSrc - -updateExtensions :: ParseMode -> String -> ParseMode -updateExtensions p mod = - let oldLang = baseLanguage p - exts = extensions p - (bLang, extraExts) = - case (ignoreLanguagePragmas p, readExtensions mod) of -(False, Just (mLang, es)) -> - (case mLang of {Nothing -> oldLang;Just newLang -> newLang}, es) -_ -> (oldLang, []) - in p { extensions = exts ++ extraExts - , ignoreLanguagePragmas = False - , baseLanguage = bLang - } - -cpp cppopts p str - | CPP `elem` impliesExts (toExtensionList (baseLanguage p) (extensions p)) - = runCpphs cppopts (parseFilename p) str - | otherwise = return str - -delit :: String -> String -> String -delit fn = if ".lhs" `isSuffixOf` fn then unlit fn else id - -defaultCpphsOptions = - Orig.defaultCpphsOptions - { boolopts = (boolopt
commit ghc-hse-cpp for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hse-cpp for openSUSE:Factory checked in at 2017-03-08 01:02:15 Comparing /work/SRC/openSUSE:Factory/ghc-hse-cpp (Old) and /work/SRC/openSUSE:Factory/.ghc-hse-cpp.new (New) Package is "ghc-hse-cpp" Wed Mar 8 01:02:15 2017 rev:1 rq:422233 version:0.1 Changes: New Changes file: --- /dev/null 2017-03-01 00:40:19.279048016 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-hse-cpp.new/ghc-hse-cpp.changes 2017-03-08 01:02:15.726125293 +0100 @@ -0,0 +1,10 @@ +--- +Wed Aug 17 18:34:26 UTC 2016 - psim...@suse.com + +- Update to version 0.1 revision 1 with cabal2obs. + +--- +Sun Jul 10 17:32:28 UTC 2016 - psim...@suse.com + +- Update to version 0.1 revision 0 with cabal2obs. + New: 1.cabal ghc-hse-cpp.changes ghc-hse-cpp.spec hse-cpp-0.1.tar.gz Other differences: -- ++ ghc-hse-cpp.spec ++ # # spec file for package ghc-hse-cpp # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global pkg_name hse-cpp Name: ghc-%{pkg_name} Version:0.1 Release:0 Summary:Preprocess+parse haskell code License:MIT 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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-cpphs-devel BuildRequires: ghc-haskell-src-exts-devel BuildRequires: ghc-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Preprocess+parse haskell code. %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} %description devel 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 %postun devel %ghc_pkg_recache %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files %defattr(-,root,root,-) %changelog ++ 1.cabal ++ -- Initial hse-cpp.cabal generated by cabal init. For further -- documentation, see http://haskell.org/cabal/users-guide/ name:hse-cpp version: 0.1 x-revision: 1 synopsis:Preprocess+parse haskell code -- description: license: MIT license-file:LICENSE author: Roman Cheplyaka maintainer: Roman Cheplyaka -- copyright: category:Language build-type: Simple cabal-version: >=1.10 library exposed-modules: Language.Haskell.Exts.Annotated.CPP -- other-modules: build-depends: base == 4.* , cpphs , haskell-src-exts >= 1.14 && <1.18 default-language:Haskell2010