diff options
author | Scott Tsai <scottt.tw@gmail.com> | 2012-12-23 19:26:32 +0800 |
---|---|---|
committer | Scott Tsai <scottt.tw@gmail.com> | 2012-12-23 19:26:32 +0800 |
commit | fa14757f44abd5eb20afd2713c47313cb06da808 (patch) | |
tree | c1024728e8ae399a93962fd4b962d0b917023125 | |
parent | 7bfcae70a2c96edd893c58760b2c0619e6c9d92e (diff) | |
download | python-pycparser-fa14757f44abd5eb20afd2713c47313cb06da808.tar.gz python-pycparser-fa14757f44abd5eb20afd2713c47313cb06da808.tar.xz python-pycparser-fa14757f44abd5eb20afd2713c47313cb06da808.zip |
comment 2
-rw-r--r-- | python-pycparser.spec | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/python-pycparser.spec b/python-pycparser.spec index cb29a93..63a257d 100644 --- a/python-pycparser.spec +++ b/python-pycparser.spec @@ -1,18 +1,17 @@ Name: python-pycparser -Version: 2.07 +Version: 2.08 Release: 1%{?dist} Summary: C parser and AST generator written in Python License: BSD URL: http://code.google.com/p/pycparser/ -Source0: http://pycparser.googlecode.com/files/pycparser-2.07.tar.gz +Source0: http://pycparser.googlecode.com/files/pycparser-%{version}.tar.gz Source1: remove-relative-sys-path BuildArch: noarch # for unit tests BuildRequires: python-ply -BuildRequires: dos2unix Requires: python-ply @@ -26,7 +25,6 @@ need to parse C source code. %setup -q -n pycparser-%{version} # examples -find examples -type f -exec dos2unix '{}' ';' cp %SOURCE1 . ./remove-relative-sys-path examples @@ -34,17 +32,17 @@ cp %SOURCE1 . %{__python} setup.py build %install -%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT +%{__python} setup.py install --skip-build --root %{buildroot} %check %{__python} tests/all_tests.py %files %doc examples -# For noarch packages: sitelib -%{python_sitelib}/* +%{python_sitelib}/pycparser/ +%{python_sitelib}/pycparser-*.egg-info %changelog -* Tue Jun 18 2012 <scottt.tw@gmail.com> Scott Tsai 2.07-1 -- upstream 2.07 +* Tue Jun 18 2012 <scottt.tw@gmail.com> Scott Tsai 2.08-1 +- upstream 2.08 |