Sascha Peilicke 2013-03-19 12:48:59 +00:00 committed by Git OBS Bridge
parent 142eedd9a6
commit 388e4c486a
2 changed files with 5 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 19 12:51:18 UTC 2013 - speilicke@suse.com
- Drop some unneded macros
-------------------------------------------------------------------
Wed Feb 27 15:22:33 UTC 2013 - p.drouand@gmail.com

View File

@ -25,11 +25,6 @@ Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
BuildRequires: python3-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python3_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
pycparser is a complete parser of the C language, written in pure Python using
@ -45,10 +40,8 @@ python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%if 0%{?suse_version} >= 1220
%check
python3 tests/all_tests.py
%endif
%files
%defattr(-,root,root,-)