Hello community,

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

Package is "ghc-hinotify"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hinotify/ghc-hinotify.changes        
2015-08-10 09:16:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-hinotify.new/ghc-hinotify.changes   
2016-07-21 08:04:31.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:18:46 UTC 2016 - [email protected]
+
+- Update to version 0.3.8.1 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ghc-hinotify.spec ++++++
--- /var/tmp/diff_new_pack.rNRI2G/_old  2016-07-21 08:04:32.000000000 +0200
+++ /var/tmp/diff_new_pack.rNRI2G/_new  2016-07-21 08:04:32.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-hinotify
 #
-# 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,7 +17,8 @@
 
 
 %global pkg_name hinotify
-Name:           ghc-hinotify
+%bcond_with tests
+Name:           ghc-%{pkg_name}
 Version:        0.3.8.1
 Release:        0
 Summary:        Haskell binding to inotify
@@ -37,7 +38,6 @@
 %description
 This library provides a wrapper to the Linux Kernel's inotify feature, allowing
 applications to subscribe to notifications when a file is accessed or modified.
-.
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
@@ -53,17 +53,26 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
+
 %build
-%{ghc_lib_build}
+%ghc_lib_build
+
 
 %install
-%{ghc_lib_install}
+%ghc_lib_install
+
+
+%check
+%if %{with tests}
+%{cabal} test
+%endif
+
 
 %post devel
-%{ghc_pkg_recache}
+%ghc_pkg_recache
 
 %postun devel
-%{ghc_pkg_recache}
+%ghc_pkg_recache
 
 %files -f %{name}.files
 %defattr(-,root,root,-)
@@ -71,6 +80,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md
+%doc CHANGELOG.md README.md
 
 %changelog


Reply via email to