[python-markdown2/el6: 11/12] Update to 1.0.1.19.

Thomas Moschny thm at fedoraproject.org
Fri Mar 16 18:29:32 UTC 2012


commit 7cef43526f444cdd23fbc0ea4433fc6d7f065715
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Fri Mar 16 19:25:54 2012 +0100

    Update to 1.0.1.19.
    
      - Drop patch applied upstream.
      - Update project URL.
    - Update macros, use %global.
    - Update %doc.
    - Do not run tests known to fail.

 .gitignore            |    1 +
 python-markdown2.spec |   22 ++++++++++++++++------
 sources               |    2 +-
 3 files changed, 18 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a708fa1..bfb1ed1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 markdown2-1.0.1.17.zip
+/markdown2-1.0.1.19.zip
diff --git a/python-markdown2.spec b/python-markdown2.spec
index 141dbfd..30ab6d7 100644
--- a/python-markdown2.spec
+++ b/python-markdown2.spec
@@ -1,14 +1,16 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%endif
 
-%define srcname markdown2
+%global srcname markdown2
 
 Name:           python-%{srcname}
-Version:        1.0.1.17
+Version:        1.0.1.19
 Release:        1%{?dist}
 Summary:        A fast and complete Python implementation of Markdown
 Group:          Development/Languages
 License:        MIT
-URL:            http://code.google.com/p/python-%{srcname}/
+URL:            https://github.com/trentm/python-%{srcname}/
 Source0:        http://pypi.python.org/packages/source/m/%{srcname}/%{srcname}-%{version}.zip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
@@ -52,17 +54,25 @@ rm -rf %{buildroot}
 
 %check
 cd test
-%{__python} test.py
+%{__python} test.py -- -knownfailure
 
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGES.txt LICENSE.txt README.txt TODO.txt
+%doc CHANGES.txt CONTRIBUTORS.txt LICENSE.txt TODO.txt
 %{python_sitelib}/*
 %{_bindir}/markdown2
 
 
 %changelog
+* Thu Jul 21 2011 Thomas Moschny <thomas.moschny at gmx.de> - 1.0.1.19-1
+- Update to 1.0.1.19.
+  - Drop patch applied upstream.
+  - Update project URL.
+- Update macros, use %%global.
+- Update %%doc.
+- Do not run tests known to fail.
+
 * Sat Jul  3 2010 Thomas Moschny <thomas.moschny at gmx.de> - 1.0.1.17-1
 - Update to 1.0.17.
 
diff --git a/sources b/sources
index c970cf1..5990d8f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5f67ad41e925c4f52bec0b2cd5014002  markdown2-1.0.1.17.zip
+136408ef48d9f0c01f122ceedfb3110f  markdown2-1.0.1.19.zip


More information about the scm-commits mailing list