[python-rdflib/f20] Update for rdflib 4.1.2 release
Dan Scott
dscott at fedoraproject.org
Fri Apr 18 16:21:48 UTC 2014
commit c4140da2fb1c4699ae9849727406ba827acf178e
Author: Dan Scott <dan at coffeecode.net>
Date: Fri Apr 18 12:01:33 2014 -0400
Update for rdflib 4.1.2 release
Set PYTHONPATH to ensure unit tests find the rdflib
library, now that we have tests for command-line scripts.
Signed-off-by: Dan Scott <dan at coffeecode.net>
python-rdflib.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/python-rdflib.spec b/python-rdflib.spec
index 9ae7324..967249c 100644
--- a/python-rdflib.spec
+++ b/python-rdflib.spec
@@ -1,7 +1,7 @@
%define run_tests 1
Name: python-rdflib
-Version: 4.1.1
+Version: 4.1.2
Release: 1%{?dist}
Summary: Python library for working with RDF
@@ -89,7 +89,7 @@ done
sed -i -e "s|'--with-doctest'|#'--with-doctest'|" run_tests.py
sed -i -e "s|'--doctest-tests'|#'--doctest-tests'|" run_tests.py
sed -i -e "s|with-doctest = 1|#with-doctest = 1|" setup.cfg
-%{__python} run_tests.py --verbose
+PYTHONPATH=./build/lib %{__python} run_tests.py --verbose
%endif
%files
@@ -99,6 +99,10 @@ sed -i -e "s|with-doctest = 1|#with-doctest = 1|" setup.cfg
%{_bindir}/*
%changelog
+* Fri Apr 18 2014 Dan Scott <dan at coffeecode.net> - 4.1.2-1
+- Update for 4.1.2 release
+- Add PYTHONPATH awareness for running tests
+
* Tue Mar 04 2014 Dan Scott <dan at coffeecode.net> - 4.1.1-1
- Update for 4.1.1 release
- Support for RDF 1.1 and HTML5
More information about the scm-commits
mailing list