commit ghc-isotope for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-isotope for openSUSE:Factory 
checked in at 2017-09-15 21:52:47

Comparing /work/SRC/openSUSE:Factory/ghc-isotope (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-isotope.new (New)


Package is "ghc-isotope"

Fri Sep 15 21:52:47 2017 rev:3 rq:524883 version:0.5.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-isotope/ghc-isotope.changes  2017-08-31 
20:56:49.936307676 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-isotope.new/ghc-isotope.changes 
2017-09-15 21:52:48.812901488 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-isotope.spec ++
--- /var/tmp/diff_new_pack.dThskT/_old  2017-09-15 21:52:49.576793824 +0200
+++ /var/tmp/diff_new_pack.dThskT/_new  2017-09-15 21:52:49.588792133 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Isotopic masses and relative abundances
 License:GPL-3.0+
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+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-containers-devel
@@ -32,7 +32,6 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
 BuildRequires:  ghc-th-lift-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-hspec-devel
@@ -43,7 +42,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -71,11 +70,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc README.md
 
 %changelog




commit ghc-isotope for openSUSE:Factory

2017-08-31 Thread root
Hello community,

here is the log from the commit of package ghc-isotope for openSUSE:Factory 
checked in at 2017-08-31 20:56:48

Comparing /work/SRC/openSUSE:Factory/ghc-isotope (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-isotope.new (New)


Package is "ghc-isotope"

Thu Aug 31 20:56:48 2017 rev:2 rq:513408 version:0.5.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-isotope/ghc-isotope.changes  2017-04-11 
09:38:30.689459377 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-isotope.new/ghc-isotope.changes 
2017-08-31 20:56:49.936307676 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:06:43 UTC 2017 - psim...@suse.com
+
+- Update to version 0.5.0.1.
+
+---

Old:

  isotope-0.4.0.0.tar.gz

New:

  isotope-0.5.0.1.tar.gz



Other differences:
--
++ ghc-isotope.spec ++
--- /var/tmp/diff_new_pack.PLp2z4/_old  2017-08-31 20:56:50.588216081 +0200
+++ /var/tmp/diff_new_pack.PLp2z4/_new  2017-08-31 20:56:50.596214957 +0200
@@ -19,7 +19,7 @@
 %global pkg_name isotope
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.4.0.0
+Version:0.5.0.1
 Release:0
 Summary:Isotopic masses and relative abundances
 License:GPL-3.0+

++ isotope-0.4.0.0.tar.gz -> isotope-0.5.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/isotope-0.4.0.0/README.md 
new/isotope-0.5.0.1/README.md
--- old/isotope-0.4.0.0/README.md   2017-03-11 09:42:03.0 +0100
+++ new/isotope-0.5.0.1/README.md   2017-04-30 01:08:04.0 +0200
@@ -1,5 +1,5 @@
 [![Build 
Status](https://travis-ci.org/Michaelt293/isotope.svg?branch=master)](https://travis-ci.org/Michaelt293/isotope)
-[![Gitter](https://badges.gitter.im/Join 
Chat.svg)](https://gitter.im/Michaelt293/isotope)
+[![Gitter](https://badges.gitter.im/Michaelt293/isotope.svg)](https://gitter.im/Michaelt293/isotope)
 
 ![alt tag](https://github.com/Michaelt293/isotope/blob/master/isotope_jpeg.jpg)
 
@@ -13,6 +13,7 @@
 * [ToElementalComposition type class](#elementalcomposition-type-class)
 * [Behaviour of ElementalComposition, MolecularFormula, CondensedFormula 
and EmpiricalFormula data 
types](#behaviour-of-elementalcomposition-molecularformula-condensedformula-and-empiricalformula-data-types)
 * [Additional functions accepting an ElementSymbol as 
input](#additional-functions-accepting-an-elementsymbol-as-input)
+* [Representing ions in Isotope](#representing-ions-in-isotope)
 * [Comparison to other chemistry 
libraries](#comparison-to-other-chemistry-libraries)
 * [Radium](#radium)
 * [Ouch](#ouch)
@@ -108,13 +109,13 @@
 
 ### `ToElementalComposition` type class
 
-`ToElementalComposition` is a superclass of `ToMolecularFormula`, 
`ToCondensedFormula` and `ToEmpiricalFormula`. In addition to the 
`toElementalComposition` method, the `ToElementalComposition` type class has 
three other methods; `monoisotopicMass`, `nominalMass` and `averageMass`. 
(`toElementalComposition` is the minimal complete definition.) `ElementSymbol`, 
`ElementalComposition`, `MolecularFormula`, `CondensedFormula` and 
`EmpiricalFormula` all have instances of `ToElementalComposition`. This 
provides a uniform approach to working with elements, elemental compositions, 
molecular formulae, condensed formulae and empirical formulae.
+`ToElementalComposition` is a superclass of `ToMolecularFormula`, 
`ToCondensedFormula` and `ToEmpiricalFormula`. In addition to the 
`toElementalComposition` method, the `ToElementalComposition` type class has 
four other methods; `charge`, `monoisotopicMass`, `nominalMass` and 
`averageMass`. (`toElementalComposition` and `charge` is the minimal complete 
definition.) `ElementSymbol`, `ElementalComposition`, `MolecularFormula`, 
`CondensedFormula` and `EmpiricalFormula` all have instances of 
`ToElementalComposition`. This provides a uniform approach to working with 
elements, elemental compositions, molecular formulae, condensed formulae and 
empirical formulae.
 ```haskell
 ghci> nominalMass C
 NominalMass {getNominalMass = 12}
 ghci> averageMass [mol|CH4|]
 AverageMass {getAverageMass = 16.042498912958358}
-ghci> monoisotopicMass [mol|N(CH3)3|]
+ghci> monoisotopicMass [con|N(CH3)3|]
 MonoisotopicMass {getMonoisotopicMass = 59.07349929446}
 ```
 
@@ -158,6 +159,36 @@
 [IsotopicMass {getIsotopicMass = 45.95262772},IsotopicMass {getIsotopicMass = 
46.95175879},IsotopicMass {getIsotopicMass = 47.94794198},IsotopicMass 
{getIsotopicMass = 48.94786568},IsotopicMass {getIsotopicMass = 49.94478689}]
 ```
 
+### Representing ions in Isotope
+
+Ions are represented in `Isotope` using the `Ion` type class. The `Ion` type 
class has two methods,