Hello community, here is the log from the commit of package xmlto for openSUSE:Factory checked in at 2018-03-19 23:30:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xmlto (Old) and /work/SRC/openSUSE:Factory/.xmlto.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmlto" Mon Mar 19 23:30:55 2018 rev:31 rq:586675 version:0.0.28 Changes: -------- --- /work/SRC/openSUSE:Factory/xmlto/xmlto.changes 2014-11-05 15:54:50.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.xmlto.new/xmlto.changes 2018-03-19 23:30:56.381453812 +0100 @@ -1,0 +2,21 @@ +Tue Mar 13 16:50:16 UTC 2018 - avin...@opensuse.org + +- update to 0.0.28: + - fix broken temp files removal + - do not detect links browser as elinks +- includes 0.0.27: + - remove several bashisms in scripts + - new option --profile for preprocessing documents with + profiling stylesheet + - fix several potential crashes in xmlif +- cleanup with spec-cleaner +- switch urls to new fedora upstream +- patches: + * rebase xmlto-xsltopts.patch + * format xmlto-codecleanup.patch for -p1 + * format xmlto-nonvoid.patch for -p1 + * drop xmlto-overflow.patch (xmlif.c is regenerated anyway) + * drop xmlto-lynx-empty-file.patch (obsolete) + * renumber patches + +------------------------------------------------------------------- Old: ---- xmlto-0.0.26.tar.bz2 xmlto-README.SUSE xmlto-lynx-empty-file.patch xmlto-overflow.patch New: ---- README.SUSE xmlto-0.0.28.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xmlto.spec ++++++ --- /var/tmp/diff_new_pack.WsLDeL/_old 2018-03-19 23:30:57.261422067 +0100 +++ /var/tmp/diff_new_pack.WsLDeL/_new 2018-03-19 23:30:57.265421923 +0100 @@ -1,7 +1,7 @@ # # spec file for package xmlto # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,19 +17,17 @@ Name: xmlto -Version: 0.0.26 +Version: 0.0.28 Release: 0 Summary: Tool for Converting XML Files to Various Formats -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Publishing/XML -Url: https://fedorahosted.org/xmlto/ -Source0: https://fedorahosted.org/releases/x/m/xmlto/%{name}-%{version}.tar.bz2 -Source10: %{name}-README.SUSE +Url: https://pagure.io/xmlto/ +Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2 +Source10: README.SUSE Patch0: xmlto-nonvoid.patch -Patch1: xmlto-overflow.patch -Patch3: xmlto-xsltopts.patch -Patch4: xmlto-codecleanup.patch -Patch5: xmlto-lynx-empty-file.patch +Patch1: xmlto-xsltopts.patch +Patch2: xmlto-codecleanup.patch BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: flex @@ -39,7 +37,6 @@ Requires: docbook_4 # For full functionality, we need passivetex. Recommends: texlive-xmltex >= 2007 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1210 BuildRequires: libxslt-tools Requires: libxslt-tools @@ -60,12 +57,10 @@ %prep %setup -q -%patch0 -%patch1 -%patch3 -p1 -%patch4 -%patch5 -cp %{SOURCE10} README.SUSE +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +cp %{SOURCE10} . rm -f xmlif/xmlif.c # make sure the buildrequires pulled in xsltproc @@ -82,19 +77,18 @@ make check %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install install -d %{buildroot}%{_datadir}/xmlto/xsl %fdupes '%{buildroot}%{_datadir}/xmlto' %files -%defattr(-,root,root) %doc README.SUSE -%doc COPYING +%license COPYING %doc AUTHORS README ChangeLog FAQ THANKS NEWS %{_bindir}/xmlto %{_bindir}/xmlif -%doc %{_mandir}/man1/xmlto.1* -%doc %{_mandir}/man1/xmlif.1* +%{_mandir}/man1/xmlto.1%{?ext_man} +%{_mandir}/man1/xmlif.1%{?ext_man} %{_datadir}/xmlto %changelog ++++++ README.SUSE ++++++ Limitation Producing PDF Output =============================== For PDF output "xmlto" relies on "pdfxmltex" (passivetex) resp. texlive-xmltex which currently do not support the complete FO standard. If you encounter problems within this tool chain, use a FO processor such as "fop": 1/ Produce FO using "xmlto": xmlto fo file.xml 2/ Run "fop" on the .fo file: fop file.fo Specifying HTML output encoding =============================== Make use of the --xsltopts switch to specify the HTML output encoding: xmlto --xsltopts '--stringparam chunker.output.encoding "ISO-8859-1"' \ html file.xml ++++++ xmlto-0.0.26.tar.bz2 -> xmlto-0.0.28.tar.bz2 ++++++ ++++ 6646 lines of diff (skipped) ++++++ xmlto-codecleanup.patch ++++++ --- /var/tmp/diff_new_pack.WsLDeL/_old 2018-03-19 23:30:57.481414131 +0100 +++ /var/tmp/diff_new_pack.WsLDeL/_new 2018-03-19 23:30:57.481414131 +0100 @@ -1,7 +1,5 @@ -Index: xmlif/xmlif.l -=================================================================== ---- xmlif/xmlif.l.orig -+++ xmlif/xmlif.l +--- a/xmlif/xmlif.l ++++ b/xmlif/xmlif.l @@ -43,7 +43,7 @@ static char **selections; /* selection tokens */ ++++++ xmlto-nonvoid.patch ++++++ --- /var/tmp/diff_new_pack.WsLDeL/_old 2018-03-19 23:30:57.493413698 +0100 +++ /var/tmp/diff_new_pack.WsLDeL/_new 2018-03-19 23:30:57.493413698 +0100 @@ -1,7 +1,5 @@ -Index: xmlif/xmlif.c -=================================================================== ---- xmlif/xmlif.c.orig -+++ xmlif/xmlif.c +--- a/xmlif/xmlif.c ++++ b/xmlif/xmlif.c @@ -2435,6 +2435,7 @@ main(int argc, char *argv[]) } @@ -10,10 +8,8 @@ } /* -Index: xmlif/xmlif.l -=================================================================== ---- xmlif/xmlif.l.orig -+++ xmlif/xmlif.l +--- a/xmlif/xmlif.l ++++ b/xmlif/xmlif.l @@ -259,6 +259,7 @@ main(int argc, char *argv[]) } ++++++ xmlto-xsltopts.patch ++++++ --- /var/tmp/diff_new_pack.WsLDeL/_old 2018-03-19 23:30:57.505413265 +0100 +++ /var/tmp/diff_new_pack.WsLDeL/_new 2018-03-19 23:30:57.505413265 +0100 @@ -1,6 +1,5 @@ -diff -urN xmlto-0.0.26.old/xmlto.in xmlto-0.0.26/xmlto.in ---- xmlto-0.0.26.old/xmlto.in 2014-06-11 10:16:55.661844817 +0200 -+++ xmlto-0.0.26/xmlto.in 2014-06-11 10:18:02.362850985 +0200 +--- a/xmlto.in 2014-06-11 10:16:55.661844817 +0200 ++++ b/xmlto.in 2014-06-11 10:18:02.362850985 +0200 @@ -39,6 +39,7 @@ -o directory put output in the specified directory instead of the current working directory @@ -9,17 +8,17 @@ --extensions turn on stylesheet extensions for this tool chain --noautosize do not autodetect paper size via locales or paperconf --noclean temp files are not deleted automatically -@@ -283,7 +284,7 @@ +@@ -282,7 +282,7 @@ # Process any options ARGS=$(${GETOPT} \ -- --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,noextensions,with-fop,with-dblatex \ -+ --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,noextensions,with-fop,with-dblatex,xsltopts: \ +- --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,noextensions,profile,with-fop,with-dblatex \ ++ --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,noextensions,profile,with-fop,with-dblatex,xsltopts: \ -n xmlto -- x:m:o:p:v "$@") [ $? != 0 ] && { usage; exit 1; } eval set -- "$ARGS" -@@ -389,6 +390,10 @@ - fi +@@ -391,6 +391,10 @@ + PROFILE=1 shift ;; + --xsltopts)