From 3b6d3eac1e6fad2a00168144fab3db0e8dfa93f1 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Fri, 18 Apr 2014 12:01:33 -0400 Subject: [PATCH] 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 --- python-rdflib.spec | 8 ++++++-- 1 file 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 - 4.1.2-1 +- Update for 4.1.2 release +- Add PYTHONPATH awareness for running tests + * Tue Mar 04 2014 Dan Scott - 4.1.1-1 - Update for 4.1.1 release - Support for RDF 1.1 and HTML5