Hello community,

here is the log from the commit of package cabal-install for openSUSE:Factory 
checked in at 2016-07-21 07:59:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cabal-install (Old)
 and      /work/SRC/openSUSE:Factory/.cabal-install.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cabal-install"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cabal-install/cabal-install.changes      
2016-03-16 10:33:34.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.cabal-install.new/cabal-install.changes 
2016-07-21 07:59:44.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:12:46 UTC 2016 - [email protected]
+
+- Update to version 1.22.9.0 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ cabal-install.spec ++++++
--- /var/tmp/diff_new_pack.NOu5t7/_old  2016-07-21 07:59:45.000000000 +0200
+++ /var/tmp/diff_new_pack.NOu5t7/_new  2016-07-21 07:59:45.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cabal-install
 #
-# 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
@@ -16,19 +16,16 @@
 #
 
 
+%bcond_with tests
 Name:           cabal-install
 Version:        1.22.9.0
 Release:        0
 Summary:        The command-line interface for Cabal and Hackage
 License:        BSD-3-Clause
-Group:          Development/Languages/Other
-
-Url:            http://hackage.haskell.org/package/%{name}
-Source0:        
http://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
+Group:          System/Libraries
+Url:            https://hackage.haskell.org/package/%{name}
+Source0:        
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-HTTP-devel
 BuildRequires:  ghc-array-devel
@@ -42,32 +39,50 @@
 BuildRequires:  ghc-pretty-devel
 BuildRequires:  ghc-process-devel
 BuildRequires:  ghc-random-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-stm-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-unix-devel
 BuildRequires:  ghc-zlib-devel
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if %{with tests}
+BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-extensible-exceptions-devel
+BuildRequires:  ghc-regex-posix-devel
+BuildRequires:  ghc-test-framework-devel
+BuildRequires:  ghc-test-framework-hunit-devel
+BuildRequires:  ghc-test-framework-quickcheck2-devel
+%endif
 # End cabal-rpm deps
 
 %description
-The cabal command-line program simplifies the process of managing Haskell
+The 'cabal' command-line program simplifies the process of managing Haskell
 software by automating the fetching, configuration, compilation and
 installation of Haskell libraries and programs.
 
-
 %prep
 %setup -q
 
+
 %build
 %ghc_bin_build
 
+
 %install
 %ghc_bin_install
 
+
+%check
+%if %{with tests}
+%{cabal} test
+%endif
+
+
 %files
 %defattr(-,root,root,-)
 %doc LICENSE
-%doc README.md
-%doc changelog
+%doc README.md changelog
 %{_bindir}/cabal
 
 %changelog


Reply via email to