Ondřej Súkup 2016-07-16 23:25:15 +00:00 committed by Git OBS Bridge
parent 42f51c0fe3
commit 39300763c5
2 changed files with 22 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 10 17:18:46 UTC 2016 - psimons@suse.com
- Update to version 0.3.8.1 revision 0 with cabal2obs.
-------------------------------------------------------------------
Sun Aug 9 15:59:00 UTC 2015 - mimi.vx@gmail.com

View File

@ -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 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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 @@ This package provides the Haskell %{pkg_name} library development files.
%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 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc README.md
%doc CHANGELOG.md README.md
%changelog