%global debug_package %{nil} Name: python3-pyshacl Version: 0.16.2 Release: 2%{?dist} Summary: Python SHACL Validator BuildArch: noarch License: Apache2 URL: https://pypi.org/project/pyshacl Source0: https://files.pythonhosted.org/packages/1b/4e/ece1edb79fcc1cac6bf38a37cbadb34b25b793bfe9f132a055aeb3939a67/pyshacl-0.16.2.tar.gz BuildRequires: python3-devel python3-wheel python3-setuptools python3-rdflib python3-owlrl %description Python SHACL Validator %prep %autosetup -n pyshacl-0.16.2 # hack to build on f35 sed -i 's^rdflib-jsonld>=0.4.0,<0.6^rdflib>=4.0.0^' setup.py sed -i 's^rdflib>=5.0.0,<7^rdflib>=4.0.0^' setup.py %build %{__python3} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %files %{python3_sitelib}/* %{_bindir}/pyshacl %doc README.md %license LICENSE.txt %changelog * Sun Nov 07 2021 Bruno Postle 0.16.2-2 - initial package