Update to follow latest Python guidelines

This commit is contained in:
Gregory Hellings 2021-06-14 12:09:43 -05:00
parent fee6086aa9
commit 305cf0bc62
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ Summary: Free Bible Software Project
License: GPLv2
URL: http://www.crosswire.org/sword/
Source0: http://www.crosswire.org/ftpmirror/pub/sword/source/v1.9/sword-%{version}.tar.gz
BuildRequires: make
BuildRequires: make
BuildRequires: cmake
BuildRequires: cmake-data
BuildRequires: openssl-devel
@ -65,6 +65,7 @@ latest at the time of the current library release.
Summary: Python bindings for Sword
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
Requires: python3
%py_provides python3-Sword
%description -n python3-sword
Python bindings for The SWORD Library.
@ -140,9 +141,8 @@ make tests
%{_bindir}/emptyvss
%files -n python3-sword
%{python3_sitearch}/Sword.py
%pycached %{python3_sitearch}/Sword.py
%{python3_sitearch}/_Sword%{python3_ext_suffix}
%{python3_sitearch}/__pycache__/*
%{python3_sitearch}/sword-%{pkg_version}-py%{python3_version}.egg-info
%files -n perl-sword