From cc6dae4a0876b895771ce2f2ef3b4612158d0f34 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:32:55 +0100 Subject: [PATCH] rebuilt with python3 [release 5.0.0-2mamba;Tue Jan 19 2021] --- python-rdflib.spec | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/python-rdflib.spec b/python-rdflib.spec index 2436cb2..eb2c8f7 100644 --- a/python-rdflib.spec +++ b/python-rdflib.spec @@ -1,6 +1,6 @@ Name: python-rdflib Version: 5.0.0 -Release: 1mamba +Release: 2mamba Summary: A Python library for working with RDF, a simple yet powerful language for representing information. Group: System/Libraries/Python Vendor: openmamba @@ -10,10 +10,10 @@ URL: https://pypi.python.org/pypi/rdflib/ Source: https://pypi.debian.net/rdflib/rdflib-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel BuildRequires: python ## AUTOBUILDREQ-END -BuildRequires: libpython-devel +BuildRequires: libpython3-devel Requires: python-isodate Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -21,6 +21,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. +%if 0%{?with_pyver} +%define py_requires_append \ +Requires: python-isodate%{?pyappend:-%pyappend} +Obsoletes: python-rdflib <= 5.0.0-1mamba +%pyver_package +%endif + %prep %setup -q -n rdflib-%{version} @@ -39,16 +46,13 @@ CFLAGS="%{optflags}" %{__python} setup.py build #sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -## note: this list is just an example; modify as required -# %{python_sitearch}/%{name}.py* -# %{python_sitearch}/%{name}.so - -## note: eventually add the remaining documents (if any) -# %changelog +* Tue Jan 19 2021 Silvan Calarco 5.0.0-2mamba +- rebuilt with python3 + * Wed May 20 2020 Automatic Build System 5.0.0-1mamba - automatic version update by autodist