diff --git a/python-bpython.spec b/python-bpython.spec index de2170f..af50dfb 100644 --- a/python-bpython.spec +++ b/python-bpython.spec @@ -149,6 +149,12 @@ rm %{buildroot}%{_datadir}/applications/org.bpython-interpreter.bpython.desktop %python_alternative %{_bindir}/bpdb %python_alternative %{_mandir}/man1/bpython.1%{ext_man} %python_alternative %{_mandir}/man5/bpython-config.5%{ext_man} +# Needed because bpython-config doesn't have a binary, it's just a man page file. +%if %{with libalternatives} +%dir %{_datadir}/libalternatives/bpython-config +%{_datadir}/libalternatives/bpython-config/*%{python_version_nodots}.conf +%endif + %dir %{_datadir}/metainfo/ %{_datadir}/metainfo/org.bpython-interpreter.bpython-%{python_bin_suffix}.metainfo.xml %dir %{_datadir}/applications/