update to 0.3.3.8

This commit is contained in:
Jens Petersen 2015-09-17 18:20:46 +09:00
parent 883ff3d9ac
commit 1e86c63116
3 changed files with 36 additions and 13 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/scientific-0.2.0.2.tar.gz
/scientific-0.3.2.1.tar.gz
/scientific-0.3.3.1.tar.gz
/scientific-0.3.3.8.tar.gz

View File

@ -2,14 +2,16 @@
%global pkg_name scientific
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.3.3.1
Release: 2%{?dist}
Version: 0.3.3.8
Release: 1%{?dist}
Summary: Arbitrary-precision floating-point numbers represented using scientific notation
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
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
BuildRequires: ghc-rpm-macros
@ -19,18 +21,27 @@ BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-text-devel
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-smallcheck-devel
BuildRequires: ghc-tasty-ant-xml-devel
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-tasty-quickcheck-devel
BuildRequires: ghc-tasty-smallcheck-devel
%endif
# End cabal-rpm deps
%description
A 'Scientific' number is an arbitrary-precision floating-point number
represented using scientific notation.
'Data.Scientific' provides a space efficient and arbitrary precision scientific
number type.
A scientific number with coefficient 'c' and base10Exponent 'e' corresponds
to the 'Fractional' number: 'fromInteger c * 10 ^^ e'
A 'Scientific' number is represented with coefficient 'c' and
base10Exponent 'e' and corresponds to the 'Fractional' number:
'fromInteger c * 10 ^^ e'
Its primary use-case is to serve as the target of parsing floating point
numbers. Since the textual representation of floating point numbers use
scientific notation they can be efficiently parsed to a 'Scientific' number.
The main application of 'Scientific' is to be used as the target of parsing
arbitrary precision numbers coming from an untrusted source.
%package devel
@ -56,6 +67,14 @@ This package provides the Haskell %{pkg_name} library development files.
%install
%ghc_lib_install
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%check
%if %{with tests}
%cabal test
%endif
%post devel
%ghc_pkg_recache
@ -66,13 +85,16 @@ This package provides the Haskell %{pkg_name} library development files.
%files -f %{name}.files
%doc LICENSE
%license LICENSE
%files devel -f %{name}-devel.files
%changelog
* Thu Sep 17 2015 Jens Petersen <petersen@redhat.com> - 0.3.3.8-1
- update to 0.3.3.8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View File

@ -1 +1 @@
ab145a37572836d692083fdc9b086066 scientific-0.3.3.1.tar.gz
a202d9ab282b36e1e4288e4cd8536699 scientific-0.3.3.8.tar.gz