Update to 2.2.0.
- Update url. - Add patch from upstream git for failing test.
This commit is contained in:
parent
9fc82b50fb
commit
802610802b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
Markdown-2.0.3.tar.gz
|
||||
/Markdown-2.1.0.tar.gz
|
||||
/Markdown-2.1.1.tar.gz
|
||||
/Markdown-2.2.0.tar.gz
|
||||
|
@ -8,13 +8,15 @@
|
||||
%define srcname Markdown
|
||||
|
||||
Name: python-markdown
|
||||
Version: 2.1.1
|
||||
Version: 2.2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Markdown implementation in Python
|
||||
Group: Development/Languages
|
||||
License: BSD
|
||||
URL: http://www.freewisdom.org/projects/python-markdown/
|
||||
URL: http://packages.python.org/Markdown/
|
||||
Source0: http://pypi.python.org/packages/source/M/%{srcname}/%{srcname}-%{version}.tar.gz
|
||||
# commit 5b3e724f
|
||||
Patch0: Markdown-2.2.0-extension-api.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel
|
||||
@ -52,11 +54,15 @@ there are a few known issues.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{srcname}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
# remove shebangs
|
||||
find markdown -type f -name '*.py' \
|
||||
-exec sed -i -e '/^#!/{1D}' {} \;
|
||||
|
||||
# fix line-ending
|
||||
sed -i 's/\r//' docs/release-2.2.0.txt
|
||||
|
||||
%if 0%{?with_python3}
|
||||
cp -a . %{py3dir}
|
||||
%endif # with_python3
|
||||
@ -125,6 +131,11 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Jul 14 2012 Thomas Moschny <thomas.moschny@gmx.de> - 2.2.0-1
|
||||
- Update to 2.2.0.
|
||||
- Update url.
|
||||
- Add patch from upstream git for failing test.
|
||||
|
||||
* Wed Feb 8 2012 Thomas Moschny <thomas.moschny@gmx.de> - 2.1.1-1
|
||||
- Update to 2.1.1.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user