Hello community,

here is the log from the commit of package pandoc for openSUSE:Factory checked 
in at 2015-10-26 12:49:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pandoc (Old)
 and      /work/SRC/openSUSE:Factory/.pandoc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pandoc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pandoc/pandoc.changes    2015-10-20 
00:07:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pandoc.new/pandoc.changes       2015-10-26 
12:49:12.000000000 +0100
@@ -1,0 +2,7 @@
+Sun Oct 25 08:00:57 UTC 2015 - [email protected]
+
+- update to 1.15.1.1
+* `Text.Pandoc.Data`:  store paths in dataFiles using posix separators.
++ add Suggests: texlive-latex-bin-bin
+
+-------------------------------------------------------------------

Old:
----
  pandoc-1.15.1.tar.gz

New:
----
  pandoc-1.15.1.1.tar.gz

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

Other differences:
------------------
++++++ pandoc.spec ++++++
--- /var/tmp/diff_new_pack.fgmIe9/_old  2015-10-26 12:49:13.000000000 +0100
+++ /var/tmp/diff_new_pack.fgmIe9/_new  2015-10-26 12:49:13.000000000 +0100
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:           pandoc 
-Version:        1.15.1
+Version:        1.15.1.1
 Release:        0
 Summary:        Conversion between markup formats
 License:        GPL-1.0+
@@ -92,6 +92,7 @@
 # End cabal-rpm deps
 BuildRequires:  chrpath
 BuildRequires:  fdupes
+Suggests:       texlive-latex-bin-bin
 
 %description
 Pandoc is a Haskell library for converting from one markup format to another,

++++++ pandoc-1.15.1.tar.gz -> pandoc-1.15.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-1.15.1/changelog new/pandoc-1.15.1.1/changelog
--- old/pandoc-1.15.1/changelog 2015-10-16 19:00:30.000000000 +0200
+++ new/pandoc-1.15.1.1/changelog       2015-10-18 07:43:14.000000000 +0200
@@ -1,3 +1,10 @@
+pandoc (1.15.1.1)
+
+  * `Text.Pandoc.Data`:  store paths in dataFiles using posix separators.
+    This way we have uniform separators, whether on Windows or Linux.
+    This should solve a problem where on some Windows versions
+    the data files weren't being found (#2459).
+
 pandoc (1.15.1)
 
   * `pandocVersion` is now defined in `Text.Pandoc.Shared`
@@ -154,7 +161,7 @@
 
   * EPUB writer:
 
-    + In TOC, replace literal "<br/>" with space (#2105).
+    + In TOC, replace literal `<br/>` with space (#2105).
     + With `--webtex`, include image file rather than `data:` URI (#2363).
 
   * Native writer: format Div properly, with blocks separated.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-1.15.1/man/pandoc.1 
new/pandoc-1.15.1.1/man/pandoc.1
--- old/pandoc-1.15.1/man/pandoc.1      2015-10-16 19:00:30.000000000 +0200
+++ new/pandoc-1.15.1.1/man/pandoc.1    2015-10-18 07:43:14.000000000 +0200
@@ -4237,7 +4237,7 @@
 presentation.
 Notes are not yet supported for other slide formats, but the notes will
 not appear on the slides themselves.
-.SS Marking frames "fragile" in beamer
+.SS Frame attributes in beamer
 .PP
 Sometimes it is necessary to add the LaTeX \f[C][fragile]\f[] option to
 a frame in beamer (for example, when using the \f[C]minted\f[]
@@ -4250,6 +4250,11 @@
 #\ Fragile\ slide\ {.fragile}
 \f[]
 .fi
+.PP
+All of the other frame attributes described in Section 8.1 of the Beamer
+User\[aq]s Guide may also be used: \f[C]allowdisplaybreaks\f[],
+\f[C]allowframebreaks\f[], \f[C]b\f[], \f[C]c\f[], \f[C]t\f[],
+\f[C]environment\f[], \f[C]label\f[], \f[C]plain\f[], \f[C]shrink\f[].
 .SH EPUB METADATA
 .PP
 EPUB metadata may be specified using the \f[C]\-\-epub\-metadata\f[]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-1.15.1/pandoc.cabal 
new/pandoc-1.15.1.1/pandoc.cabal
--- old/pandoc-1.15.1/pandoc.cabal      2015-10-16 19:00:30.000000000 +0200
+++ new/pandoc-1.15.1.1/pandoc.cabal    2015-10-18 07:43:14.000000000 +0200
@@ -1,5 +1,5 @@
 Name:            pandoc
-Version:         1.15.1
+Version:         1.15.1.1
 Cabal-Version:   >= 1.10
 Build-Type:      Custom
 License:         GPL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-1.15.1/src/Text/Pandoc/Data.hsb 
new/pandoc-1.15.1.1/src/Text/Pandoc/Data.hsb
--- old/pandoc-1.15.1/src/Text/Pandoc/Data.hsb  2015-10-16 19:00:30.000000000 
+0200
+++ new/pandoc-1.15.1.1/src/Text/Pandoc/Data.hsb        2015-10-18 
07:43:14.000000000 +0200
@@ -2,6 +2,14 @@
 -- to be processed using hsb2hs
 module Text.Pandoc.Data (dataFiles) where
 import qualified Data.ByteString as B
+import System.FilePath (splitDirectories)
+import qualified System.FilePath.Posix as Posix
 
+-- We ensure that the data files are stored using Posix
+-- path separators (/), even on Windows.
 dataFiles :: [(FilePath, B.ByteString)]
-dataFiles = ("README", %blob "README") : %blobs "data"
\ No newline at end of file
+dataFiles = map (\(fp, contents) ->
+  (Posix.joinPath (splitDirectories fp), contents)) dataFiles'
+
+dataFiles' :: [(FilePath, B.ByteString)]
+dataFiles' = ("README", %blob "README") : %blobs "data"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-1.15.1/src/Text/Pandoc/Shared.hs 
new/pandoc-1.15.1.1/src/Text/Pandoc/Shared.hs
--- old/pandoc-1.15.1/src/Text/Pandoc/Shared.hs 2015-10-16 19:00:30.000000000 
+0200
+++ new/pandoc-1.15.1.1/src/Text/Pandoc/Shared.hs       2015-10-18 
07:43:14.000000000 +0200
@@ -854,7 +854,6 @@
 #else
   getDataFileName fname' >>= checkExistence >>= BS.readFile
     where fname' = if fname == "README" then fname else "data" </> fname
-#endif
 
 checkExistence :: FilePath -> IO FilePath
 checkExistence fn = do
@@ -862,6 +861,7 @@
   if exists
      then return fn
      else err 97 ("Could not find data file " ++ fn)
+#endif
 
 -- | Read file from specified user data directory or, if not found there, from
 -- Cabal data directory.


Reply via email to