Hello community, here is the log from the commit of package python-ply for openSUSE:Factory checked in at 2018-08-31 09:51:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ply (Old) and /work/SRC/openSUSE:Factory/.python-ply.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-ply" Fri Aug 31 09:51:46 2018 rev:28 rq:632111 version:3.11 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ply/python-ply.changes 2018-06-05 12:49:11.221824349 +0200 +++ /work/SRC/openSUSE:Factory/.python-ply.new/python-ply.changes 2018-08-31 09:51:47.529584788 +0200 @@ -1,0 +2,6 @@ +Wed Aug 29 09:13:41 UTC 2018 - tchvatal@suse.com + +- Install some license +- Remove devel dependency + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ply.spec ++++++ --- /var/tmp/diff_new_pack.XSW2kP/_old 2018-08-31 09:51:47.913585754 +0200 +++ /var/tmp/diff_new_pack.XSW2kP/_new 2018-08-31 09:51:47.913585754 +0200 @@ -23,10 +23,9 @@ Summary: Python Lex & Yacc License: BSD-3-Clause Group: Development/Languages/Python -Url: http://www.dabeaz.com/ply/ +URL: http://www.dabeaz.com/ply/ Source: https://files.pythonhosted.org/packages/source/p/ply/ply-%{version}.tar.gz Patch0: python-ply-shebangs.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -46,7 +45,7 @@ %package -n %{name}-doc Summary: Python Lex & Yacc -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Languages/Python %description -n %{name}-doc @@ -67,7 +66,7 @@ chmod -x test/testlex.py # Fix wrong-script-interpreter -find example -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env python||" {} \; +find example -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python||" {} \; %fdupes doc %fdupes example @@ -88,12 +87,12 @@ popd %files %{python_files} -%defattr(-,root,root,-) +# yay for upstream that puts the license to readme +%license README.md %doc ANNOUNCE CHANGES README.md TODO %{python_sitelib}/* %files -n %{name}-doc -%defattr(-,root,root,-) %doc doc/ %doc example/