Hello community,

here is the log from the commit of package ghc-primitive for openSUSE:Factory 
checked in at 2016-07-27 16:08:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-primitive (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-primitive.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-primitive"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-primitive/ghc-primitive.changes      
2015-09-30 05:52:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-primitive.new/ghc-primitive.changes 
2016-07-27 16:09:09.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:30:05 UTC 2016 - psim...@suse.com
+
+- Update to version 0.6.1.0 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  _service

New:
----
  1.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-primitive.spec ++++++
--- /var/tmp/diff_new_pack.JjASGT/_old  2016-07-27 16:09:11.000000000 +0200
+++ /var/tmp/diff_new_pack.JjASGT/_new  2016-07-27 16:09:11.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-primitive
 #
-# 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,21 +17,21 @@
 
 
 %global pkg_name primitive
-
-Name:           ghc-primitive
+Name:           ghc-%{pkg_name}
 Version:        0.6.1.0
 Release:        0
 Summary:        Primitive memory-related operations
 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-transformers-devel
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+# End cabal-rpm deps
 
 %description
 This package provides various primitive memory-related operations.
@@ -39,25 +39,27 @@
 %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
 
+
 %post devel
 %ghc_pkg_recache
 
@@ -70,5 +72,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc changelog.md
 
 %changelog

++++++ 1.cabal ++++++
Name:           primitive
Version:        0.6.1.0
x-revision: 1
License:        BSD3
License-File:   LICENSE

Author:         Roman Leshchinskiy <r...@cse.unsw.edu.au>
Maintainer:     librar...@haskell.org
Copyright:      (c) Roman Leshchinskiy 2009-2012
Homepage:       https://github.com/haskell/primitive
Bug-Reports:    https://github.com/haskell/primitive/issues
Category:       Data
Synopsis:       Primitive memory-related operations
Cabal-Version:  >= 1.10
Build-Type:     Simple
Description:    This package provides various primitive memory-related 
operations.

Extra-Source-Files: changelog.md

Library
  Default-Language: Haskell2010
  Other-Extensions:
        BangPatterns, CPP, DeriveDataTypeable,
        MagicHash, TypeFamilies, UnboxedTuples, UnliftedFFITypes

  Exposed-Modules:
        Control.Monad.Primitive
        Data.Primitive
        Data.Primitive.MachDeps
        Data.Primitive.Types
        Data.Primitive.Array
        Data.Primitive.ByteArray
        Data.Primitive.Addr
        Data.Primitive.MutVar

  Other-Modules:
        Data.Primitive.Internal.Compat
        Data.Primitive.Internal.Operations

  Build-Depends: base >= 4.3 && < 4.10
               , ghc-prim >= 0.2 && < 0.6
               , transformers >= 0.2 && < 0.6

  Ghc-Options: -O2 -Wall

  Include-Dirs: cbits
  Install-Includes: primitive-memops.h
  includes: primitive-memops.h
  c-sources: cbits/primitive-memops.c
  cc-options: -O3 -fomit-frame-pointer -Wall
  if !os(solaris)
      cc-options: -ftree-vectorize
  if arch(i386) || arch(x86_64)
      cc-options: -msse2

test-suite test
  Default-Language: Haskell2010
  hs-source-dirs: test
  main-is: main.hs
  type: exitcode-stdio-1.0
  build-depends: base
               , ghc-prim
               , primitive
  ghc-options: -O2

source-repository head
  type:     git
  location: https://github.com/haskell/primitive

Reply via email to