Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-tornado5 for openSUSE:Factory
checked in at 2021-08-06 22:44:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tornado5 (Old)
and /work/SRC/openSUSE:Factory/.python-tornado5.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tornado5"
Fri Aug 6 22:44:30 2021 rev:5 rq:910350 version:5.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tornado5/python-tornado5.changes
2020-12-12 20:31:10.285777361 +0100
+++
/work/SRC/openSUSE:Factory/.python-tornado5.new.1899/python-tornado5.changes
2021-08-06 22:44:55.634055017 +0200
@@ -1,0 +2,6 @@
+Thu Aug 5 12:45:46 UTC 2021 - Ben Greiner <[email protected]>
+
+- Dedup and remove exec bits from demos: fix boo#1189066
+- Add python-tornado5-rpmlintrc for empty JS resource in demo
+
+-------------------------------------------------------------------
New:
----
python-tornado5-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tornado5.spec ++++++
--- /var/tmp/diff_new_pack.6dq0Ay/_old 2021-08-06 22:44:56.198054016 +0200
+++ /var/tmp/diff_new_pack.6dq0Ay/_new 2021-08-06 22:44:56.198054016 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-tornado5
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
License: Apache-2.0
URL: http://www.tornadoweb.org
Source:
https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz
+Source99: python-tornado5-rpmlintrc
Patch1: tornado-testsuite_timeout.patch
Patch2: openssl-cert-size.patch
Patch3: skip-failing-tests.patch
@@ -115,9 +116,15 @@
%install
%python_install
-%fdupes demos/
-%python_expand rm -r %{buildroot}%{$python_sitearch}/tornado/test
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%{python_expand #
+rm -r %{buildroot}%{$python_sitearch}/tornado/test
+%fdupes %{buildroot}%{$python_sitearch}
+pdocdir=%{buildroot}%{_docdir}/%{$python_prefix}-tornado5
+mkdir -p ${pdocdir}
+cp -r demos ${pdocdir}/
+find ${pdocdir} -type f -exec chmod a-x '{}' ';'
+%fdupes ${pdocdir}
+}
%check
export ASYNC_TEST_TIMEOUT=30
@@ -134,7 +141,7 @@
%files %{python_files}
%license LICENSE
%doc README.rst
-%doc demos/
+%doc %{_docdir}/%{python_prefix}-tornado5/demos/
%{python_sitearch}/tornado/
%{python_sitearch}/tornado-%{version}-py*.egg-info
++++++ python-tornado5-rpmlintrc ++++++
# keep the empty javascript resource for the demo
addFilter("zero-length .*demos/facebook/static/facebook.js")