latest hackage revision
This commit is contained in:
parent
52ccae905d
commit
0f14a4c7aa
|
@ -0,0 +1,35 @@
|
|||
name: cautious-file
|
||||
version: 1.0.2
|
||||
x-revision: 1
|
||||
Cabal-Version: >= 1.6
|
||||
synopsis: Ways to write a file cautiously, to reduce the chances of problems such as data loss due to crashes or power failures
|
||||
description: On non-Windows systems, posix-specific functions are used to reduce the chance of data loss further
|
||||
category: System
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
copyright: Copyright (C) Robin Green 2009, 2011
|
||||
author: Robin Green
|
||||
maintainer: Robin Green <greenrd@greenrd.org>
|
||||
build-type: Custom
|
||||
stability: experimental
|
||||
bug-reports: mailto:greenrd@greenrd.org
|
||||
tested-with: GHC == 7.0.2
|
||||
extra-source-files: Test.hs
|
||||
|
||||
source-repository head
|
||||
type: darcs
|
||||
location: http://patch-tag.com/r/greenrd/cautious-file
|
||||
|
||||
Flag posix
|
||||
description: Use POSIX-specific features
|
||||
default: True
|
||||
|
||||
Library
|
||||
hs-source-dirs: src
|
||||
build-Depends: base >= 4, base < 5, directory >= 1.1, directory < 1.3, filepath >= 1.2, filepath < 1.5, bytestring >= 0.9, bytestring < 0.11
|
||||
if flag(posix) && !os(Windows)
|
||||
cpp-options: -D_POSIX
|
||||
build-Depends: unix
|
||||
exposed-modules: System.Posix.ByteLevel, System.Posix.Fsync
|
||||
exposed-modules: System.IO.Cautious
|
||||
ghc-options: -Wall
|
|
@ -4,12 +4,14 @@
|
|||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.0.2
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: Write files cautiously
|
||||
|
||||
License: BSD
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
# https://hackage.haskell.org/package/%{pkg_name}-%{version}/revisions/
|
||||
Source1: %{pkg_name}.cabal
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
|
@ -41,6 +43,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} .
|
||||
|
||||
|
||||
%build
|
||||
|
@ -67,6 +70,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 8 2016 Jens Petersen <petersen@redhat.com> - 1.0.2-9
|
||||
- latest Hackage revision
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue