[cxxtest] updated to release 4.3

Martin Gieseking mgieseki at fedoraproject.org
Mon Jul 22 09:45:34 UTC 2013


commit 7fd8f57267e6cde6e67dfd7598213b5658fe773d
Author: Martin Gieseking <martin.gieseking at uos.de>
Date:   Mon Jul 22 11:44:58 2013 +0200

    updated to release 4.3

 .gitignore   |    1 +
 cxxtest.spec |   28 ++++++++++++++++++++++++----
 sources      |    2 +-
 3 files changed, 26 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e899b0a..058a49e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ cxxtest-guide-3.10.1.pdf
 /cxxtest-4.1.tar.gz
 /cxxtest-4.2.tar.gz
 /cxxtest-4.2.1.tar.gz
+/cxxtest-4.3.tar.gz
diff --git a/cxxtest.spec b/cxxtest.spec
index 5ffecd8..24b518f 100644
--- a/cxxtest.spec
+++ b/cxxtest.spec
@@ -1,6 +1,6 @@
 Name:           cxxtest
-Version:        4.2.1
-Release:        2%{?dist}
+Version:        4.3
+Release:        1%{?dist}
 Summary:        A JUnit-like testing framework for C++
 
 Group:          Development/Tools
@@ -60,8 +60,25 @@ Version: %{version}
 Cflags: -I\${includedir}
 EOF
 
+cd doc
+
+# script to create asciidoc file for manpage of cxxtestgen
+cat <<EOF >create_manpage.py
+import sys
+if sys.version_info < (3,0):
+	sys.path.insert(0, '../python')
+else:
+	sys.path.insert(0, '../python/python3') 
+import cxxtest
+cxxtest.create_manpage()
+EOF
+
+# create manpage
+%{__python} create_manpage.py
+a2x -f manpage cxxtestgen.1.txt
+
 # build documentation in PDF and HTML (requires asciidoc >= 8.5.0)
-make -C doc pdf html
+make pdf html
 
 
 %install
@@ -77,7 +94,7 @@ ln -s %{_bindir}/cxxtestgen %{buildroot}%{_bindir}/cxxtestgen.py
 %endif
 
 cd ..
-install -D -p -m 644 doc/man/cxxtestgen.1 %{buildroot}%{_mandir}/man1/cxxtestgen.1
+install -D -p -m 644 doc/cxxtestgen.1 %{buildroot}%{_mandir}/man1/cxxtestgen.1
 
 
 %files
@@ -96,6 +113,9 @@ install -D -p -m 644 doc/man/cxxtestgen.1 %{buildroot}%{_mandir}/man1/cxxtestgen
 
 
 %changelog
+* Mon Jul 22 2013 Martin Gieseking <martin.gieseking at uos.de> 4.3-1
+- updated to release 4.3
+
 * Wed Jul 17 2013 Petr Pisar <ppisar at redhat.com> - 4.2.1-2
 - Perl 5.18 rebuild
 
diff --git a/sources b/sources
index 0c5b6f7..edda0ee 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d3bbba0fac5a61c594e2f7dd2321b91b  cxxtest-4.2.1.tar.gz
+b3a24b3e1aad9acf6adac37f4c3f83ec  cxxtest-4.3.tar.gz


More information about the scm-commits mailing list