Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-tornado6 for openSUSE:Factory 
checked in at 2021-08-06 22:44:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tornado6 (Old)
 and      /work/SRC/openSUSE:Factory/.python-tornado6.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tornado6"

Fri Aug  6 22:44:31 2021 rev:7 rq:910351 version:6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tornado6/python-tornado6.changes  
2021-02-15 23:10:19.602860487 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-tornado6.new.1899/python-tornado6.changes    
    2021-08-06 22:44:56.366053718 +0200
@@ -1,0 +2,6 @@
+Thu Aug  5 12:51:05 UTC 2021 - Ben Greiner <[email protected]>
+
+- Remove exec bits from demos: fix boo#1189066
+- Add python-tornado6-rpmlintrc for empty JS resource in demo
+
+-------------------------------------------------------------------

New:
----
  python-tornado6-rpmlintrc

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

Other differences:
------------------
++++++ python-tornado6.spec ++++++
--- /var/tmp/diff_new_pack.YQUcRJ/_old  2021-08-06 22:44:56.826052902 +0200
+++ /var/tmp/diff_new_pack.YQUcRJ/_new  2021-08-06 22:44:56.830052895 +0200
@@ -25,6 +25,7 @@
 License:        Apache-2.0
 URL:            https://www.tornadoweb.org
 Source:         
https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz
+Source99:       python-tornado6-rpmlintrc
 # PATCH-FIX-OPENSUSE ignore-resourcewarning-doctests.patch -- ignore resource 
warnings on OBS
 Patch0:         ignore-resourcewarning-doctests.patch
 BuildRequires:  %{python_module base >= 3.5}
@@ -84,10 +85,12 @@
 # deduplicate files in python platlibdir
 %fdupes %{buildroot}%{$python_sitearch}
 # install demos into docdir and deduplicate
-mkdir -p %{buildroot}%{_docdir}/$python-tornado6/
-cp -r demos %{buildroot}%{_docdir}/$python-tornado6/
-find %{buildroot}%{_docdir}/$python-tornado6 -name "*.py" -exec sed -i 
"1{s|^#!.*$|%{_bindir}/$python|}" {} \;
-%fdupes %{buildroot}%{_docdir}/$python-tornado6
+pdocdir=%{buildroot}%{_docdir}/$python-tornado6
+mkdir -p ${pdocdir}
+cp -r demos ${pdocdir}/
+find ${pdocdir} -name "*.py" -exec sed -i "1{s|^#!.*$|%{_bindir}/$python|}" {} 
\;
+find ${pdocdir} -type f -exec chmod a-x {} \;
+%fdupes ${pdocdir}
 }
 
 %check

++++++ python-tornado6-rpmlintrc ++++++
# keep the empty javascript resource for the demo
addFilter("zero-length .*demos/facebook/static/facebook.js")

Reply via email to