spec: replace hardcoded python3
Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
This commit is contained in:
parent
d39884a9f6
commit
f416fa7106
@ -26,7 +26,7 @@ BuildRequires: font(fontawesome)
|
|||||||
BuildRequires: font(lato)
|
BuildRequires: font(lato)
|
||||||
BuildRequires: font(robotoslab)
|
BuildRequires: font(robotoslab)
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: %{py3_dist docutils}
|
BuildRequires: %{py3_dist docutils}
|
||||||
BuildRequires: %{py3_dist readthedocs-sphinx-ext}
|
BuildRequires: %{py3_dist readthedocs-sphinx-ext}
|
||||||
BuildRequires: %{py3_dist setuptools}
|
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
|
can be ignored if you're just trying to use it on your project outside
|
||||||
of that site.
|
of that site.
|
||||||
|
|
||||||
%package -n python3-%{srcname}
|
%package -n python%{python3_pkgversion}-%{srcname}
|
||||||
Summary: Sphinx theme for readthedocs.org
|
Summary: Sphinx theme for readthedocs.org
|
||||||
Requires: font(fontawesome)
|
Requires: font(fontawesome)
|
||||||
Requires: font(lato)
|
Requires: font(lato)
|
||||||
Requires: font(robotoslab)
|
Requires: font(robotoslab)
|
||||||
|
|
||||||
%description -n python3-%{srcname}
|
%description -n python%{python3_pkgversion}-%{srcname}
|
||||||
This is a prototype mobile-friendly sphinx theme for readthedocs.org.
|
This is a prototype mobile-friendly sphinx theme for readthedocs.org.
|
||||||
It's currently in development and includes some rtd variable checks that
|
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
|
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
|
pytest
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n python3-%{srcname} -f sphinx.lang
|
%files -n python%{python3_pkgversion}-%{srcname} -f sphinx.lang
|
||||||
%doc README.html
|
%doc README.html
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/%{srcname}*
|
%{python3_sitelib}/%{srcname}*
|
||||||
|
Loading…
Reference in New Issue
Block a user