Hello community, here is the log from the commit of package python-hotdoc for openSUSE:Factory checked in at 2020-11-12 22:37:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hotdoc (Old) and /work/SRC/openSUSE:Factory/.python-hotdoc.new.24930 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hotdoc" Thu Nov 12 22:37:14 2020 rev:3 rq:847050 version:0.12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hotdoc/python-hotdoc.changes 2020-10-27 18:58:18.230715252 +0100 +++ /work/SRC/openSUSE:Factory/.python-hotdoc.new.24930/python-hotdoc.changes 2020-11-12 22:37:42.238036081 +0100 @@ -1,0 +2,7 @@ +Tue Nov 3 15:02:15 UTC 2020 - Benjamin Greiner <[email protected]> + +- Reinclude the cli files under update-alternatives control into + the main package in order to support multiple python3 flavors + gh#openSUSE/python-rpm-macros#66 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hotdoc.spec ++++++ --- /var/tmp/diff_new_pack.p7PTNS/_old 2020-11-12 22:37:42.770036637 +0100 +++ /var/tmp/diff_new_pack.p7PTNS/_new 2020-11-12 22:37:42.774036641 +0100 @@ -42,6 +42,9 @@ BuildRequires: libyaml-devel BuildRequires: llvm-devel BuildRequires: python-rpm-macros +# The hotdoc cli files were provided as separate package between Aug and Nov 2020 +Obsoletes: hotdoc < %{version}-%{release} +Provides: hotdoc = %{version}-%{release} # The c extension needs libclang.so and llvm-config Requires: clang-devel Requires: llvm-devel @@ -68,20 +71,6 @@ gobject-introspection (gir) files, highlighting the syntax of code snippets with prism, etc. -%package -n hotdoc -Summary: A documentation tool micro-framework -Group: Development/Tools/Doc Generators -Requires: python3-hotdoc - -%description -n hotdoc -Hotdoc is a documentation framework. It provides an interface for extensions -to plug upon, along with some base objects (formatters, ...) - -Hotdoc is distributed with a set of extensions that perform various tasks, -such as parsing C and extracting symbols with clang, parsing -gobject-introspection (gir) files, highlighting the syntax of code snippets -with prism, etc. - %prep %setup -q -n hotdoc-%{version} %patch0 -p1 @@ -96,16 +85,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/hotdoc +%python_clone -a %{buildroot}%{_bindir}/hotdoc_dep_printer %python_expand %fdupes %{buildroot}%{$python_sitearch} -%files %{python_files} -%license COPYING -%{python_sitearch}/hotdoc* +%post +%python_install_alternative hotdoc hotdoc_dep_printer + +%postun +%python_uninstall_alternative hotdoc -%files -n hotdoc +%files %{python_files} %license COPYING %doc README.md -%python3_only %{_bindir}/hotdoc -%python3_only %{_bindir}/hotdoc_dep_printer +%{python_sitearch}/hotdoc +%{python_sitearch}/hotdoc-%{version}*-info +%python_alternative %{_bindir}/hotdoc +%python_alternative %{_bindir}/hotdoc_dep_printer %changelog _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
