Hello community,

here is the log from the commit of package ghc-SafeSemaphore for 
openSUSE:Factory checked in at 2017-09-15 21:04:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-SafeSemaphore (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-SafeSemaphore.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-SafeSemaphore"

Fri Sep 15 21:04:04 2017 rev:3 rq:523882 version:0.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-SafeSemaphore/ghc-SafeSemaphore.changes      
2016-07-27 16:10:00.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-SafeSemaphore.new/ghc-SafeSemaphore.changes 
2017-09-15 21:04:04.892555605 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - [email protected]
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+-------------------------------------------------------------------

Old:
----
  1.cabal

New:
----
  SafeSemaphore.cabal

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

Other differences:
------------------
++++++ ghc-SafeSemaphore.spec ++++++
--- /var/tmp/diff_new_pack.mC9gmC/_old  2017-09-15 21:04:05.696442755 +0200
+++ /var/tmp/diff_new_pack.mC9gmC/_new  2017-09-15 21:04:05.696442755 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-SafeSemaphore
 #
-# 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
@@ -23,20 +23,17 @@
 Release:        0
 Summary:        Much safer replacement for QSemN, QSem, and SampleVar
 License:        BSD-3-Clause
-Group:          System/Libraries
-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
-Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-stm-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 %endif
-# End cabal-rpm deps
 
 %description
 This provides a much safer semaphore than the QSem, QSemN, SampleVar in base.
@@ -45,7 +42,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}
@@ -58,20 +55,14 @@
 %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
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache
@@ -80,10 +71,8 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 
 %changelog

++++++ SafeSemaphore.cabal ++++++
Name:                SafeSemaphore
Version:             0.10.1
x-revision: 1
Synopsis:            Much safer replacement for QSemN, QSem, and SampleVar
Description:         This provides a much safer semaphore than the QSem, QSemN, 
SampleVar in base.
                     Those base modules are not exception safe and can be 
broken by killThread.
                     See <https://github.com/ChrisKuklewicz/SafeSemaphore> for 
more details.
Homepage:            https://github.com/ChrisKuklewicz/SafeSemaphore
License:             BSD3
License-file:        LICENSE
Author:              Chris Kuklewicz <[email protected]>
Maintainer:          Chris Kuklewicz <[email protected]>
Category:            Concurrency
Build-type:          Simple
Cabal-version:       >=1.8

Library
  Hs-Source-Dirs: src
  ghc-options:  -Wall -O2 -funbox-strict-fields
  Exposed-modules: Control.Concurrent.MSem
                   Control.Concurrent.MSemN
                   Control.Concurrent.MSemN2
                   Control.Concurrent.MSampleVar
                   Control.Concurrent.FairRWLock
                   Control.Concurrent.SSem
                   Control.Concurrent.STM.SSem
  Other-modules:   Control.Concurrent.STM.SSemInternals
  Build-depends:  base >=4.4 && <5, containers, stm

Test-Suite TestSafeSemaphore
  type:          exitcode-stdio-1.0
  main-is:       tests/TestKillSem.hs
  build-depends: base < 5, SafeSemaphore, HUnit


Reply via email to