|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 4.2.1
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: Python library for working with RDF
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
@ -14,8 +14,8 @@ Source0: http://pypi.python.org/packages/source/r/rdflib/rdflib-%{version
|
|
|
|
|
Patch1: %{name}-SPARQLWrapper-optional.patch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: python-html5lib >= 1:
|
|
|
|
|
BuildRequires: python-isodate
|
|
|
|
|
BuildRequires: python2-html5lib >= 1:
|
|
|
|
|
BuildRequires: python2-isodate
|
|
|
|
|
BuildRequires: python2-pyparsing
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
@ -27,7 +27,7 @@ BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
%if %{run_tests}
|
|
|
|
|
BuildRequires: python-nose >= 0.9.2
|
|
|
|
|
BuildRequires: python2-nose >= 0.9.2
|
|
|
|
|
BuildRequires: python3-nose >= 0.9.2
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -46,8 +46,8 @@ of the Berkeley DB, and a wrapper for remote SPARQL endpoints.
|
|
|
|
|
%package -n python2-%{pypi_name}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
|
|
Requires: python-html5lib >= 1:
|
|
|
|
|
Requires: python-isodate
|
|
|
|
|
Requires: python2-html5lib >= 1:
|
|
|
|
|
Requires: python2-isodate
|
|
|
|
|
Requires: python2-pyparsing
|
|
|
|
|
Obsoletes: python-rdfextras <= 0.1-7
|
|
|
|
|
Provides: python-rdfextras = %{version}-%{release}
|
|
|
|
@ -218,6 +218,10 @@ popd
|
|
|
|
|
%{_bindir}/rdfs2dot-3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.2.1-6
|
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
|
|
|
|
|
* Tue Feb 20 2018 Than Ngo <than@redhat.com> - 4.2.1-5
|
|
|
|
|
- skip test_issue375 for python2, need to investigate later
|
|
|
|
|
|
|
|
|
|