Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Genshi for openSUSE:Factory 
checked in at 2023-04-24 22:30:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Genshi (Old)
 and      /work/SRC/openSUSE:Factory/.python-Genshi.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Genshi"

Mon Apr 24 22:30:50 2023 rev:24 rq:1082307 version:0.7.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Genshi/python-Genshi.changes      
2023-04-22 22:03:31.454315489 +0200
+++ /work/SRC/openSUSE:Factory/.python-Genshi.new.1533/python-Genshi.changes    
2023-04-24 22:30:50.939380725 +0200
@@ -1,0 +2,5 @@
+Sun Apr 23 01:39:49 UTC 2023 - Matej Cepl <mc...@suse.com>
+
+- Switch documentation to be within the main package.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Genshi.spec ++++++
--- /var/tmp/diff_new_pack.664NnW/_old  2023-04-24 22:30:51.475383912 +0200
+++ /var/tmp/diff_new_pack.664NnW/_new  2023-04-24 22:30:51.483383959 +0200
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 %{?sle15_python_module_pythons}
 Name:           python-Genshi
@@ -50,6 +49,7 @@
 other textual content for output generation on the web. The major
 feature is a template language, which is heavily inspired by Kid.
 
+%if 0%{?suse_version} > 1500
 %package -n %{name}-doc
 Summary:        A toolkit for generation of output for the web - Documentation
 Group:          Development/Libraries/Python
@@ -63,6 +63,7 @@
 feature is a template language, which is heavily inspired by Kid.
 
 This package contains documentation and examples.
+%endif
 
 %prep
 %autosetup -p1 -n Genshi-%{version}
@@ -76,12 +77,6 @@
 %python_expand find %{buildroot}%{$python_sitearch}/genshi -name '*.c' -delete
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-# install (flavor-agnostic) examples
-mkdir -p %{buildroot}%{_docdir}/%{name}-doc/
-cp -r examples %{buildroot}%{_docdir}/%{name}-doc/
-sed -i '1{s/env python.*/python3/}' 
%{buildroot}%{_docdir}/%{name}-doc/examples/tutorial/geddit/controller.py
-%fdupes %{buildroot}%{_docdir}/%{name}-doc/
-
 %check
 %if %{suse_version} < 1550
 # calling unittest directly fails on Leap
@@ -94,10 +89,11 @@
 %license COPYING
 %doc ChangeLog README.txt
 %{python_sitearch}/genshi/
-%{python_sitearch}/Genshi-%{version}-py%{python_version}.egg-info
-
+%{python_sitearch}/Genshi-%{version}*-info
+%if 0%{?suse_version} > 1500
 %files -n %{name}-doc
 %doc doc
-%doc %{_docdir}/%{name}-doc/examples
+%endif
+%doc examples
 
 %changelog

Reply via email to