commit d86874818e4456e61761b169021ebef9e050adf8
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Thu Feb 17 11:19:07 2022 +0000
Re-enable docs (fixed by upstream)
.gitignore | 1 +
python-pyspotify.spec | 19 +++++++++++++------
sources | 2 +-
3 files changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ae0d6bf..85ce88f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/pyspotify-2.1.2.tar.gz
/pyspotify-2.1.3.tar.gz
+/python-pyspotify-d8d6862.tar.gz
diff --git a/python-pyspotify.spec b/python-pyspotify.spec
index d954e85..9cdc838 100644
--- a/python-pyspotify.spec
+++ b/python-pyspotify.spec
@@ -1,13 +1,16 @@
%global srcname pyspotify
+%global commit0 d8d68626d85868d61229f02d13ce17a725965882
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+
Name: python-%{srcname}
Version: 2.1.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python bindings for libspotify
License: ASL 2.0
URL:
https://pyspotify.mopidy.com/
-Source0: %{pypi_source pyspotify}
+Source0:
https://github.com/jodal/pyspotify/archive/%{commit0}/%{name}-%{shortcomm...
ExclusiveArch: i686 x86_64 armv7hl
@@ -42,7 +45,7 @@ Documentation for pyspotify, the Python bindings for libspotify.
%prep
-%autosetup -n %{srcname}-%{version}
+%autosetup -n %{srcname}-%{commit0}
rm spotify/api.processed.h
# overwriting upstream's manifest as it includes a lot of files we do not want,
# and we need some additional excludes as well
@@ -58,9 +61,10 @@ EOF
invoke3 preprocess-header
%py3_build
-#cd docs
+cd docs
#make SPHINXBUILD=sphinx-build-3 html
-#rm _build/html/.buildinfo
+make html
+rm _build/html/.buildinfo
%install
%py3_install
@@ -75,10 +79,13 @@ invoke3 preprocess-header
%{python3_sitearch}/spotify/
%files doc
-#%%doc docs/_build/html
+%doc docs/_build/html
%changelog
+* Thu Feb 17 2022 Sérgio Basto <sergio(a)serjux.com> - 2.1.3-2
+- Re-enable docs (fixed by upstream)
+
* Wed Feb 16 2022 Sérgio Basto <sergio(a)serjux.com> - 2.1.3-1
- Update python-pyspotify to 2.1.3
- Drop docs (
https://github.com/jodal/pyspotify/issues/211)
diff --git a/sources b/sources
index 52fb3cc..f8a159d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyspotify-2.1.3.tar.gz) =
dcf1683cfca579236bf9ae176f413f35632602f84ec57a377327a87d07516ad2898cfc6494fb840764d135ff39b140e3ab206949570fa88fb2af28c792c97e64
+SHA512 (python-pyspotify-d8d6862.tar.gz) =
555785e41a64d4f4d285ebb7a144909f4dff85b1fd5b8c21e5904e9d019fcbb4bc522cf55fa0bf70fad39d2b66a85b5195a88d56b9e2b64ac9434c593744d699