14
0
forked from pool/python-rdflib

- Run testsuite everywhere

- Macro cleanup

- Run testsuite everywhere

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=32
This commit is contained in:
Sascha Peilicke
2013-01-30 13:04:35 +00:00
committed by Git OBS Bridge
parent cfe580d10a
commit 9a2c739c4e
4 changed files with 18 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-rdflib
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,21 +25,19 @@ Group: Development/Libraries/Python
Url: http://rdflib.net/
Source: http://pypi.python.org/packages/source/r/rdflib/rdflib-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: python-Sphinx
BuildRequires: python-devel
BuildRequires: python-isodate
BuildRequires: python-nose
BuildRequires: python-xml
BuildRequires: fdupes
Requires: python-isodate
Requires: python-xml
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
RDFLib is a Python library for working with RDF, a simple yet powerful
@@ -62,10 +60,8 @@ rm -r _build/html/.buildinfo
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes -s build/html
%if 0%{?suse_version} >= 1220
%check
python setup.py test
%endif
%files
%defattr(-,root,root)