[glogg/f18] switch to use the python-markdown2 for generating the documentation.

dwrobel dwrobel at fedoraproject.org
Mon Nov 5 16:30:13 UTC 2012


commit 7d1a58d8c2bc10fcc8f22424cac86935a185cd4f
Author: Damian Wrobel <D.Wrobel at ertelnet.rybnik.pl>
Date:   Mon Nov 5 17:28:04 2012 +0100

    switch to use the python-markdown2 for generating the documentation.

 glogg-python-markdown.patch |    4 ++--
 glogg.spec                  |   11 +++++++----
 2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/glogg-python-markdown.patch b/glogg-python-markdown.patch
index c44fc6b..e16f12d 100644
--- a/glogg-python-markdown.patch
+++ b/glogg-python-markdown.patch
@@ -7,7 +7,7 @@ Index: glogg-0.9.0/glogg.pro
  
  # Build HTML documentation (if 'markdown' is available)
 -system(type markdown >/dev/null) {
-+system(type markdown_py >/dev/null) {
++system(type markdown2 >/dev/null) {
      MARKDOWN += doc/documentation.markdown
  }
  else {
@@ -19,7 +19,7 @@ Index: glogg-0.9.0/glogg.pro
  doc_processor.input = MARKDOWN
  doc_processor.output = doc/${QMAKE_FILE_BASE}.html
 -doc_processor.commands = markdown ${QMAKE_FILE_NAME} | \
-+doc_processor.commands = markdown_py ${QMAKE_FILE_NAME} | \
++doc_processor.commands = markdown2 ${QMAKE_FILE_NAME} | \
      sed -f finish.sed >${QMAKE_FILE_OUT}
  
  doc_processor.CONFIG += target_predeps
diff --git a/glogg.spec b/glogg.spec
index 6b2725b..75aaae6 100644
--- a/glogg.spec
+++ b/glogg.spec
@@ -1,20 +1,20 @@
 Name:          glogg
 Version:       0.8.3
-Release:       2%{?dist}
+Release:       4%{?dist}
 Group:         Applications/System
 Summary:       Smart interactive log explorer
 License:       GPLv3+
 URL:           http://glogg.bonnefon.org
 Source:        http://glogg.bonnefon.org/files/%{name}-%{version}.tar.gz
-# We have a python implementation of the markdown
-# thus we need to rename markdown -> markdown_py
+# We're using python-markdown2
+# thus we need to rename markdown -> markdown2
 Patch0:        %{name}-python-markdown.patch
 
 
 BuildRequires:  boost-devel
 BuildRequires:  desktop-file-utils
 BuildRequires:  hicolor-icon-theme
-BuildRequires:  python-markdown
+BuildRequires:  python-markdown2
 BuildRequires:  qt-devel
 
 
@@ -65,6 +65,9 @@ fi
 
 
 %changelog
+* Thu Nov 01 2012 Damian Wrobel <dwrobel at ertelnet.rybnik.pl> - 0.8.3-4
+- switch to use the python-markdown2 for generating the documentation.
+
 * Mon Oct 29 2012 Damian Wrobel <dwrobel at ertelnet.rybnik.pl> - 0.8.3-3
 - icon cache refreshing scriplets added.
 - superfluous BR removed.


More information about the scm-commits mailing list