forked from pool/python-rdflib
Accepting request 248597 from home:TheBlackCat:branches:devel:languages:python
Update to 4.1.2 OBS-URL: https://build.opensuse.org/request/show/248597 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=40
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-rdflib
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 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
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-rdflib
|
||||
Version: 4.0.1
|
||||
Version: 4.1.2
|
||||
Release: 0
|
||||
Summary: A Python library for working with RDF
|
||||
License: BSD-3-Clause
|
||||
@@ -74,12 +74,12 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
# for update-alternatives
|
||||
mv %{buildroot}%{_bindir}/csv2rdf %{buildroot}%{_bindir}/csv2rdf-%{py_ver}
|
||||
mv %{buildroot}%{_bindir}/rdf2dot %{buildroot}%{_bindir}/rdf2dot-%{py_ver}
|
||||
mv %{buildroot}%{_bindir}/rdfgraphisomorpishm %{buildroot}%{_bindir}/rdfgraphisomorpishm-%{py_ver}
|
||||
mv %{buildroot}%{_bindir}/rdfgraphisomorphism %{buildroot}%{_bindir}/rdfgraphisomorphism-%{py_ver}
|
||||
mv %{buildroot}%{_bindir}/rdfpipe %{buildroot}%{_bindir}/rdfpipe-%{py_ver}
|
||||
mv %{buildroot}%{_bindir}/rdfs2dot %{buildroot}%{_bindir}/rdfs2dot-%{py_ver}
|
||||
ln -s %{_bindir}/csv2rdf-%{py_ver} %{buildroot}%{_bindir}/csv2rdf
|
||||
ln -s %{_bindir}/rdf2dot-%{py_ver} %{buildroot}%{_bindir}/rdf2dot
|
||||
ln -s %{_bindir}/rdfgraphisomorpishm-%{py_ver} %{buildroot}%{_bindir}/rdfgraphisomorpishm
|
||||
ln -s %{_bindir}/rdfgraphisomorphism-%{py_ver} %{buildroot}%{_bindir}/rdfgraphisomorphism
|
||||
ln -s %{_bindir}/rdfpipe-%{py_ver} %{buildroot}%{_bindir}/rdfpipe
|
||||
ln -s %{_bindir}/rdfs2dot-%{py_ver} %{buildroot}%{_bindir}/rdfs2dot
|
||||
|
||||
@@ -93,7 +93,7 @@ sed -i 's/\r$//' docs/_build/html/_static/jquery.js
|
||||
# of the old binary resulting from the non-update-alternativies-ified package:
|
||||
[[ ! -L %{_bindir}/csv2rdf ]] && rm -f %{_bindir}/csv2rdf
|
||||
[[ ! -L %{_bindir}/rdf2dot ]] && rm -f %{_bindir}/rdf2dot
|
||||
[[ ! -L %{_bindir}/rdfgraphisomorpishm ]] && rm -f %{_bindir}/rdfgraphisomorpishm
|
||||
[[ ! -L %{_bindir}/rdfgraphisomorphism ]] && rm -f %{_bindir}/rdfgraphisomorphism
|
||||
[[ ! -L %{_bindir}/rdfpipe ]] && rm -f %{_bindir}/rdfpipe
|
||||
[[ ! -L %{_bindir}/rdfs2dot ]] && rm -f %{_bindir}/rdfs2dot
|
||||
exit 0
|
||||
@@ -103,7 +103,7 @@ update-alternatives \
|
||||
--install %{_bindir}/rdfpipe rdfpipe %{_bindir}/rdfpipe-%{py_ver} 30 \
|
||||
--slave %{_bindir}/csv2rdf csv2rdf %{_bindir}/csv2rdf%{py_ver} \
|
||||
--slave %{_bindir}/rdf2dot rdf2dot %{_bindir}/rdf2dot%{py_ver} \
|
||||
--slave %{_bindir}/rdfgraphisomorpishm rdfgraphisomorpishm %{_bindir}/rdfgraphisomorpishm%{py_ver} \
|
||||
--slave %{_bindir}/rdfgraphisomorphism graphisomorpishm %{_bindir}/rdfgraphisomorphism%{py_ver} \
|
||||
--slave %{_bindir}/rdfs2dot rdfs2dot %{_bindir}/rdfs2dot%{py_ver}
|
||||
|
||||
%preun
|
||||
@@ -120,12 +120,12 @@ fi
|
||||
%doc CHANGELOG.md LICENSE CONTRIBUTORS README.md docs/_build/html
|
||||
%{_bindir}/csv2rdf-%{py_ver}
|
||||
%{_bindir}/rdf2dot-%{py_ver}
|
||||
%{_bindir}/rdfgraphisomorpishm-%{py_ver}
|
||||
%{_bindir}/rdfgraphisomorphism-%{py_ver}
|
||||
%{_bindir}/rdfpipe-%{py_ver}
|
||||
%{_bindir}/rdfs2dot-%{py_ver}
|
||||
%ghost %{_bindir}/csv2rdf
|
||||
%ghost %{_bindir}/rdf2dot
|
||||
%ghost %{_bindir}/rdfgraphisomorpishm
|
||||
%ghost %{_bindir}/rdfgraphisomorphism
|
||||
%ghost %{_bindir}/rdfpipe
|
||||
%ghost %{_bindir}/rdfs2dot
|
||||
%{python_sitelib}/rdflib/
|
||||
|
Reference in New Issue
Block a user