From 304aebfbfe6c2c80739c9288edbc6f6f7cbf2942db4b8ecfb7e0b6073eadb577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 28 Dec 2019 14:41:53 +0000 Subject: [PATCH 1/4] osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ghc-scientific revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-scientific?expand=0&rev=68 --- ghc-scientific.changes | 190 +---------------------------------------- 1 file changed, 2 insertions(+), 188 deletions(-) diff --git a/ghc-scientific.changes b/ghc-scientific.changes index ffc56d0..8054148 100644 --- a/ghc-scientific.changes +++ b/ghc-scientific.changes @@ -1,191 +1,5 @@ ------------------------------------------------------------------- -Fri Nov 8 16:14:40 UTC 2019 - Peter Simons +Wed Aug 28 17:31:04 UTC 2019 - psimons@suse.com -- Drop obsolete group attributes. +- Add scientific at version 0.3.6.2. -------------------------------------------------------------------- -Sat Oct 20 11:31:58 UTC 2018 - Peter Simons - -- Use https URL to refer to bugs.opensuse.org. - -------------------------------------------------------------------- -Wed Jul 18 14:26:40 UTC 2018 - psimons@suse.com - -- Cosmetic: replace tabs with blanks, strip trailing white space, - and update copyright headers with spec-cleaner. - -------------------------------------------------------------------- -Mon May 14 17:02:11 UTC 2018 - psimons@suse.com - -- Update scientific to version 0.3.6.2. - * Due to a regression introduced in 0.3.4.14 the RealFrac methods - and floatingOrInteger became vulnerable to a space blowup when - applied to scientifics with huge exponents. This has now been - fixed again. - - * Fix build on GHC < 8. - - * Make the methods of the Hashable, Eq and Ord instances safe to - use when applied to scientific numbers coming from untrusted - sources. Previously these methods first converted their arguments - to Rational before applying the operation. This is unsafe because - converting a Scientific to a Rational could fill up all space and - crash your program when the Scientific has a huge base10Exponent. - - Do note that the hash computation of the Hashable Scientific - instance has been changed because of this improvement! - - Thanks to Tom Sydney Kerckhove (@NorfairKing) for pushing me to - fix this. - - * fromRational :: Rational -> Scientific now throws an error - instead of diverging when applied to a repeating decimal. This - does mean it will consume space linear in the number of digits of - the resulting scientific. This makes "fromRational" and the other - Fractional methods "recip" and "/" a bit safer to use. - - * To get the old unsafe but more efficient behaviour the following - function was added: unsafeFromRational :: Rational -> Scientific. - - * Add alternatives for fromRationalRepetend: - - fromRationalRepetendLimited - :: Int -- ^ limit - -> Rational - -> Either (Scientific, Rational) - (Scientific, Maybe Int) - - and: - - fromRationalRepetendUnlimited - :: Rational -> (Scientific, Maybe Int) - - Thanks to Ian Jeffries (@seagreen) for the idea. - - * Dropped upper version bounds of dependencies - because it's to much work to maintain. - -------------------------------------------------------------------- -Tue Jul 11 03:02:20 UTC 2017 - psimons@suse.com - -- Update to version 0.3.5.1. - -------------------------------------------------------------------- -Mon Jul 3 03:01:36 UTC 2017 - psimons@suse.com - -- Update to version 0.3.4.15 revision 2. - -------------------------------------------------------------------- -Mon Jun 12 09:41:44 UTC 2017 - psimons@suse.com - -- Update to version 0.3.4.15. - -------------------------------------------------------------------- -Wed May 31 14:01:07 UTC 2017 - psimons@suse.com - -- Update to version 0.3.4.13. - -------------------------------------------------------------------- -Wed Apr 19 13:31:57 UTC 2017 - psimons@suse.com - -- Update to version 0.3.4.12 with cabal2obs. - -------------------------------------------------------------------- -Tue Apr 4 11:04:06 UTC 2017 - psimons@suse.com - -- Update to version 0.3.4.11 with cabal2obs. - -------------------------------------------------------------------- -Sun Feb 12 14:14:50 UTC 2017 - psimons@suse.com - -- Update to version 0.3.4.10 with cabal2obs. - -------------------------------------------------------------------- -Wed Jan 4 21:22:15 UTC 2017 - psimons@suse.com - -- Update to version 0.3.4.9 revision 1 with cabal2obs. - -------------------------------------------------------------------- -Fri Jul 22 06:03:20 UTC 2016 - psimons@suse.com - -- Update to version 0.3.4.9 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 16:58:33 UTC 2016 - psimons@suse.com - -- Update to version 0.3.4.8 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 3 12:33:17 UTC 2016 - mimi.vx@gmail.com - -- update to 0.3.4.8 -* Make bytestring-builder's installation conditional based on a Cabal flag. - -------------------------------------------------------------------- -Fri Jul 1 17:02:22 UTC 2016 - toddrme2178@gmail.com - -- Make Group tag consistent with other GHC packages. - -------------------------------------------------------------------- -Sun Jun 12 12:00:17 UTC 2016 - mimi.vx@gmail.com - -- update to 0.3.4.7 -* Unconditionally export Data.ByteString.Builder.Scientific. -* The bytestring-builder cabal flag has been removed. -* Depend on bytestring-builder for backwards compatibility for GHC < 7.8. - -------------------------------------------------------------------- -Sat Mar 12 09:29:12 UTC 2016 - mimi.vx@gmail.com - -- update to 0.3.4.6 -* Made toDecimalDigits more similar to floatToDigits -* Introduce a special case for 0 in fromFloatDigits - -------------------------------------------------------------------- -Thu Mar 10 09:00:33 UTC 2016 - mimi.vx@gmail.com - -- update to 0.3.4.5 -* Support GHC-8.0.1 -* Support binary-0.8 - -------------------------------------------------------------------- -Sun Nov 29 17:39:11 UTC 2015 - mimi.vx@gmail.com - -- update to 0.3.4.4 -* Fix build with integer-simple. -* Improved performance of toDecimalDigits by 13%. - -------------------------------------------------------------------- -Mon Oct 12 18:53:43 UTC 2015 - mimi.vx@gmail.com - -- update to 0.3.4.2 -* build fixes - -------------------------------------------------------------------- -Sun Oct 4 16:52:33 UTC 2015 - mimi.vx@gmail.com - -- update to 0.3.4.0 -* Added fromRationalRepetend & toRationalRepetend - for safely converting from and to rationals - which have a repeating decimal representation like: - 1 % 28 = 0.03(571428). -* Added a Binary instance. -* Various performance improvements. -* Support vector-0.11 -* Support tasty-0.11 -* Support criterion-1.1.0.0 - -------------------------------------------------------------------- -Sun Apr 12 18:49:55 UTC 2015 - mimi.vx@gmail.com - -- update to 0.3.3.8 - -------------------------------------------------------------------- -Sun Mar 29 09:47:51 UTC 2015 - mpluskal@suse.com - -- Remove ExclusiveArch - -------------------------------------------------------------------- -Mon Feb 2 18:00:30 UTC 2015 - mpluskal@suse.com - -- Initial package From 79badb9558ff2517c66491ef9424a73848d2c8dcc4b05e5d0f21bacb83b00823 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 29 Dec 2019 02:03:37 +0000 Subject: [PATCH 2/4] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-scientific revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-scientific?expand=0&rev=69 --- ghc-scientific.changes | 190 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 188 insertions(+), 2 deletions(-) diff --git a/ghc-scientific.changes b/ghc-scientific.changes index 8054148..ffc56d0 100644 --- a/ghc-scientific.changes +++ b/ghc-scientific.changes @@ -1,5 +1,191 @@ ------------------------------------------------------------------- -Wed Aug 28 17:31:04 UTC 2019 - psimons@suse.com +Fri Nov 8 16:14:40 UTC 2019 - Peter Simons -- Add scientific at version 0.3.6.2. +- Drop obsolete group attributes. +------------------------------------------------------------------- +Sat Oct 20 11:31:58 UTC 2018 - Peter Simons + +- Use https URL to refer to bugs.opensuse.org. + +------------------------------------------------------------------- +Wed Jul 18 14:26:40 UTC 2018 - psimons@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +------------------------------------------------------------------- +Mon May 14 17:02:11 UTC 2018 - psimons@suse.com + +- Update scientific to version 0.3.6.2. + * Due to a regression introduced in 0.3.4.14 the RealFrac methods + and floatingOrInteger became vulnerable to a space blowup when + applied to scientifics with huge exponents. This has now been + fixed again. + + * Fix build on GHC < 8. + + * Make the methods of the Hashable, Eq and Ord instances safe to + use when applied to scientific numbers coming from untrusted + sources. Previously these methods first converted their arguments + to Rational before applying the operation. This is unsafe because + converting a Scientific to a Rational could fill up all space and + crash your program when the Scientific has a huge base10Exponent. + + Do note that the hash computation of the Hashable Scientific + instance has been changed because of this improvement! + + Thanks to Tom Sydney Kerckhove (@NorfairKing) for pushing me to + fix this. + + * fromRational :: Rational -> Scientific now throws an error + instead of diverging when applied to a repeating decimal. This + does mean it will consume space linear in the number of digits of + the resulting scientific. This makes "fromRational" and the other + Fractional methods "recip" and "/" a bit safer to use. + + * To get the old unsafe but more efficient behaviour the following + function was added: unsafeFromRational :: Rational -> Scientific. + + * Add alternatives for fromRationalRepetend: + + fromRationalRepetendLimited + :: Int -- ^ limit + -> Rational + -> Either (Scientific, Rational) + (Scientific, Maybe Int) + + and: + + fromRationalRepetendUnlimited + :: Rational -> (Scientific, Maybe Int) + + Thanks to Ian Jeffries (@seagreen) for the idea. + + * Dropped upper version bounds of dependencies + because it's to much work to maintain. + +------------------------------------------------------------------- +Tue Jul 11 03:02:20 UTC 2017 - psimons@suse.com + +- Update to version 0.3.5.1. + +------------------------------------------------------------------- +Mon Jul 3 03:01:36 UTC 2017 - psimons@suse.com + +- Update to version 0.3.4.15 revision 2. + +------------------------------------------------------------------- +Mon Jun 12 09:41:44 UTC 2017 - psimons@suse.com + +- Update to version 0.3.4.15. + +------------------------------------------------------------------- +Wed May 31 14:01:07 UTC 2017 - psimons@suse.com + +- Update to version 0.3.4.13. + +------------------------------------------------------------------- +Wed Apr 19 13:31:57 UTC 2017 - psimons@suse.com + +- Update to version 0.3.4.12 with cabal2obs. + +------------------------------------------------------------------- +Tue Apr 4 11:04:06 UTC 2017 - psimons@suse.com + +- Update to version 0.3.4.11 with cabal2obs. + +------------------------------------------------------------------- +Sun Feb 12 14:14:50 UTC 2017 - psimons@suse.com + +- Update to version 0.3.4.10 with cabal2obs. + +------------------------------------------------------------------- +Wed Jan 4 21:22:15 UTC 2017 - psimons@suse.com + +- Update to version 0.3.4.9 revision 1 with cabal2obs. + +------------------------------------------------------------------- +Fri Jul 22 06:03:20 UTC 2016 - psimons@suse.com + +- Update to version 0.3.4.9 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 16:58:33 UTC 2016 - psimons@suse.com + +- Update to version 0.3.4.8 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 3 12:33:17 UTC 2016 - mimi.vx@gmail.com + +- update to 0.3.4.8 +* Make bytestring-builder's installation conditional based on a Cabal flag. + +------------------------------------------------------------------- +Fri Jul 1 17:02:22 UTC 2016 - toddrme2178@gmail.com + +- Make Group tag consistent with other GHC packages. + +------------------------------------------------------------------- +Sun Jun 12 12:00:17 UTC 2016 - mimi.vx@gmail.com + +- update to 0.3.4.7 +* Unconditionally export Data.ByteString.Builder.Scientific. +* The bytestring-builder cabal flag has been removed. +* Depend on bytestring-builder for backwards compatibility for GHC < 7.8. + +------------------------------------------------------------------- +Sat Mar 12 09:29:12 UTC 2016 - mimi.vx@gmail.com + +- update to 0.3.4.6 +* Made toDecimalDigits more similar to floatToDigits +* Introduce a special case for 0 in fromFloatDigits + +------------------------------------------------------------------- +Thu Mar 10 09:00:33 UTC 2016 - mimi.vx@gmail.com + +- update to 0.3.4.5 +* Support GHC-8.0.1 +* Support binary-0.8 + +------------------------------------------------------------------- +Sun Nov 29 17:39:11 UTC 2015 - mimi.vx@gmail.com + +- update to 0.3.4.4 +* Fix build with integer-simple. +* Improved performance of toDecimalDigits by 13%. + +------------------------------------------------------------------- +Mon Oct 12 18:53:43 UTC 2015 - mimi.vx@gmail.com + +- update to 0.3.4.2 +* build fixes + +------------------------------------------------------------------- +Sun Oct 4 16:52:33 UTC 2015 - mimi.vx@gmail.com + +- update to 0.3.4.0 +* Added fromRationalRepetend & toRationalRepetend + for safely converting from and to rationals + which have a repeating decimal representation like: + 1 % 28 = 0.03(571428). +* Added a Binary instance. +* Various performance improvements. +* Support vector-0.11 +* Support tasty-0.11 +* Support criterion-1.1.0.0 + +------------------------------------------------------------------- +Sun Apr 12 18:49:55 UTC 2015 - mimi.vx@gmail.com + +- update to 0.3.3.8 + +------------------------------------------------------------------- +Sun Mar 29 09:47:51 UTC 2015 - mpluskal@suse.com + +- Remove ExclusiveArch + +------------------------------------------------------------------- +Mon Feb 2 18:00:30 UTC 2015 - mpluskal@suse.com + +- Initial package From 8644dc23c6e675253176af168e3204888478467948d13314e4c7fd56ccfaa5ee Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 16 Jun 2020 10:57:22 +0000 Subject: [PATCH 3/4] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-scientific revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-scientific?expand=0&rev=70 --- ghc-scientific.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-scientific.spec b/ghc-scientific.spec index 5e4cfa5..56be13f 100644 --- a/ghc-scientific.spec +++ b/ghc-scientific.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-scientific # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From e6488bdecbc3b2efd97334315ba7b1d844934eeed5d82f4976f3e710c34e56a3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 16 Jun 2020 11:28:58 +0000 Subject: [PATCH 4/4] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-scientific revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-scientific?expand=0&rev=71 --- ghc-scientific.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-scientific.changes b/ghc-scientific.changes index ffc56d0..0cc5c0a 100644 --- a/ghc-scientific.changes +++ b/ghc-scientific.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 16 11:14:34 UTC 2020 - Peter Simons + +- Re-generate file with latest version of spec-cleaner. + ------------------------------------------------------------------- Fri Nov 8 16:14:40 UTC 2019 - Peter Simons