From f933cdbab54765cab4c82631dd093dc257840d4b77a1139536422c551cf93ade Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 1 Jul 2015 13:43:43 +0000 Subject: [PATCH] Accepting request 314727 from home:TheBlackCat:branches:devel:languages:python Split documentation into doc subpackage OBS-URL: https://build.opensuse.org/request/show/314727 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=45 --- python-rdflib.changes | 5 +++++ python-rdflib.spec | 17 ++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/python-rdflib.changes b/python-rdflib.changes index 4906dfa..ba84d59 100644 --- a/python-rdflib.changes +++ b/python-rdflib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 1 13:43:16 UTC 2015 - toddrme2178@gmail.com + +- Split documentation into doc subpackage + ------------------------------------------------------------------- Tue May 12 13:24:19 UTC 2015 - benoit.monin@gmx.fr diff --git a/python-rdflib.spec b/python-rdflib.spec index 8aa6a86..1076f75 100644 --- a/python-rdflib.spec +++ b/python-rdflib.spec @@ -56,6 +56,17 @@ language for representing information. The library contains an RDF/XML parser/serializer that conforms to the RDF/XML Syntax Specification (Revised). The library also contains both in-memory and persistent Graph backends. +%package doc +Summary: A Python library for working with RDF +Recommends: %{name} = %{version} +Group: Development/Libraries/Python + +%description doc +RDFLib is a Python library for working with RDF, a simple yet powerful +language for representing information. The library contains an RDF/XML +parser/serializer that conforms to the RDF/XML Syntax Specification (Revised). +The library also contains both in-memory and persistent Graph backends. + %prep %setup -q -n rdflib-%{version} # remove unwanted shebang @@ -109,7 +120,7 @@ fi %files %defattr(-,root,root) -%doc CHANGELOG.md LICENSE CONTRIBUTORS README.md docs/_build/html +%doc CHANGELOG.md LICENSE CONTRIBUTORS README.md %ghost %{_sysconfdir}/alternatives/csv2rdf %ghost %{_sysconfdir}/alternatives/rdf2dot %ghost %{_sysconfdir}/alternatives/rdfgraphisomorphism @@ -128,4 +139,8 @@ fi %{python_sitelib}/rdflib/ %{python_sitelib}/rdflib-%{version}-py*.egg-info +%files doc +%defattr(-,root,root) +%doc docs/_build/html + %changelog