diff --git a/asciidoc-ignore-deprecation.diff b/asciidoc-ignore-deprecation.diff new file mode 100644 index 0000000..5cd4efe --- /dev/null +++ b/asciidoc-ignore-deprecation.diff @@ -0,0 +1,12 @@ +--- + asciidoc.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/asciidoc.py ++++ b/asciidoc.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python -Wignore::DeprecationWarning + """ + asciidoc - converts an AsciiDoc text file to DocBook, HTML or LinuxDoc + diff --git a/asciidoc.changes b/asciidoc.changes index 6e4f5aa..cfb8cfd 100644 --- a/asciidoc.changes +++ b/asciidoc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Nov 2 15:36:41 CET 2008 - bwalle@suse.de + +- Call Python with -Wignore::DeprecationWarning to hide deprecation + warnings from the user. + ------------------------------------------------------------------- Mon Jul 28 16:34:33 CEST 2008 - tiwai@suse.de diff --git a/asciidoc.spec b/asciidoc.spec index 8ac6448..d25ca4a 100644 --- a/asciidoc.spec +++ b/asciidoc.spec @@ -2,9 +2,16 @@ # spec file for package asciidoc (Version 8.2.7) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -14,7 +21,7 @@ Name: asciidoc Summary: Text-Based Document Generation Version: 8.2.7 -Release: 10 +Release: 29 License: GPL v2 or later Group: Development/Tools/Doc Generators Requires: python >= 2.3, fop @@ -28,6 +35,7 @@ Patch0: asciidoc-vim-fix.diff Patch1: asciidoc-8.2.6-no-safe-check.diff Patch2: asciidoc-a2x-fop-fix.diff Patch3: asciidoc-fix-manpage-references.diff +Patch4: asciidoc-ignore-deprecation.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -62,6 +70,7 @@ Authors: %patch1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build @@ -101,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT %doc doc examples %changelog +* Sun Nov 02 2008 bwalle@suse.de +- Call Python with -Wignore::DeprecationWarning to hide deprecation + warnings from the user. * Mon Jul 28 2008 tiwai@suse.de - add requirement of xsltproc binary (bnc#410692) * Tue Jul 22 2008 bwalle@suse.de