From c5959d28ad1197221a7f7602a661229751a8b3c9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Feb 01 2016 15:25:33 +0000 Subject: Reverting "update to 0.3.3.8" This reverts commit 1e86c6311660dee63a5f5ae227826548e2d6ffab. --- diff --git a/.gitignore b/.gitignore index b430705..27fefd7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ /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 diff --git a/ghc-scientific.spec b/ghc-scientific.spec index ed6754e..c1cc0f3 100644 --- a/ghc-scientific.spec +++ b/ghc-scientific.spec @@ -2,16 +2,14 @@ %global pkg_name scientific -%bcond_with tests - Name: ghc-%{pkg_name} -Version: 0.3.3.8 -Release: 1%{?dist} +Version: 0.3.3.1 +Release: 2%{?dist} Summary: Arbitrary-precision floating-point numbers represented using scientific notation License: BSD -Url: https://hackage.haskell.org/package/%{pkg_name} -Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -21,27 +19,18 @@ 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 -'Data.Scientific' provides a space efficient and arbitrary precision scientific -number type. +A 'Scientific' number is an arbitrary-precision floating-point number +represented using scientific notation. -A 'Scientific' number is represented with coefficient 'c' and -base10Exponent 'e' and corresponds to the 'Fractional' number: -'fromInteger c * 10 ^^ e' +A scientific number with coefficient 'c' and base10Exponent 'e' corresponds +to the 'Fractional' number: 'fromInteger c * 10 ^^ e' -The main application of 'Scientific' is to be used as the target of parsing -arbitrary precision numbers coming from an untrusted source. +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. %package devel @@ -67,14 +56,6 @@ 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 @@ -85,16 +66,13 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %files -f %{name}.files -%license LICENSE +%doc LICENSE %files devel -f %{name}-devel.files %changelog -* Thu Sep 17 2015 Jens Petersen - 0.3.3.8-1 -- update to 0.3.3.8 - * Wed Jun 17 2015 Fedora Release Engineering - 0.3.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 2ff5969..ba08dae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a202d9ab282b36e1e4288e4cd8536699 scientific-0.3.3.8.tar.gz +ab145a37572836d692083fdc9b086066 scientific-0.3.3.1.tar.gz