spec: replace hardcoded python3

Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
epel9
Frédéric Pierret (fepitre) 5 years ago
parent 2f2d605770
commit b2f6791430
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

@ -34,16 +34,16 @@ Summary: Documentation for python-%{pypi_name}
Documentation package. Documentation package.
%package -n python3-%{pypi_name} %package -n python%{python3_pkgversion}-%{pypi_name}
BuildRequires: python3-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python3-future BuildRequires: python%{python3_pkgversion}-future
BuildRequires: python3-hypothesis BuildRequires: python%{python3_pkgversion}-hypothesis
Requires: python3-future Requires: python%{python3_pkgversion}-future
Suggests: python-CommonMark-doc Suggests: python-CommonMark-doc
Summary: %{summary} Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
%description -n python3-%{pypi_name} %description -n python%{python3_pkgversion}-%{pypi_name}
%{desc} %{desc}
@ -68,7 +68,7 @@ export PYTHONIOENCODING=UTF-8
PYTHONPATH=$(pwd) %{__python3} setup.py test PYTHONPATH=$(pwd) %{__python3} setup.py test
%files -n python3-%{pypi_name} %files -n python%{python3_pkgversion}-%{pypi_name}
%license LICENSE %license LICENSE
%{_bindir}/cmark %{_bindir}/cmark
%{python3_sitelib}/commonmark-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/commonmark-%{version}-py%{python3_version}.egg-info

Loading…
Cancel
Save