#3 spec: replace hardcoded python3
Merged a year ago by jjames. Opened 2 years ago by fepitre.
rpms/ fepitre/python-sphinx_rtd_theme python3  into  master

file modified
+4 -4
@@ -26,7 +26,7 @@ 

  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 @@ 

  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 @@ 

  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}*

Signed-off-by: Frédéric Pierret (fepitre) frederic.pierret@qubes-os.org

It's for building it for CentOS 8 with python38 version. I intend to build a COPR repo with more python38 packages than the few ones provided. Preliminary repo is here: https://copr.fedorainfracloud.org/coprs/fepitre/epel-8-python38/.

Note that there is an update PR pending here and I'd rather rebase this one than the update one. So consider this on hold.

Sure no problem. If needed, I could rebase if any conflict appear after your pending PR. Thank you again for your rapidity.

Sorry for the delay on this. If you could please rebase now, we'll get this merged.

rebased onto f416fa7

a year ago

@jjames No problem. I've rebased.

Pull-Request has been merged by jjames

a year ago