Hello community,

here is the log from the commit of package cabal2spec for openSUSE:Leap:15.2 
checked in at 2020-05-21 12:58:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/cabal2spec (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.cabal2spec.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cabal2spec"

Thu May 21 12:58:54 2020 rev:5 rq:805985 version:2.6

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/cabal2spec/cabal2spec.changes  2020-03-13 
10:56:37.808402806 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.cabal2spec.new.2738/cabal2spec.changes        
2020-05-21 12:58:54.570738882 +0200
@@ -1,0 +2,6 @@
+Wed May  6 06:52:11 UTC 2020 - psim...@suse.com
+
+- Update cabal2spec to version 2.6.
+  Upstream does not provide a change log file.
+
+-------------------------------------------------------------------

Old:
----
  cabal2spec-2.5.tar.gz

New:
----
  cabal2spec-2.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cabal2spec.spec ++++++
--- /var/tmp/diff_new_pack.HbFmKG/_old  2020-05-21 12:58:54.890739579 +0200
+++ /var/tmp/diff_new_pack.HbFmKG/_new  2020-05-21 12:58:54.890739579 +0200
@@ -19,7 +19,7 @@
 %global pkg_name cabal2spec
 %bcond_with tests
 Name:           %{pkg_name}
-Version:        2.5
+Version:        2.6
 Release:        0
 Summary:        Convert Cabal files into rpm spec files
 License:        GPL-3.0-or-later

++++++ cabal2spec-2.5.tar.gz -> cabal2spec-2.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal2spec-2.5/cabal2spec.cabal 
new/cabal2spec-2.6/cabal2spec.cabal
--- old/cabal2spec-2.5/cabal2spec.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/cabal2spec-2.6/cabal2spec.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 name:               cabal2spec
-version:            2.5
+version:            2.6
 synopsis:           Convert Cabal files into rpm spec files
 description:        Convert
                     Cabal files into a
@@ -14,7 +14,8 @@
 license-file:       LICENSE
 author:             Peter Simons, Bryan O'Sullivan, Jens Petersen
 maintainer:         sim...@cryp.to
-tested-with:        GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, 
GHC == 8.6.5, GHC == 8.8.2
+tested-with:        GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, 
GHC == 8.6.5,
+                    GHC == 8.8.2, GHC == 8.10.1
 category:           Distribution
 homepage:           https://github.com/peti/cabal2spec
 build-type:         Simple
@@ -30,7 +31,7 @@
 library
   exposed-modules:  Cabal2Spec
   hs-source-dirs:   src
-  build-depends:    base < 5, Cabal > 3.0 && < 3.2, filepath, time >= 1.5
+  build-depends:    base > 4.8 && < 5, Cabal == 3.2.*, filepath, time >= 1.5
   default-language: Haskell2010
 
 executable cabal2spec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal2spec-2.5/src/Cabal2Spec.hs 
new/cabal2spec-2.6/src/Cabal2Spec.hs
--- old/cabal2spec-2.5/src/Cabal2Spec.hs        2001-09-09 03:46:40.000000000 
+0200
+++ new/cabal2spec-2.6/src/Cabal2Spec.hs        2001-09-09 03:46:40.000000000 
+0200
@@ -19,6 +19,7 @@
 import Distribution.Types.PackageDescription
 import Distribution.Types.PkgconfigDependency
 import Distribution.Types.UnqualComponentName
+import Distribution.Utils.ShortText ( fromShortText )
 import Distribution.Verbosity
 import Distribution.Version
 import System.FilePath
@@ -121,12 +122,12 @@
   putNewline
 
   -- Some packages conflate the synopsis and description fields.  Ugh.
-  let syn = synopsis pkgDesc
+  let syn = fromShortText (synopsis pkgDesc)
   let initialCapital (c:cs) = toUpper c:cs
       initialCapital [] = []
   let syn' = if badDescription syn then "FIXME" else (unwords . lines . 
initialCapital) syn
-  let summary = rstrip (== '.') syn'
-  let descr = description pkgDesc
+  let summary = rstrip (== '.') . rstrip isSpace $ syn'
+  let descr = rstrip isSpace (fromShortText (description pkgDesc))
   let descLines = (formatParagraphs . initialCapital . filterSymbols . 
finalPeriod) $ if badDescription descr then syn' else descr
       finalPeriod cs = if last cs == '.' then cs else cs ++ "."
       filterSymbols (c:cs) =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.5/test/golden-test-cases/HTTP.spec.golden 
