Hello community, here is the log from the commit of package python3-ply for openSUSE:Factory checked in at 2015-04-27 13:05:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-ply (Old) and /work/SRC/openSUSE:Factory/.python3-ply.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-ply" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-ply/python3-ply.changes 2015-01-23 15:46:47.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-ply.new/python3-ply.changes 2015-04-27 13:05:22.000000000 +0200 @@ -1,0 +2,11 @@ +Mon Apr 27 00:28:11 UTC 2015 - [email protected] + +- specfile: + * removed modname variable + * no README in tar-ball, removed it + +- update to version 3.6: + * long list of changes for 3.5 and 3.6, see + https://github.com/dabeaz/ply/blob/master/CHANGES + +------------------------------------------------------------------- Old: ---- ply-3.4.tar.gz New: ---- ply-3.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-ply.spec ++++++ --- /var/tmp/diff_new_pack.2UkZwV/_old 2015-04-27 13:05:23.000000000 +0200 +++ /var/tmp/diff_new_pack.2UkZwV/_new 2015-04-27 13:05:23.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-ply # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,17 @@ # -%define modname ply -Name: python3-%{modname} -Version: 3.4 +Name: python3-ply +Version: 3.6 Release: 0 Url: http://www.dabeaz.com/ply/ Summary: Python Lex & Yacc License: BSD-3-Clause Group: Development/Languages/Python -Source: http://www.dabeaz.com/%{modname}/%{modname}-%{version}.tar.gz +Source: http://www.dabeaz.com/ply/ply-%{version}.tar.gz Patch0: python-ply-shebangs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: fdupes BuildRequires: python3-2to3 BuildRequires: python3-devel BuildArch: noarch @@ -60,25 +60,29 @@ It is compatible with both Python 2 and Python 3. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n ply-%{version} %patch0 -p1 +# some backup files made it into the tar-ball +find . -type f -name "*~" -exec rm {} \; +find . -type f -name "*.bak" -exec rm {} \; %build export CFLAGS="%{optflags}" python3 setup.py build +chmod a-x test/*py +%fdupes %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -chmod a-x test/* %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc ANNOUNCE CHANGES README TODO -%{python3_sitelib}/%{modname}/ -%{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info +%doc ANNOUNCE CHANGES TODO +%{python3_sitelib}/ply/ +%{python3_sitelib}/ply-%{version}-py%{py3_ver}.egg-info %files doc %defattr(-,root,root,-) ++++++ ply-3.4.tar.gz -> ply-3.6.tar.gz ++++++ ++++ 19890 lines of diff (skipped) ++++++ python-ply-shebangs.patch ++++++ --- /var/tmp/diff_new_pack.2UkZwV/_old 2015-04-27 13:05:23.000000000 +0200 +++ /var/tmp/diff_new_pack.2UkZwV/_new 2015-04-27 13:05:23.000000000 +0200 @@ -1,7 +1,7 @@ Index: ply-3.3/example/yply/yply.py =================================================================== ---- ply-3.3.orig/example/yply/yply.py 2006-11-21 16:09:46.000000000 +0100 -+++ ply-3.3/example/yply/yply.py 2010-09-14 10:43:14.157808186 +0200 +--- ply-3.6.orig/example/yply/yply.py 2006-11-21 16:09:46.000000000 +0100 ++++ ply-3.6/example/yply/yply.py 2010-09-14 10:43:14.157808186 +0200 @@ -1,4 +1,4 @@ -#!/usr/local/bin/python +#!/usr/bin/env python
