[python-markdown] Update to 2.4.

Thomas Moschny thm at fedoraproject.org
Tue Apr 15 17:30:35 UTC 2014


commit 55328053d29461fc3b417d830f9fde32b2aa3620
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Tue Apr 15 19:28:10 2014 +0200

    Update to 2.4.
    
    - Update Python3 conditional.
    - Fix wrong line endings.

 .gitignore           |    1 +
 python-markdown.spec |   14 ++++++++++----
 sources              |    2 +-
 3 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c3d36d1..0466622 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/python-markdown.spec b/python-markdown.spec
index e76c25c..e4f0e49 100644
--- a/python-markdown.spec
+++ b/python-markdown.spec
@@ -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 at 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 at lists.fedoraproject.org> - 2.3.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index e51ff4b..d43c979 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-82f6828ec2292dda52fc38b743776bc6  Markdown-2.3.1.tar.gz
+4bb9b82f617cac599b399b635fe2356b  Markdown-2.4.tar.gz


More information about the scm-commits mailing list