forked from pool/python-rdflib
Compare commits
19 Commits
Author | SHA256 | Date | |
---|---|---|---|
7cbf6c2d8d | |||
7ccf056ecb | |||
123ea5257b | |||
c8b5414847 | |||
1b65dcccb0 | |||
4d2db6cbee | |||
0e161f8b59 | |||
fc16eadb31 | |||
f521331b27 | |||
b45584ca42 | |||
da940edf62 | |||
a481de765f | |||
5da9f90f62 | |||
9297506e3e | |||
b9b69e8fb0 | |||
8f3b4c15ad | |||
963170dd53 | |||
eaad9a3601 | |||
5e0cc5dda4 |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Aug 14 12:36:39 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives on SLE-16-based and newer systems only
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 8 08:17:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Tue Jul 8 08:17:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@@ -24,13 +24,9 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with doc
|
%bcond_with doc
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
# Tests don't work and cause a dependency loop with python-SPARQLWrapper
|
# Tests don't work and cause a dependency loop with python-SPARQLWrapper
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
%bcond_without libalternatives
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-rdflib%{psuffix}
|
Name: python-rdflib%{psuffix}
|
||||||
Version: 7.1.4
|
Version: 7.1.4
|
||||||
@@ -43,16 +39,11 @@ Source: https://files.pythonhosted.org/packages/source/r/rdflib/rdflib-%
|
|||||||
Patch0: sphinx8.patch
|
Patch0: sphinx8.patch
|
||||||
# PATCH-FIX-OPENSUSE reproducible-doc-build.patch gh#RDFLib/rdflib#2645 -- daniel.garcia@suse.com
|
# PATCH-FIX-OPENSUSE reproducible-doc-build.patch gh#RDFLib/rdflib#2645 -- daniel.garcia@suse.com
|
||||||
Patch1: reproducible-doc-build.patch
|
Patch1: reproducible-doc-build.patch
|
||||||
|
BuildRequires: alts
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
|
||||||
%if %{with libalternatives}
|
|
||||||
BuildRequires: alts
|
|
||||||
Requires: alts
|
Requires: alts
|
||||||
%else
|
BuildArch: noarch
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
%endif
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: %{python_module SPARQLWrapper}
|
BuildRequires: %{python_module SPARQLWrapper}
|
||||||
BuildRequires: %{python_module flake8}
|
BuildRequires: %{python_module flake8}
|
||||||
@@ -133,20 +124,6 @@ popd
|
|||||||
%python_libalternatives_reset_alternative rdf2dot
|
%python_libalternatives_reset_alternative rdf2dot
|
||||||
%python_libalternatives_reset_alternative csv2rdf
|
%python_libalternatives_reset_alternative csv2rdf
|
||||||
|
|
||||||
%post
|
|
||||||
%python_install_alternative rdfs2dot
|
|
||||||
%python_install_alternative rdfpipe
|
|
||||||
%python_install_alternative rdfgraphisomorphism
|
|
||||||
%python_install_alternative rdf2dot
|
|
||||||
%python_install_alternative csv2rdf
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%python_uninstall_alternative rdfs2dot
|
|
||||||
%python_uninstall_alternative rdfpipe
|
|
||||||
%python_uninstall_alternative rdfgraphisomorphism
|
|
||||||
%python_uninstall_alternative rdf2dot
|
|
||||||
%python_uninstall_alternative csv2rdf
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Reference in New Issue
Block a user