Hello community, here is the log from the commit of package ghc-vector for openSUSE:Factory checked in at 2016-07-21 08:13:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-vector (Old) and /work/SRC/openSUSE:Factory/.ghc-vector.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-vector" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-vector/ghc-vector.changes 2016-01-07 00:25:10.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-vector.new/ghc-vector.changes 2016-07-21 08:13:26.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:13:13 UTC 2016 - psim...@suse.com + +- Update to version 0.11.0.0 revision 1 with cabal2obs. + +------------------------------------------------------------------- Old: ---- _service New: ---- 1.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-vector.spec ++++++ --- /var/tmp/diff_new_pack.kcO7JE/_old 2016-07-21 08:13:27.000000000 +0200 +++ /var/tmp/diff_new_pack.kcO7JE/_new 2016-07-21 08:13:27.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-vector # -# 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,52 +17,85 @@ %global pkg_name vector - -Name: ghc-vector +%bcond_with tests +Name: ghc-%{pkg_name} Version: 0.11.0.0 Release: 0 Summary: Efficient Arrays License: BSD-3-Clause 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 +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-deepseq-devel BuildRequires: ghc-primitive-devel +BuildRequires: ghc-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-random-devel +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-quickcheck2-devel +BuildRequires: ghc-transformers-devel +%endif # End cabal-rpm deps %description An efficient implementation of Int-indexed arrays (both mutable and immutable), -with a powerful loop optimisation framework. +with a powerful loop optimisation framework . + +It is structured as follows: + +["Data.Vector"] Boxed vectors of arbitrary types. + +["Data.Vector.Unboxed"] Unboxed vectors with an adaptive representation based +on data type families. + +["Data.Vector.Storable"] Unboxed vectors of 'Storable' types. +["Data.Vector.Primitive"] Unboxed vectors of primitive types as defined by the +'primitive' package. "Data.Vector.Unboxed" is more flexible at no performance +cost. + +["Data.Vector.Generic"] Generic interface to the vector types. + +There is also a (draft) tutorial on common uses of vector. + +* <http://haskell.org/haskellwiki/Numeric_Haskell:_A_Vector_Tutorial>. %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} +cp -p %{SOURCE1} %{pkg_name}.cabal + %build %ghc_lib_build + %install %ghc_lib_install + +%check +%if %{with tests} +%{cabal} test +%endif + + %post devel %ghc_pkg_recache @@ -75,5 +108,6 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) +%doc README.md changelog %changelog ++++++ 1.cabal ++++++ Name: vector Version: 0.11.0.0 x-revision: 1 -- don't forget to update the changelog file! License: BSD3 License-File: LICENSE Author: Roman Leshchinskiy <r...@cse.unsw.edu.au> Maintainer: Haskell Libraries Team <librar...@haskell.org> Copyright: (c) Roman Leshchinskiy 2008-2012 Homepage: https://github.com/haskell/vector Bug-Reports: https://github.com/haskell/vector/issues Category: Data, Data Structures Synopsis: Efficient Arrays Description: . An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework . . It is structured as follows: . ["Data.Vector"] Boxed vectors of arbitrary types. . ["Data.Vector.Unboxed"] Unboxed vectors with an adaptive representation based on data type families. . ["Data.Vector.Storable"] Unboxed vectors of 'Storable' types. . ["Data.Vector.Primitive"] Unboxed vectors of primitive types as defined by the @primitive@ package. "Data.Vector.Unboxed" is more flexible at no performance cost. . ["Data.Vector.Generic"] Generic interface to the vector types. . There is also a (draft) tutorial on common uses of vector. . * <http://haskell.org/haskellwiki/Numeric_Haskell:_A_Vector_Tutorial> Cabal-Version: >=1.10 Build-Type: Simple Extra-Source-Files: README.md tests/LICENSE tests/Setup.hs tests/Main.hs tests/Boilerplater.hs tests/Utilities.hs tests/Tests/Move.hs tests/Tests/Bundle.hs tests/Tests/Vector.hs benchmarks/vector-benchmarks.cabal benchmarks/LICENSE benchmarks/Setup.hs benchmarks/Main.hs benchmarks/Algo/AwShCC.hs benchmarks/Algo/HybCC.hs benchmarks/Algo/Leaffix.hs benchmarks/Algo/ListRank.hs benchmarks/Algo/Quickhull.hs benchmarks/Algo/Rootfix.hs benchmarks/Algo/Spectral.hs benchmarks/Algo/Tridiag.hs benchmarks/TestData/Graph.hs benchmarks/TestData/ParenTree.hs benchmarks/TestData/Random.hs changelog internal/GenUnboxTuple.hs internal/unbox-tuple-instances Flag BoundsChecks Description: Enable bounds checking Default: True Manual: True Flag UnsafeChecks Description: Enable bounds checking in unsafe operations at the cost of a significant performance penalty Default: False Manual: True Flag InternalChecks Description: Enable internal consistency checks at the cost of a significant performance penalty Default: False Manual: True Library Default-Language: Haskell2010 Other-Extensions: BangPatterns CPP DeriveDataTypeable ExistentialQuantification FlexibleContexts FlexibleInstances GADTs KindSignatures MagicHash MultiParamTypeClasses Rank2Types ScopedTypeVariables StandaloneDeriving TypeFamilies Exposed-Modules: Data.Vector.Internal.Check Data.Vector.Fusion.Util Data.Vector.Fusion.Stream.Monadic Data.Vector.Fusion.Bundle.Size Data.Vector.Fusion.Bundle.Monadic Data.Vector.Fusion.Bundle Data.Vector.Generic.Mutable.Base Data.Vector.Generic.Mutable Data.Vector.Generic.Base Data.Vector.Generic.New Data.Vector.Generic Data.Vector.Primitive.Mutable Data.Vector.Primitive Data.Vector.Storable.Internal Data.Vector.Storable.Mutable Data.Vector.Storable Data.Vector.Unboxed.Base Data.Vector.Unboxed.Mutable Data.Vector.Unboxed Data.Vector.Mutable Data.Vector Include-Dirs: include, internal Install-Includes: vector.h Build-Depends: base >= 4.3 && < 4.10 , primitive >= 0.5.0.1 && < 0.7 , ghc-prim >= 0.2 && < 0.6 , deepseq >= 1.1 && < 1.5 Ghc-Options: -O2 -Wall -fno-warn-orphans if flag(BoundsChecks) cpp-options: -DVECTOR_BOUNDS_CHECKS if flag(UnsafeChecks) cpp-options: -DVECTOR_UNSAFE_CHECKS if flag(InternalChecks) cpp-options: -DVECTOR_INTERNAL_CHECKS source-repository head type: git location: https://github.com/haskell/vector.git test-suite vector-tests-O0 Default-Language: Haskell2010 type: exitcode-stdio-1.0 Main-Is: Main.hs hs-source-dirs: tests Build-Depends: base >= 4 && < 5, template-haskell, vector, random, QuickCheck >= 2.7 && < 2.8 , test-framework, test-framework-quickcheck2, transformers >= 0.2.0.0 default-extensions: CPP, ScopedTypeVariables, PatternGuards, MultiParamTypeClasses, FlexibleContexts, Rank2Types, TypeSynonymInstances, TypeFamilies, TemplateHaskell Ghc-Options: -O0 Ghc-Options: -Wall -fno-warn-orphans -fno-warn-missing-signatures test-suite vector-tests-O2 Default-Language: Haskell2010 type: exitcode-stdio-1.0 Main-Is: Main.hs hs-source-dirs: tests Build-Depends: base >= 4 && < 5, template-haskell, vector, random, QuickCheck >= 2.7, test-framework, test-framework-quickcheck2, transformers >= 0.2.0.0 default-extensions: CPP, ScopedTypeVariables, PatternGuards, MultiParamTypeClasses, FlexibleContexts, Rank2Types, TypeSynonymInstances, TypeFamilies, TemplateHaskell Ghc-Options: -O2 Ghc-Options: -Wall -fno-warn-orphans -fno-warn-missing-signatures