Update to 2.4.

- Update Python3 conditional.
- Fix wrong line endings.
This commit is contained in:
Thomas Moschny 2014-04-15 19:28:10 +02:00
parent 0e72468d76
commit 55328053d2
3 changed files with 12 additions and 5 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ Markdown-2.0.3.tar.gz
/Markdown-2.2.1.tar.gz
/Markdown-2.3.tar.gz
/Markdown-2.3.1.tar.gz
/Markdown-2.4.tar.gz

View File

@ -1,6 +1,6 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%if 0%{?fedora} || 0%{?rhel} > 6
%if 0%{?fedora}
%global with_python3 1
%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")}
%endif
@ -8,8 +8,8 @@
%define srcname Markdown
Name: python-markdown
Version: 2.3.1
Release: 3%{?dist}
Version: 2.4
Release: 1%{?dist}
Summary: Markdown implementation in Python
Group: Development/Languages
License: BSD
@ -53,7 +53,8 @@ find markdown -type f -name '*.py' \
-exec sed -i -e '/^#!/{1D}' {} \;
# fix line-ending
sed -i 's/\r//' docs/release-2.2.0.txt
find bin docs -type f \
-exec sed -i 's/\r//' {} \;
%if 0%{?with_python3}
cp -a . %{py3dir}
@ -115,6 +116,11 @@ popd
%changelog
* Tue Apr 15 2014 Thomas Moschny <thomas.moschny@gmx.de> - 2.4-1
- Update to 2.4.
- Update Python3 conditional.
- Fix wrong line endings.
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
82f6828ec2292dda52fc38b743776bc6 Markdown-2.3.1.tar.gz
4bb9b82f617cac599b399b635fe2356b Markdown-2.4.tar.gz