Accepting request 260147 from devel:languages:haskell

1

OBS-URL: https://build.opensuse.org/request/show/260147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-case-insensitive?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2014-11-26 19:54:36 +00:00 committed by Git OBS Bridge
commit e4a037a0af
4 changed files with 40 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b58f62516779580a41cdc67a979c509125adf139b8f50d415495f58d4b42e8fa
size 4806

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b255fe63155d53ab84b248ab5ba9306fd4bec47a6198e3275cf9cb41c4d263b
size 5188

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Sep 9 20:24:56 UTC 2014 - peter.trommler@ohm-hochschule.de
- update to 1.1.0.3
* no changelog
* for Haskell Platform 2014.2.0.0
-------------------------------------------------------------------
Tue Sep 2 08:52:04 UTC 2014 - peter.trommler@ohm-hochschule.de
- regenerate spec file
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 23 00:08:45 UTC 2014 - peter.trommler@ohm-hochschule.de Sat Aug 23 00:08:45 UTC 2014 - peter.trommler@ohm-hochschule.de

View File

@ -1,8 +1,7 @@
# #
# spec file for package ghc-case-insensitive # spec file for package ghc-case-insensitive
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Peter Trommler <peter.trommler@ohm-hochschule.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,55 +15,55 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%global pkg_name case-insensitive %global pkg_name case-insensitive
%global common_summary Haskell case insensitive string comparison library
%global common_description The Haskell module Data.CaseInsensitive provides the CI type constructor which can be parameterised by a string-like type like: String, ByteString, Text, etc. Comparisons of values of the resulting type will be insensitive to cases.
Name: ghc-case-insensitive Name: ghc-case-insensitive
Version: 1.0.0.1 Version: 1.1.0.3
Release: 0 Release: 0
Summary: %{common_summary} Summary: Case insensitive string comparison
Group: System/Libraries
License: BSD-3-Clause License: BSD-3-Clause
# BEGIN cabal2spec Group: System/Libraries
URL: http://hackage.haskell.org/package/%{pkg_name}
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
# END cabal2spec # Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-deepseq-devel BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-hashable-devel BuildRequires: ghc-hashable-devel
Buildrequires: ghc-text-devel BuildRequires: ghc-text-devel
# End cabal-rpm deps
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
%{common_description} The module @Data.CaseInsensitive@ provides the 'CI' type constructor which can
be parameterised by a string-like type like: 'String', 'ByteString', 'Text',
etc.. Comparisons of values of the resulting type will be insensitive to cases.
%package devel %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
Group: Development/Languages/Other Group: Development/Libraries/Other
Requires: ghc-compiler Provides: %{name}-static = %{version}-%{release}
Requires(post): ghc-compiler Requires: ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description devel %description devel
%{common_description} This package provides the Haskell %{pkg_name} library development
This package contains the development files. files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
%build %build
%ghc_lib_build %ghc_lib_build
%install %install
%ghc_lib_install %ghc_lib_install
@ -80,5 +79,6 @@ This package contains the development files.
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README.markdown
%changelog %changelog