From a05a5d17dbe3c6c282d39642aa6cdfd80d1714081e7296687ebafbff0a013395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 10 Jan 2019 18:56:38 +0000 Subject: [PATCH] Accepting request 664442 from home:jbrownell:branches:devel:languages:python - Restrict pattern matching to real files (not symlinks) during packaging of fake_libc_include to avoid build errors on Red Hat platforms. * fix-lexer-build.patch OBS-URL: https://build.opensuse.org/request/show/664442 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=25 --- fix-lexer-build.patch | 2 +- python-pycparser.changes | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/fix-lexer-build.patch b/fix-lexer-build.patch index 13a528d..90ea5a7 100644 --- a/fix-lexer-build.patch +++ b/fix-lexer-build.patch @@ -38,6 +38,6 @@ Index: pycparser-release_v2.14/setup.py - package_data={'pycparser': ['*.cfg']}, - cmdclass={'install': install, 'sdist': sdist}, + packages=['pycparser', 'pycparser.ply', 'utils.fake_libc_include'], -+ package_data={'pycparser': ['*.cfg'], 'utils.fake_libc_include': ['*']}, ++ package_data={'pycparser': ['*.cfg'], 'utils.fake_libc_include': ['*.h', 'xcb/*']}, + cmdclass={'build': build, 'sdist': sdist}, ) diff --git a/python-pycparser.changes b/python-pycparser.changes index 475003b..8ffe84c 100644 --- a/python-pycparser.changes +++ b/python-pycparser.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 9 21:51:00 UTC 2019 - Jonathan Brownell + +- Restrict pattern matching to real files (not symlinks) during packaging + of fake_libc_include to avoid build errors on Red Hat platforms. + * fix-lexer-build.patch + ------------------------------------------------------------------- Tue Dec 4 12:51:59 UTC 2018 - Matej Cepl