Hello community,

here is the log from the commit of package python-pycparser for 
openSUSE:Factory checked in at 2016-01-23 01:15:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycparser (Old)
 and      /work/SRC/openSUSE:Factory/.python-pycparser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pycparser"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycparser/python-pycparser.changes        
2015-05-18 22:57:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycparser.new/python-pycparser.changes   
2016-01-23 01:15:49.000000000 +0100
@@ -1,0 +2,31 @@
+Sat Jan 16 14:31:31 UTC 2016 - p.drou...@gmail.com
+
+- Add python-pycparser-rpmlintrc to sources
+
+-------------------------------------------------------------------
+Thu Jan  7 20:52:41 UTC 2016 - mvysko...@opensuse.org
+
+- Tag added patch better
+
+-------------------------------------------------------------------
+Mon Nov 30 12:56:14 UTC 2015 - mvysko...@opensuse.org
+
+- Update to version 2.14
+  * Added CParser parameter to specify output directory for generated parsing
+    tables (#84).
+  * Removed lcc's cpp and its license from the distribution. Using lcc's cpp
+    is no longer recommended, now that Clang has binary builds available for
+    Windows.
+  2.13:
+  * Added support for offsetof() the way gcc implements it (special builtin
+    that takes a type as an argument).
+  * Added faked va_* macros (these are expected to come from stdarg.h)
+  * Added a bunch more fake headers and typedefs to support parsing C projects
+    like Git and SQLite without modifications to pycparser.
+  * Added support for empty initializer lists (#79).
+- Package fake_libc_include
+  * switch to github release as pypi tarball don't contains all files
+- Add 0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch
+  * upstream patch enhancing the fake_libc_include
+
+-------------------------------------------------------------------

Old:
----
  pycparser-2.12.tar.gz

New:
----
  0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch
  python-pycparser-rpmlintrc
  release_v2.14.tar.gz

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

Other differences:
------------------
++++++ python-pycparser.spec ++++++
--- /var/tmp/diff_new_pack.73wN9V/_old  2016-01-23 01:15:50.000000000 +0100
+++ /var/tmp/diff_new_pack.73wN9V/_new  2016-01-23 01:15:50.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycparser
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,13 +17,17 @@
 
 
 Name:           python-pycparser
-Version:        2.12
+Version:        2.14
 Release:        0
 Summary:        C parser in Python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            https://github.com/eliben/pycparser
-Source:         
http://pypi.python.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
+Source0:        
https://github.com/eliben/pycparser/archive/release_v%{version}.tar.gz
+Source99:       %{name}-rpmlintrc
+#PATCH-FIX-UPSTREAM
+Patch0:         0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch
+BuildRequires:  fdupes
 BuildRequires:  python-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -38,7 +42,8 @@
 front-end for C compilers or analysis tools.
 
 %prep
-%setup -q -n pycparser-%{version}
+%setup -q -n pycparser-release_v%{version}
+%patch0 -p1
 # fix end of line
 sed -i 's/\r//' LICENSE
 
@@ -47,6 +52,9 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+mkdir -p %{buildroot}/%{_datadir}/%{name}
+cp -r utils/fake_libc_include/ %{buildroot}/%{_datadir}/%{name}
+%fdupes -s %{buildroot}/%{_datadir}/%{name}/fake_libc_include/
 
 %check
 python tests/all_tests.py
@@ -55,5 +63,6 @@
 %defattr(-,root,root,-)
 %doc LICENSE README.rst examples
 %{python_sitelib}/*
+%{_datadir}/%{name}
 
 %changelog

++++++ 0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch ++++++
commit 2acb22c5606cf151ea31859bd5c3810fc0630150
Author: Dubslow <buns...@gmail.com>
Date:   Thu Sep 10 18:02:30 2015 -0500

    Add missing typedef sa_family_t from sys/socket.h

diff --git a/utils/fake_libc_include/_fake_typedefs.h 
b/utils/fake_libc_include/_fake_typedefs.h
index 6201cf7..8c8d463 100644
--- a/utils/fake_libc_include/_fake_typedefs.h
+++ b/utils/fake_libc_include/_fake_typedefs.h
@@ -95,6 +95,7 @@ typedef int pthread_barrier_t;
 typedef int pthread_barrierattr_t;
 typedef int jmp_buf;
 typedef int rlim_t;
+typedef int sa_family_t;
 typedef int sigjmp_buf;
 typedef int stack_t;
 typedef int siginfo_t;
++++++ python-pycparser-rpmlintrc ++++++
# Fake libraries for pycparser allowing it to pretend it can parse libc 
definitions
addFilter(".*devel-file-in-non-devel-package.*/usr/share/python-pycparser/fake_libc_include/")

Reply via email to