diff --git a/Markdown-2.2.0.tar.gz b/Markdown-2.2.0.tar.gz deleted file mode 100644 index 7627f26..0000000 --- a/Markdown-2.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98e1b0a0b2f87b8310d2060a560f427c24ee16c96c83c98ea416f1f8ddc379b5 -size 236894 diff --git a/Markdown-2.2.1.tar.gz b/Markdown-2.2.1.tar.gz new file mode 100644 index 0000000..a36ca3e --- /dev/null +++ b/Markdown-2.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8b9a1efceab71afe9336a7c456fde36bfb0f505fb664ebb7f3dd44eddab44b6 +size 260043 diff --git a/python-Markdown.changes b/python-Markdown.changes index 7c5d97d..3d786d8 100644 --- a/python-Markdown.changes +++ b/python-Markdown.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Nov 22 14:26:33 UTC 2012 - saschpe@suse.de + +- Update to version 2.2.1: + + Python-Markdown 2.2.1 is a bug-fix release. No new features have been added. + However, at least one bug fix does not work in Python 2.4 so that version of + Python is no longer supported. For a full list of changes, see the git log. + ------------------------------------------------------------------- Mon Jul 23 12:47:08 UTC 2012 - saschpe@suse.de diff --git a/python-Markdown.spec b/python-Markdown.spec index a101039..3746611 100644 --- a/python-Markdown.spec +++ b/python-Markdown.spec @@ -13,28 +13,29 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python-Markdown -Version: 2.2.0 +Version: 2.2.1 Release: 0 -License: BSD-3-Clause Summary: Python implementation of Markdown -Url: http://packages.python.org/Markdown/ +License: BSD-3-Clause Group: Development/Languages/Python +Url: http://packages.python.org/Markdown/ Source: http://pypi.python.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-nose BuildRequires: python-xml Requires: python-xml BuildRoot: %{_tmppath}/%{name}-%{version}-build +Provides: python-markdown = %{version} +Obsoletes: python-markdown < %{version} %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif -Provides: python-markdown = %{version} -Obsoletes: python-markdown < %{version} %description This is a Python implementation of John Gruber's [Markdown][]. @@ -45,6 +46,9 @@ supported by the [Available Extensions][]. %prep %setup -q -n Markdown-%{version} +sed -i "s|\r||" docs/release-2.2.0.txt +# Fix non-executable script warning: +sed -i "s|^#!.*||" markdown/extensions/{sane_lists,html_tidy,extra,def_list,tables,codehilite,wikilinks,fenced_code,headerid}.py %build python setup.py build @@ -52,8 +56,8 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -#%%check -#python run-tests.py +%check +python run-tests.py %files %defattr(-,root,root,-)