use revised .cabal

epel9
Jens Petersen 6 years ago
parent ffa019d2ae
commit 77af04b7ac

@ -1,4 +1,4 @@
# generated by cabal-rpm-0.12.1
# generated by cabal-rpm-0.12.5
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name utf8-string
@ -6,12 +6,13 @@
Name: ghc-%{pkg_name}
Version: 1.0.1.1
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Support for reading and writing UTF8 Strings
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
@ -42,7 +43,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkgver}
cabal-tweak-dep-ver base '< 4.9' '< 4.11'
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
@ -70,6 +71,9 @@ cabal-tweak-dep-ver base '< 4.9' '< 4.11'
%changelog
* Sat Feb 16 2019 Jens Petersen <petersen@redhat.com> - 1.0.1.1-10
- use revised .cabal file
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

@ -0,0 +1,30 @@
Name: utf8-string
Version: 1.0.1.1
x-revision: 3
Author: Eric Mertens
Maintainer: emertens@galois.com
License: BSD3
License-file: LICENSE
Homepage: http://github.com/glguy/utf8-string/
Synopsis: Support for reading and writing UTF8 Strings
Description: A UTF8 layer for Strings. The utf8-string
package provides operations for encoding UTF8
strings to Word8 lists and back, and for reading and
writing UTF8 without truncation.
Category: Codec
Build-type: Simple
cabal-version: >= 1.2
Extra-Source-Files: CHANGELOG.markdown
Tested-With: GHC==7.0.4, GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.2
library
Ghc-options: -W -O2
build-depends: base >= 4.3 && < 5, bytestring >= 0.9
Extensions: CPP
Exposed-modules: Codec.Binary.UTF8.String
Codec.Binary.UTF8.Generic
Data.String.UTF8
Data.ByteString.UTF8
Data.ByteString.Lazy.UTF8
Loading…
Cancel
Save