commit ghc-fsnotify for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-fsnotify for openSUSE:Factory 
checked in at 2020-09-07 22:02:15

Comparing /work/SRC/openSUSE:Factory/ghc-fsnotify (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fsnotify.new.3399 (New)


Package is "ghc-fsnotify"

Mon Sep  7 22:02:15 2020 rev:9 rq:832278 version:0.3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fsnotify/ghc-fsnotify.changes
2020-08-28 21:32:49.440651202 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fsnotify.new.3399/ghc-fsnotify.changes  
2020-09-07 22:02:18.518075712 +0200
@@ -1,0 +2,6 @@
+Mon Aug 31 09:34:36 UTC 2020 - psim...@suse.com
+
+- Update fsnotify to version 0.3.0.1 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--



commit ghc-fsnotify for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-fsnotify for openSUSE:Factory 
checked in at 2020-08-28 21:32:46

Comparing /work/SRC/openSUSE:Factory/ghc-fsnotify (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fsnotify.new.3399 (New)


Package is "ghc-fsnotify"

Fri Aug 28 21:32:46 2020 rev:8 rq:829283 version:0.3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fsnotify/ghc-fsnotify.changes
2020-06-19 17:12:58.882070118 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fsnotify.new.3399/ghc-fsnotify.changes  
2020-08-28 21:32:49.440651202 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:44:54 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-fsnotify.spec ++
--- /var/tmp/diff_new_pack.3AK5uO/_old  2020-08-28 21:32:50.556651731 +0200
+++ /var/tmp/diff_new_pack.3AK5uO/_new  2020-08-28 21:32:50.560651732 +0200
@@ -62,7 +62,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build




commit ghc-fsnotify for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-fsnotify for openSUSE:Factory 
checked in at 2020-06-19 17:12:58

Comparing /work/SRC/openSUSE:Factory/ghc-fsnotify (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fsnotify.new.3606 (New)


Package is "ghc-fsnotify"

Fri Jun 19 17:12:58 2020 rev:7 rq:815095 version:0.3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fsnotify/ghc-fsnotify.changes
2019-12-27 13:53:43.344668564 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-fsnotify.new.3606/ghc-fsnotify.changes  
2020-06-19 17:12:58.882070118 +0200
@@ -2 +2 @@
-Fri Nov  8 16:13:46 UTC 2019 - Peter Simons 
+Tue Jun  9 09:47:49 UTC 2020 - psim...@suse.com
@@ -4 +4 @@
-- Drop obsolete group attributes.
+- Add fsnotify at version 0.3.0.1.
@@ -6,52 +5,0 @@

-Sat Oct 20 11:31:32 UTC 2018 - Peter Simons 
-
-- Use https URL to refer to bugs.opensuse.org.
-

-Wed Jul 18 14:26:25 UTC 2018 - psim...@suse.com
-
-- Cosmetic: replace tabs with blanks, strip trailing white space,
-  and update copyright headers with spec-cleaner.
-

-Fri Jul 13 14:31:46 UTC 2018 - psim...@suse.com
-
-- Update fsnotify to version 0.3.0.1.
-  Version 0.3.0.0
-  ---
-
-  API breaking update with a number of bugfixes and improvements.
-
-  * Now we can detect directory creation/deletion. A boolean flag has been 
added
-to `Event` to indicate if the event pertains to a directory or not. This 
is the
-only API change.
-  * Test stability improvements + CI test suites now passing on Windows, 
Linux, and Mac.
-  * Interpreting OSX hfsevents flags is more sane now (see comments in OSX.hs 
for details).
-  * Improve a race condition when adding watches on Linux.
-  * Improve robustness of the PollManager.
-  * Fix double call to `closeHandle` on Windows.
-  * Remove comments about locking from the documentation.
-

-Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
-
-- Update fsnotify to version 0.2.1.2.
-  * Update to the new hinotify API (v0.3.10)
-  * Catch IO exceptions when initialising inotify on Linux
-

-Sun Jul 10 17:33:50 UTC 2016 - psim...@suse.com
-
-- Update to version 0.2.1 revision 0 with cabal2obs.
-

-Thu Aug 13 15:56:39 UTC 2015 - mimi...@gmail.com
-
-- update to 0.2.1
-* Use filepath instead of deprecated system-filepath
-

-Tue Jun  9 12:48:03 UTC 2015 - jmate...@suse.cz
-
-- Initial package



Other differences:
--
++ ghc-fsnotify.spec ++
--- /var/tmp/diff_new_pack.oMNiZW/_old  2020-06-19 17:12:59.414071898 +0200
+++ /var/tmp/diff_new_pack.oMNiZW/_new  2020-06-19 17:12:59.414071898 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-fsnotify
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit ghc-fsnotify for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-fsnotify for openSUSE:Factory 
checked in at 2019-12-27 13:53:40

Comparing /work/SRC/openSUSE:Factory/ghc-fsnotify (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fsnotify.new.6675 (New)


Package is "ghc-fsnotify"

Fri Dec 27 13:53:40 2019 rev:6 rq:759402 version:0.3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fsnotify/ghc-fsnotify.changes
2018-10-25 08:25:47.967817121 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fsnotify.new.6675/ghc-fsnotify.changes  
2019-12-27 13:53:43.344668564 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:13:46 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-fsnotify.spec ++
--- /var/tmp/diff_new_pack.JxgOsb/_old  2019-12-27 13:53:43.860668813 +0100
+++ /var/tmp/diff_new_pack.JxgOsb/_new  2019-12-27 13:53:43.860668813 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-fsnotify
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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,7 +23,6 @@
 Release:0
 Summary:Cross platform library for file change notification
 License:BSD-3-Clause
-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#/%{pkg_name}.cabal
@@ -54,7 +53,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}




commit ghc-fsnotify for openSUSE:Factory

2018-10-24 Thread root
Hello community,

here is the log from the commit of package ghc-fsnotify for openSUSE:Factory 
checked in at 2018-10-25 08:25:44

Comparing /work/SRC/openSUSE:Factory/ghc-fsnotify (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fsnotify.new (New)


Package is "ghc-fsnotify"

Thu Oct 25 08:25:44 2018 rev:5 rq:643397 version:0.3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fsnotify/ghc-fsnotify.changes
2018-07-24 17:19:00.187039651 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fsnotify.new/ghc-fsnotify.changes   
2018-10-25 08:25:47.967817121 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:31:32 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-fsnotify.spec ++
--- /var/tmp/diff_new_pack.YQiHUI/_old  2018-10-25 08:25:49.459816436 +0200
+++ /var/tmp/diff_new_pack.YQiHUI/_new  2018-10-25 08:25:49.463816434 +0200
@@ -12,7 +12,7 @@
 # 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/
 #
 
 




commit ghc-fsnotify for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-fsnotify for openSUSE:Factory 
checked in at 2018-07-24 17:18:55

Comparing /work/SRC/openSUSE:Factory/ghc-fsnotify (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fsnotify.new (New)


Package is "ghc-fsnotify"

Tue Jul 24 17:18:55 2018 rev:4 rq:623776 version:0.3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fsnotify/ghc-fsnotify.changes
2018-05-30 12:25:44.545465729 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fsnotify.new/ghc-fsnotify.changes   
2018-07-24 17:19:00.187039651 +0200
@@ -1,0 +2,25 @@
+Wed Jul 18 14:26:25 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
+Fri Jul 13 14:31:46 UTC 2018 - psim...@suse.com
+
+- Update fsnotify to version 0.3.0.1.
+  Version 0.3.0.0
+  ---
+
+  API breaking update with a number of bugfixes and improvements.
+
+  * Now we can detect directory creation/deletion. A boolean flag has been 
added
+to `Event` to indicate if the event pertains to a directory or not. This 
is the
+only API change.
+  * Test stability improvements + CI test suites now passing on Windows, 
Linux, and Mac.
+  * Interpreting OSX hfsevents flags is more sane now (see comments in OSX.hs 
for details).
+  * Improve a race condition when adding watches on Linux.
+  * Improve robustness of the PollManager.
+  * Fix double call to `closeHandle` on Windows.
+  * Remove comments about locking from the documentation.
+
+---
@@ -23 +47,0 @@
-

Old:

  fsnotify-0.2.1.2.tar.gz

New:

  fsnotify-0.3.0.1.tar.gz
  fsnotify.cabal



Other differences:
--
++ ghc-fsnotify.spec ++
--- /var/tmp/diff_new_pack.SaKjwe/_old  2018-07-24 17:19:00.787040424 +0200
+++ /var/tmp/diff_new_pack.SaKjwe/_new  2018-07-24 17:19:00.787040424 +0200
@@ -19,13 +19,14 @@
 %global pkg_name fsnotify
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.1.2
+Version:0.3.0.1
 Release:0
 Summary:Cross platform library for file change notification
 License:BSD-3-Clause
 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#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-async-devel
 BuildRequires:  ghc-bytestring-devel
@@ -34,10 +35,13 @@
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-hinotify-devel
 BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-shelly-devel
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-unix-compat-devel
+BuildRequires:  ghc-unix-devel
 %if %{with tests}
+BuildRequires:  ghc-random-devel
 BuildRequires:  ghc-tasty-devel
 BuildRequires:  ghc-tasty-hunit-devel
 BuildRequires:  ghc-temporary-devel
@@ -61,6 +65,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ fsnotify-0.2.1.2.tar.gz -> fsnotify-0.3.0.1.tar.gz ++
 1676 lines of diff (skipped)

++ fsnotify.cabal ++
Name:   fsnotify
Version:0.3.0.1
x-revision: 1
Author: Mark Dittmer , Niklas Broberg
Maintainer: Tom McLaughlin 
License:BSD3
License-File:   LICENSE
Synopsis:   Cross platform library for file change notification.
Description:Cross platform library for file creation, modification,
and deletion notification. This library builds upon
existing libraries for platform-specific Windows, Mac,
and Linux filesystem event notification.
Category:   Filesystem
Cabal-Version:  >= 1.8
Build-Type: Simple
Homepage:   https://github.com/haskell-fswatch/hfsnotify
Extra-Source-Files:
  README.md
  CHANGELOG.md
  test/Test.hs
  test/EventUtils.hs


Library
  Build-Depends:  base >= 4.8 && < 5
, bytestring >= 0.10.2
, containers >= 0.4
, directory >= 1.1.0.0
, filepath >= 1.3.0.0
, text >= 0.11.0
, time >= 1.1
, async >= 2.0.1
, unix-compat >= 0.2
  Exposed-Modules:System.FSNotify
, System.FSNotify.

commit ghc-fsnotify for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-fsnotify for openSUSE:Factory 
checked in at 2018-05-30 12:07:55

Comparing /work/SRC/openSUSE:Factory/ghc-fsnotify (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fsnotify.new (New)


Package is "ghc-fsnotify"

Wed May 30 12:07:55 2018 rev:3 rq:607801 version:0.2.1.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fsnotify/ghc-fsnotify.changes
2016-07-21 08:12:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-fsnotify.new/ghc-fsnotify.changes   
2018-05-30 12:25:44.545465729 +0200
@@ -1,0 +2,7 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update fsnotify to version 0.2.1.2.
+  * Update to the new hinotify API (v0.3.10)
+  * Catch IO exceptions when initialising inotify on Linux
+
+---

Old:

  fsnotify-0.2.1.tar.gz

New:

  fsnotify-0.2.1.2.tar.gz



Other differences:
--
++ ghc-fsnotify.spec ++
--- /var/tmp/diff_new_pack.I3iWRE/_old  2018-05-30 12:25:45.253442231 +0200
+++ /var/tmp/diff_new_pack.I3iWRE/_new  2018-05-30 12:25:45.257442099 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-fsnotify
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -19,16 +19,16 @@
 %global pkg_name fsnotify
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.1
+Version:0.2.1.2
 Release:0
 Summary:Cross platform library for file change notification
 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
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-async-devel
+BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
@@ -37,13 +37,11 @@
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-unix-compat-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-tasty-devel
 BuildRequires:  ghc-tasty-hunit-devel
-BuildRequires:  ghc-temporary-rc-devel
+BuildRequires:  ghc-temporary-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Cross platform library for file creation, modification, and deletion
@@ -52,7 +50,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}
@@ -64,20 +62,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache
@@ -86,11 +78,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md README.md
 
 %changelog

++ fsnotify-0.2.1.tar.gz -> fsnotify-0.2.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fsnotify-0.2.1/CHANGELOG.md 
new/fsnotify-0.2.1.2/CHANGELOG.md
--- old/fsnotify-0.2.1/CHANGELOG.md 2015-07-25 22:37:11.0 +0200
+++ new/fsnotify-0.2.1.2/CHANGELOG.md   2018-04-23 20:05:50.0 +0200
@@ -1,6 +1,21 @@
 Changes
 ===
 
+Version 0.2.1.2
+---
+
+Update to the new hinotify API (v0.3.10)
+
+Version 0.2.1.1
+---
+
+Catch IO exceptions when initialising inotify on Linux
+
+Version 0.2.1
+-
+
+Don't use `system-filepath`
+
 Version 0.2
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fsnotify-0.2.1/fsnotify.cabal 
new/fsnotify-0.2.1.2/fsnotify.cabal
--- old/fsnotify-0.2.1/fsnotify.cabal   2015-07-30 08:11:47.0 +0200
+++ new/fsnotify-0.2.1.2/fsnotify.cabal 2018-04-23 20:06:00.0 +0200
@@ -1,5 +1,5 @@
 Name:   fsnotify
-Version:0.2.1
+Version:0.2.1.2
 Author: Mark Dittmer 
 Maintainer: Greg Weber , Roman Cheplyaka 

 License:BSD3
@@

commit ghc-fsnotify for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-fsnotify for openSUSE:Factory 
checked in at 2016-07-21 08:12:32

Comparing /work/SRC/openSUSE:Factory/ghc-fsnotify (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-fsnotify.new (New)


Package is "ghc-fsnotify"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-fsnotify/ghc-fsnotify.changes
2015-11-26 17:03:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-fsnotify.new/ghc-fsnotify.changes   
2016-07-21 08:12:34.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:33:50 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.1 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-fsnotify.spec ++
--- /var/tmp/diff_new_pack.8fJthk/_old  2016-07-21 08:12:35.0 +0200
+++ /var/tmp/diff_new_pack.8fJthk/_new  2016-07-21 08:12:35.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-fsnotify
 #
-# 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
@@ -15,33 +15,30 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global pkg_name fsnotify
 
+%global pkg_name fsnotify
 %bcond_with tests
-
-Name:   ghc-fsnotify
+Name:   ghc-%{pkg_name}
 Version:0.2.1
 Release:0
 Summary:Cross platform library for file change notification
-Group:  System/Libraries
-
 License:BSD-3-Clause
+Group:  System/Libraries
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-async-devel
 BuildRequires:  ghc-containers-devel
-BuildRequires:  ghc-hinotify-devel
+BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-hinotify-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-unix-compat-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
-BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-tasty-devel
 BuildRequires:  ghc-tasty-hunit-devel
 BuildRequires:  ghc-temporary-rc-devel
@@ -53,19 +50,17 @@
 notification. This library builds upon existing libraries for platform-specific
 Windows, Mac, and Linux filesystem event notification.
 
-
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
+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}
 
@@ -80,26 +75,22 @@
 
 %check
 %if %{with tests}
-%cabal test
+%{cabal} test
 %endif
 
 
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md
-
+%doc CHANGELOG.md README.md
 
 %changelog