new/cabal2spec-2.6/test/golden-test-cases/HTTP.spec.golden
--- old/cabal2spec-2.5/test/golden-test-cases/HTTP.spec.golden  2001-09-09 
03:46:40.000000000 +0200
+++ new/cabal2spec-2.6/test/golden-test-cases/HTTP.spec.golden  2001-09-09 
03:46:40.000000000 +0200
@@ -86,7 +86,7 @@
 
 * <http://hackage.haskell.org/package/req req>
 
-* <http://hackage.haskell.org/package/wreq wreq> .
+* <http://hackage.haskell.org/package/wreq wreq>.
 
 %package -n ghc-%{name}
 Summary:        Haskell %{name} library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.5/test/golden-test-cases/accelerate.spec.golden 
new/cabal2spec-2.6/test/golden-test-cases/accelerate.spec.golden
--- old/cabal2spec-2.5/test/golden-test-cases/accelerate.spec.golden    
2001-09-09 03:46:40.000000000 +0200
+++ new/cabal2spec-2.6/test/golden-test-cases/accelerate.spec.golden    
2001-09-09 03:46:40.000000000 +0200
@@ -143,7 +143,7 @@
 <http://groups.google.com/group/accelerate-haskell>
 
 * Bug reports and issue tracking:
-<https://github.com/AccelerateHS/accelerate/issues> .
+<https://github.com/AccelerateHS/accelerate/issues>.
 
 %package -n ghc-%{name}
 Summary:        Haskell %{name} library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.5/test/golden-test-cases/aeson-diff.spec.golden 
new/cabal2spec-2.6/test/golden-test-cases/aeson-diff.spec.golden
--- old/cabal2spec-2.5/test/golden-test-cases/aeson-diff.spec.golden    
2001-09-09 03:46:40.000000000 +0200
+++ new/cabal2spec-2.6/test/golden-test-cases/aeson-diff.spec.golden    
2001-09-09 03:46:40.000000000 +0200
@@ -51,7 +51,7 @@
 %description
 This is a small library for working with changes to JSON documents. It includes
 a library and two command-line executables in the style of the diff(1) and
-patch(1) commands available on many systems. .
+patch(1) commands available on many systems.
 
 %package -n ghc-%{name}
 Summary:        Haskell %{name} library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.5/test/golden-test-cases/blank-canvas.spec.golden 
new/cabal2spec-2.6/test/golden-test-cases/blank-canvas.spec.golden
--- old/cabal2spec-2.5/test/golden-test-cases/blank-canvas.spec.golden  
2001-09-09 03:46:40.000000000 +0200
+++ new/cabal2spec-2.6/test/golden-test-cases/blank-canvas.spec.golden  
2001-09-09 03:46:40.000000000 +0200
@@ -73,7 +73,7 @@
 <<https://github.com/ku-fpg/blank-canvas/wiki/images/Red_Line.png>>
 
 For more details, read the <https://github.com/ku-fpg/blank-canvas/wiki
-blank-canvas wiki>. .
+blank-canvas wiki>.
 
 %package -n ghc-%{name}
 Summary:        Haskell %{name} library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.5/test/golden-test-cases/hit.spec.golden 
new/cabal2spec-2.6/test/golden-test-cases/hit.spec.golden
--- old/cabal2spec-2.5/test/golden-test-cases/hit.spec.golden   2001-09-09 
03:46:40.000000000 +0200
+++ new/cabal2spec-2.6/test/golden-test-cases/hit.spec.golden   2001-09-09 
03:46:40.000000000 +0200
@@ -58,7 +58,7 @@
 
 This is stricly only manipulating the git store (what's inside the .git
 directory), and doesn't do anything with the index or your working directory
-files. .
+files.
 
 %package -n ghc-%{name}
 Summary:        Haskell %{name} library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.5/test/golden-test-cases/iso639.spec.golden 
new/cabal2spec-2.6/test/golden-test-cases/iso639.spec.golden
--- old/cabal2spec-2.5/test/golden-test-cases/iso639.spec.golden        
2001-09-09 03:46:40.000000000 +0200
+++ new/cabal2spec-2.6/test/golden-test-cases/iso639.spec.golden        
2001-09-09 03:46:40.000000000 +0200
@@ -34,7 +34,7 @@
 <http://www.loc.gov/standards/iso639-2/php/English_list.php official site>
 using haskell-src-exts in an extra file included in the .tar.gz.
 
