Hello community,

here is the log from the commit of package cabal2spec for openSUSE:Factory 
checked in at 2018-10-25 08:14:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cabal2spec (Old)
 and      /work/SRC/openSUSE:Factory/.cabal2spec.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cabal2spec"

Thu Oct 25 08:14:03 2018 rev:2 rq:642842 version:2.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/cabal2spec/cabal2spec.changes    2018-07-25 
16:07:29.249254155 +0200
+++ /work/SRC/openSUSE:Factory/.cabal2spec.new/cabal2spec.changes       
2018-10-25 08:14:29.744118399 +0200
@@ -1,0 +2,6 @@
+Thu Oct  4 09:42:52 UTC 2018 - psim...@suse.com
+
+- Update cabal2spec to version 2.2.2.
+  Upstream does not provide a change log file.
+
+-------------------------------------------------------------------

Old:
----
  cabal2spec-2.2.1.tar.gz

New:
----
  cabal2spec-2.2.2.tar.gz

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

Other differences:
------------------
++++++ cabal2spec.spec ++++++
--- /var/tmp/diff_new_pack.jk1v6Y/_old  2018-10-25 08:14:30.144118227 +0200
+++ /var/tmp/diff_new_pack.jk1v6Y/_new  2018-10-25 08:14:30.148118225 +0200
@@ -12,14 +12,14 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %global pkg_name cabal2spec
 %bcond_with tests
 Name:           %{pkg_name}
-Version:        2.2.1
+Version:        2.2.2
 Release:        0
 Summary:        Convert Cabal files into rpm spec files
 License:        GPL-3.0-or-later

++++++ cabal2spec-2.2.1.tar.gz -> cabal2spec-2.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal2spec-2.2.1/cabal2spec.cabal 
new/cabal2spec-2.2.2/cabal2spec.cabal
--- old/cabal2spec-2.2.1/cabal2spec.cabal       2018-07-19 22:57:38.000000000 
+0200
+++ new/cabal2spec-2.2.2/cabal2spec.cabal       1970-01-01 01:00:00.000000000 
+0100
@@ -1,5 +1,5 @@
 name:               cabal2spec
-version:            2.2.1
+version:            2.2.2
 synopsis:           Convert Cabal files into rpm spec files
 description:        Convert
                     Cabal files into a
@@ -14,7 +14,7 @@
 license-file:       LICENSE
 author:             Peter Simons, Bryan O'Sullivan, Jens Petersen
 maintainer:         sim...@cryp.to
-tested-with:        GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3
+tested-with:        GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1
 category:           Distribution
 homepage:           https://github.com/peti/cabal2spec
 build-type:         Simple
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal2spec-2.2.1/src/Cabal2Spec.hs 
new/cabal2spec-2.2.2/src/Cabal2Spec.hs
--- old/cabal2spec-2.2.1/src/Cabal2Spec.hs      2018-07-19 22:57:38.000000000 
+0200
+++ new/cabal2spec-2.2.2/src/Cabal2Spec.hs      1970-01-01 01:00:00.000000000 
+0100
@@ -377,7 +377,8 @@
 -- returns list of deps and whether package is self-dependent
 buildDependencies :: PackageDescription -> String -> ([String], Bool)
 buildDependencies pkgDesc self =
-  let bdeps = map depName (buildDepends pkgDesc)
+  let bis   = map libBuildInfo (allLibraries pkgDesc) ++ map buildInfo 
(executables pkgDesc)
+      bdeps = map depName (concatMap targetBuildDepends (filter buildable bis))
       sdeps = maybe [] (map depName . setupDepends) (setupBuildInfo pkgDesc)
       deps  = nub $ bdeps ++ sdeps
   in
@@ -451,7 +452,7 @@
                       -> String             -- ^self
                       -> [String]           -- ^depends
 testsuiteDependencies pkgDesc self =
-  map showDep . delete self . filter (excludedPkgs pkgDesc) . nub . map 
depName $ concatMap (targetBuildDepends . testBuildInfo) (testSuites pkgDesc)
+  map showDep . delete self . filter (excludedPkgs pkgDesc) . nub . map 
depName $ concatMap targetBuildDepends (filter buildable (map testBuildInfo 
(testSuites pkgDesc)))
 
 badDescription :: String -> Bool
 badDescription s = null s
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.2.1/test/golden-test-cases/butcher.spec.golden 
new/cabal2spec-2.2.2/test/golden-test-cases/butcher.spec.golden
--- old/cabal2spec-2.2.1/test/golden-test-cases/butcher.spec.golden     
2018-07-19 22:57:38.000000000 +0200
+++ new/cabal2spec-2.2.2/test/golden-test-cases/butcher.spec.golden     
1970-01-01 01:00:00.000000000 +0100
@@ -17,7 +17,6 @@
 
 
 %global pkg_name butcher
-%bcond_with tests
 Name:           %{pkg_name}
 Version:        1.2.1.0
 Release:        0
@@ -74,9 +73,6 @@
 %install
 %ghc_lib_install
 
-%check
-%cabal_test
-
 %post -n ghc-%{name}-devel
 %ghc_pkg_recache
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.2.1/test/golden-test-cases/mwc-random.spec.golden 
new/cabal2spec-2.2.2/test/golden-test-cases/mwc-random.spec.golden
--- old/cabal2spec-2.2.1/test/golden-test-cases/mwc-random.spec.golden  
2018-07-19 22:57:38.000000000 +0200
+++ new/cabal2spec-2.2.2/test/golden-test-cases/mwc-random.spec.golden  
1970-01-01 01:00:00.000000000 +0100
@@ -17,7 +17,6 @@
 
 
 %global pkg_name mwc-random
-%bcond_with tests
 Name:           %{pkg_name}
 Version:        0.13.6.0
 Release:        0
@@ -32,14 +31,6 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-vector-devel
-%if %{with tests}
-BuildRequires:  ghc-HUnit-devel
-BuildRequires:  ghc-QuickCheck-devel
-BuildRequires:  ghc-statistics-devel
-BuildRequires:  ghc-test-framework-devel
-BuildRequires:  ghc-test-framework-hunit-devel
-BuildRequires:  ghc-test-framework-quickcheck2-devel
-%endif
 
 %description
 This package contains code for generating high quality random numbers that
@@ -81,9 +72,6 @@
 %install
 %ghc_lib_install
 
-%check
-%cabal_test
-
 %post -n ghc-%{name}-devel
 %ghc_pkg_recache
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.2.1/test/golden-test-cases/weigh.spec.golden 
new/cabal2spec-2.2.2/test/golden-test-cases/weigh.spec.golden
--- old/cabal2spec-2.2.1/test/golden-test-cases/weigh.spec.golden       
2018-07-19 22:57:38.000000000 +0200
+++ new/cabal2spec-2.2.2/test/golden-test-cases/weigh.spec.golden       
1970-01-01 01:00:00.000000000 +0100
@@ -34,12 +34,6 @@
 BuildRequires:  ghc-split-devel
 BuildRequires:  ghc-template-haskell-devel
 BuildRequires:  ghc-temporary-devel
-%if %{with tests}
-BuildRequires:  ghc-bytestring-trie-devel
-BuildRequires:  ghc-containers-devel
-BuildRequires:  ghc-random-devel
-BuildRequires:  ghc-unordered-containers-devel
-%endif
 
 %description
 Measure allocations of a Haskell functions/values.


Reply via email to