Update to latest upstream.
This commit is contained in:
parent
51a5642588
commit
ff308dee88
7 changed files with 48 additions and 90 deletions
|
|
@ -1,4 +1,4 @@
|
|||
%if 0%{?fedora} > 12 || 0%{?rhel} > 6
|
||||
%if 0%{?fedora} > 12
|
||||
%global with_python3 1
|
||||
%else
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
|
||||
|
|
@ -6,23 +6,15 @@
|
|||
|
||||
Name: python-pycparser
|
||||
Summary: C parser and AST generator written in Python
|
||||
Version: 2.09.1
|
||||
Release: 9%{?dist}
|
||||
Version: 2.10
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
Group: System Environment/Libraries
|
||||
URL: http://github.com/eliben/pycparser
|
||||
Source0: http://github.com/eliben/pycparser/archive/release_v%{version}.tar.gz
|
||||
Source1: pycparser-0.91.1-remove-relative-sys-path.py
|
||||
|
||||
Patch0: pycparser-0.91.1-unittests-sys-path.patch
|
||||
# Submitted as upstream issue #11:
|
||||
# https://github.com/eliben/pycparser/issues/11
|
||||
|
||||
Patch1: pycparser-0.91.1-tables-sys-path.patch
|
||||
# Submitted as upstream issue #12:
|
||||
# https://github.com/eliben/pycparser/issues/12
|
||||
|
||||
Patch100: pycparser-0.91.1-disable-embedded-ply.patch
|
||||
Patch100: pycparser-2.10-ply.patch
|
||||
# This is Fedora-specific; I don't think we should request upstream to
|
||||
# remove embedded libraries from their distribuution, when we can remove
|
||||
# them during packaging.
|
||||
|
|
@ -62,9 +54,7 @@ need to parse C source code.
|
|||
|
||||
%prep
|
||||
%setup -q -n pycparser-release_v%{version}
|
||||
%patch0 -p1 -b .unittests-sys-path
|
||||
%patch1 -p1 -b .tables-sys-path
|
||||
%patch100 -p1 -b .orig
|
||||
%patch100 -p1 -b .ply
|
||||
|
||||
# remove embedded copy of ply
|
||||
rm -rf pycparser/ply
|
||||
|
|
@ -124,6 +114,9 @@ popd
|
|||
%endif # with_python3
|
||||
|
||||
%changelog
|
||||
* Wed Aug 20 2014 Eric Smith <brouhaha@fedoraproject.org> 2.10-1
|
||||
- Update to latest upstream.
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.09.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue