Hello community, here is the log from the commit of package docutils for openSUSE:Factory checked in at Fri Mar 19 10:30:58 CET 2010. -------- --- docutils/docutils.changes 2009-08-11 15:14:54.000000000 +0200 +++ /mounts/work_src_done/STABLE/docutils/docutils.changes 2010-03-18 16:52:56.000000000 +0100 @@ -1,0 +2,9 @@ +Thu Mar 18 16:50:35 CET 2010 - matejcik@suse.cz + +- update to 0.6 + * scaling figures/images by percents + * many improvements in LaTeX2e writer +- fixed insecure usage of temp files in emacs mode + (bnc#564366) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- docutils-0.5.tar.bz2 New: ---- docutils-0.6-insecure-temp.patch docutils-0.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ docutils.spec ++++++ --- /var/tmp/diff_new_pack.xDautn/_old 2010-03-19 10:29:29.000000000 +0100 +++ /var/tmp/diff_new_pack.xDautn/_new 2010-03-19 10:29:29.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package docutils (Version 0.5) +# spec file for package docutils (Version 0.6) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,14 +20,15 @@ Name: docutils BuildRequires: python-devel -License: BSD 3-clause (or similar) ; GPL v2 or later ; Public Domain, Freeware ; Python License .. +License: BSD3c(or similar) ; GPLv2+ ; Public Domain, Freeware ; Python License .. Group: Productivity/Publishing/Other AutoReqProv: on -Version: 0.5 -Release: 2 +Version: 0.6 +Release: 1 Summary: Tools for Processing Plain Text Documentation into Useful Formats Url: http://docutils.sourceforge.net/ Source: %{name}-%{version}.tar.bz2 +Patch1: %{name}-0.6-insecure-temp.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} @@ -56,6 +57,7 @@ %prep %setup +%patch1 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" ++++++ docutils-0.6-insecure-temp.patch ++++++ Index: docutils-0.6/tools/editors/emacs/rst.el =================================================================== --- docutils-0.6.orig/tools/editors/emacs/rst.el +++ docutils-0.6/tools/editors/emacs/rst.el @@ -3301,13 +3301,31 @@ of the entire buffer, if the region is n (cadr (assq 'pseudoxml rst-compile-toolsets)) standard-output))) +(defvar rst-temp-dir nil) +(make-variable-buffer-local 'rst-temp-dir) + +(defun rst-get-temp-dir () + (or rst-temp-dir + (setq rst-temp-dir + (file-name-as-directory (make-temp-file "rst-" t)) + ) + ) +) + +(defun rst-remove-temp-dir () + (require 'dired) + (if rst-temp-dir (dired-delete-file rst-temp-dir 'always)) +) + +(add-hook 'kill-buffer-hook 'rst-remove-temp-dir) + (defvar rst-pdf-program "xpdf" "Program used to preview PDF files.") (defun rst-compile-pdf-preview () "Convert the document to a PDF file and launch a preview program." (interactive) - (let* ((tmp-filename "/tmp/out.pdf") + (let* ((tmp-filename (concat (rst-get-temp-dir) "out.pdf")) (command (format "%s %s %s && %s %s" (cadr (assq 'pdf rst-compile-toolsets)) buffer-file-name tmp-filename @@ -3323,7 +3341,7 @@ of the entire buffer, if the region is n (defun rst-compile-slides-preview () "Convert the document to an S5 slide presentation and launch a preview program." (interactive) - (let* ((tmp-filename "/tmp/slides.html") + (let* ((tmp-filename (concat (rst-get-temp-dir) "slides.html")) (command (format "%s %s %s && %s %s" (cadr (assq 's5 rst-compile-toolsets)) buffer-file-name tmp-filename ++++++ docutils-0.5.tar.bz2 -> docutils-0.6.tar.bz2 ++++++ ++++ 32847 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org