14
0

Accepting request 637730 from home:TheBlackCat:branches:devel:languages:python

- Update to 2.19
  - PR #277: Fix parsing of floating point literals
  - PR #254: Add support for parsing empty structs
  - PR #240: Fix enum formatting in generated C code (also #216)
  - PR #222: Add support for #pragma in struct declarations
- Rebase fix-lexer-build.patch

OBS-URL: https://build.opensuse.org/request/show/637730
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=20
This commit is contained in:
Todd R
2018-09-24 16:34:31 +00:00
committed by Git OBS Bridge
parent 5442a183b9
commit f289a00ad2
5 changed files with 24 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycparser
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pycparser
Version: 2.18
Version: 2.19
Release: 0
Summary: C parser in Python
License: BSD-3-Clause
@@ -30,7 +30,6 @@ Patch1: fix-lexer-build.patch
BuildRequires: %{python_module devel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -57,8 +56,9 @@ sed -i 's/\r//' LICENSE
%python_exec tests/all_tests.py
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst examples
%doc README.rst
%doc examples/
%license LICENSE
%{python_sitelib}/*
%changelog