Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Twisted for openSUSE:Factory checked in at 2023-05-26 20:15:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Twisted (Old) and /work/SRC/openSUSE:Factory/.python-Twisted.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Twisted" Fri May 26 20:15:24 2023 rev:62 rq:1089049 version:22.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Twisted/python-Twisted.changes 2023-04-22 22:03:18.690239177 +0200 +++ /work/SRC/openSUSE:Factory/.python-Twisted.new.1533/python-Twisted.changes 2023-05-26 20:15:37.032314064 +0200 @@ -1,0 +2,5 @@ +Sun Apr 23 23:34:51 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Switch documentation to be within the main package. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Twisted.spec ++++++ --- /var/tmp/diff_new_pack.bl0v6K/_old 2023-05-26 20:15:37.504316878 +0200 +++ /var/tmp/diff_new_pack.bl0v6K/_new 2023-05-26 20:15:37.508316901 +0200 @@ -84,6 +84,7 @@ An extensible framework for Python programming, with special focus on event-based network programming and multiprotocol integration. +%if 0%{?suse_version} > 1500 %package -n %{name}-doc Summary: An asynchronous networking framework written in Python - Documentation @@ -92,6 +93,7 @@ on event-based network programming and multiprotocol integration. This package contains the documentation for python-Twisted +%endif %package tls Summary: TLS support for Twisted @@ -186,6 +188,10 @@ %if ! %{with test} %build %python_build + +# empty files +rm docs/{fun/Twisted.Quotes,_static/.placeholder,_templates/.placeholder} +%fdupes docs %endif %if ! %{with test} @@ -209,12 +215,6 @@ # no manpage for twist yet: %python_clone -a %{buildroot}%{_bindir}/twist - -mkdir -p %{buildroot}%{_docdir}/%{name}-doc -cp -r docs/* %{buildroot}%{_docdir}/%{name}-doc/ -# empty files -rm %{buildroot}%{_docdir}/%{name}-doc/{fun/Twisted.Quotes,_static/.placeholder,_templates/.placeholder} -%fdupes %{buildroot}%{_docdir}/%{name}-doc %endif %if %{with test} @@ -250,9 +250,6 @@ %python_uninstall_alternative twistd %if ! %{with test} -%files -n %{name}-doc -%doc %{_docdir}/%{name}-doc - %files %{python_files tls} %license LICENSE @@ -294,6 +291,12 @@ %python_alternative %{_mandir}/man1/trial.1%{?ext_man} %{python_sitelib}/twisted %{python_sitelib}/Twisted-%{version}*-info + +%if 0%{?suse_version} > 1500 +%files -n %{name}-doc +%endif +%doc docs/ + %endif %changelog