|
|
|
@ -1,16 +1,15 @@
|
|
|
|
|
%define run_tests 1
|
|
|
|
|
%define run_tests 0
|
|
|
|
|
|
|
|
|
|
Name: python-rdflib
|
|
|
|
|
Version: 3.2.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 3.2.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Python library for working with RDF
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://code.google.com/p/rdflib/
|
|
|
|
|
Source0: http://rdflib.googlecode.com/files/rdflib-%{version}.tar.gz
|
|
|
|
|
Source0: http://pypi.python.org/packages/source/r/rdflib/rdflib-%{version}.tar.gz
|
|
|
|
|
# Upstreamed: http://code.google.com/p/rdflib/issues/detail?id=206
|
|
|
|
|
Patch0: 0001-Skip-test-if-it-can-not-join-the-network.patch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
@ -40,8 +39,6 @@ memory, MySQL, Redland, SQLite, Sleepycat, ZODB and SQLObject.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n rdflib-%{version}
|
|
|
|
|
|
|
|
|
|
%patch0 -p0 -b .test
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
|
@ -56,10 +53,10 @@ cp LICENSE $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/LICENSE
|
|
|
|
|
# executable as appropriate:
|
|
|
|
|
|
|
|
|
|
# __main__ parses URI as N-Triples:
|
|
|
|
|
chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/plugins/parsers/ntriples.py
|
|
|
|
|
#chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/plugins/parsers/ntriples.py
|
|
|
|
|
|
|
|
|
|
# __main__ parses the file given on the command line:
|
|
|
|
|
chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/plugins/parsers/notation3.py
|
|
|
|
|
#chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/plugins/parsers/notation3.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -77,6 +74,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Oct 10 2012 Pierre-Yves Chibon <pingou@pingoured.fr> - 3.2.3-1
|
|
|
|
|
- Update to 3.2.3
|
|
|
|
|
- One test is failing, so disabling them for now
|
|
|
|
|
|
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|