diff --git a/python-sphinx_rtd_theme.spec b/python-sphinx_rtd_theme.spec index 207c0a4..5c7e7c0 100644 --- a/python-sphinx_rtd_theme.spec +++ b/python-sphinx_rtd_theme.spec @@ -26,7 +26,7 @@ BuildRequires: font(fontawesome) BuildRequires: font(lato) BuildRequires: font(robotoslab) BuildRequires: make -BuildRequires: python3-devel +BuildRequires: python%{python3_pkgversion}-devel BuildRequires: %{py3_dist docutils} BuildRequires: %{py3_dist readthedocs-sphinx-ext} BuildRequires: %{py3_dist setuptools} @@ -43,13 +43,13 @@ It's currently in development and includes some rtd variable checks that can be ignored if you're just trying to use it on your project outside of that site. -%package -n python3-%{srcname} +%package -n python%{python3_pkgversion}-%{srcname} Summary: Sphinx theme for readthedocs.org Requires: font(fontawesome) Requires: font(lato) Requires: font(robotoslab) -%description -n python3-%{srcname} +%description -n python%{python3_pkgversion}-%{srcname} This is a prototype mobile-friendly sphinx theme for readthedocs.org. It's currently in development and includes some rtd variable checks that can be ignored if you're just trying to use it on your project outside @@ -110,7 +110,7 @@ rm -fr %{buildroot}%{python3_sitelib}/%{srcname}/static/css/fonts pytest %endif -%files -n python3-%{srcname} -f sphinx.lang +%files -n python%{python3_pkgversion}-%{srcname} -f sphinx.lang %doc README.html %license LICENSE %{python3_sitelib}/%{srcname}*