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