Update to 2.4.
- Update Python3 conditional. - Fix wrong line endings.
This commit is contained in:
parent
0e72468d76
commit
55328053d2
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ Markdown-2.0.3.tar.gz
|
|||||||
/Markdown-2.2.1.tar.gz
|
/Markdown-2.2.1.tar.gz
|
||||||
/Markdown-2.3.tar.gz
|
/Markdown-2.3.tar.gz
|
||||||
/Markdown-2.3.1.tar.gz
|
/Markdown-2.3.1.tar.gz
|
||||||
|
/Markdown-2.4.tar.gz
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?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
|
%global with_python3 1
|
||||||
%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")}
|
%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")}
|
||||||
%endif
|
%endif
|
||||||
@ -8,8 +8,8 @@
|
|||||||
%define srcname Markdown
|
%define srcname Markdown
|
||||||
|
|
||||||
Name: python-markdown
|
Name: python-markdown
|
||||||
Version: 2.3.1
|
Version: 2.4
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Markdown implementation in Python
|
Summary: Markdown implementation in Python
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -53,7 +53,8 @@ find markdown -type f -name '*.py' \
|
|||||||
-exec sed -i -e '/^#!/{1D}' {} \;
|
-exec sed -i -e '/^#!/{1D}' {} \;
|
||||||
|
|
||||||
# fix line-ending
|
# 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}
|
%if 0%{?with_python3}
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
@ -115,6 +116,11 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user