-Special thanks to Petter Bergman for the suggestions and bug fixing .
+Special thanks to Petter Bergman for the suggestions and bug fixing.
 
 %package -n ghc-%{name}
 Summary:        Haskell %{name} library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.5/test/golden-test-cases/katydid.spec.golden 
new/cabal2spec-2.6/test/golden-test-cases/katydid.spec.golden
--- old/cabal2spec-2.5/test/golden-test-cases/katydid.spec.golden       
2001-09-09 03:46:40.000000000 +0200
+++ new/cabal2spec-2.6/test/golden-test-cases/katydid.spec.golden       
2001-09-09 03:46:40.000000000 +0200
@@ -56,7 +56,7 @@
 used to create Json and XML trees that can be validated.
 
 If you want to implement your own parser then you can look at the Parsers
-module .
+module.
 
 %package -n ghc-%{name}
 Summary:        Haskell %{name} library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.5/test/golden-test-cases/mersenne-random.spec.golden 
new/cabal2spec-2.6/test/golden-test-cases/mersenne-random.spec.golden
--- old/cabal2spec-2.5/test/golden-test-cases/mersenne-random.spec.golden       
2001-09-09 03:46:40.000000000 +0200
+++ new/cabal2spec-2.6/test/golden-test-cases/mersenne-random.spec.golden       
2001-09-09 03:46:40.000000000 +0200
@@ -55,7 +55,7 @@
 and, Mutsuo Saito and Makoto Matsumoto, /SIMD-oriented Fast Mersenne Twister: a
 128-bit Pseudorandom Number Generator/, in the Proceedings of MCQMC2006, here:
 
-<http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/ARTICLES/sfmt.pdf> .
+<http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/ARTICLES/sfmt.pdf>.
 
 %package -n ghc-%{name}
 Summary:        Haskell %{name} library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.5/test/golden-test-cases/quickcheck-combinators.spec.golden 
new/cabal2spec-2.6/test/golden-test-cases/quickcheck-combinators.spec.golden
--- 
old/cabal2spec-2.5/test/golden-test-cases/quickcheck-combinators.spec.golden    
    2001-09-09 03:46:40.000000000 +0200
+++ 
new/cabal2spec-2.6/test/golden-test-cases/quickcheck-combinators.spec.golden    
    2001-09-09 03:46:40.000000000 +0200
@@ -37,7 +37,7 @@
 import Test.QuickCheck import Test.QuickCheck.Instances import GHC.TypeLits
 &#13; instance Arbitrary LinearEquation where &#32;&#32;arbitrary = do
 &#32;&#32;&#32;&#32;vars <- arbitrary :: Gen (AtLeast 3 Set String)
-&#32;&#32;&#32;&#32;&#45;&#45; ... ' .
+&#32;&#32;&#32;&#32;&#45;&#45; ... '.
 
 %package -n ghc-%{name}
 Summary:        Haskell %{name} library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.5/test/golden-test-cases/unlit.spec.golden 
new/cabal2spec-2.6/test/golden-test-cases/unlit.spec.golden
--- old/cabal2spec-2.5/test/golden-test-cases/unlit.spec.golden 2001-09-09 
03:46:40.000000000 +0200
+++ new/cabal2spec-2.6/test/golden-test-cases/unlit.spec.golden 2001-09-09 
03:46:40.000000000 +0200
@@ -38,7 +38,7 @@
 Target style (bird, latex, tildefence, backtickfence, code) > -i FILE
 --input=FILE Input file (optional) > -o FILE --output=FILE Output file
 (optional) > -l LANGUAGE --language=LANGUAGE Programming language (restrict
-fenced code blocks) > -h --help Show help > -v --version Show version .
+fenced code blocks) > -h --help Show help > -v --version Show version.
 
 %package -n ghc-%{name}
 Summary:        Haskell %{name} library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cabal2spec-2.5/test/golden-test-cases/xmonad-contrib.spec.golden 
new/cabal2spec-2.6/test/golden-test-cases/xmonad-contrib.spec.golden
--- old/cabal2spec-2.5/test/golden-test-cases/xmonad-contrib.spec.golden        
2001-09-09 03:46:40.000000000 +0200
+++ new/cabal2spec-2.6/test/golden-test-cases/xmonad-contrib.spec.golden        
2001-09-09 03:46:40.000000000 +0200
@@ -54,7 +54,7 @@
 "XMonad.Doc.Extending", using the contributed extensions library
 
 "XMonad.Doc.Developing", introduction to xmonad internals and writing your own
-extensions. .
+extensions.
 
 %package -n ghc-%{name}
 Summary:        Haskell %{name} library


Reply via email to