forked from pool/python-pycparser
- Drop some unneded macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=3
This commit is contained in:
parent
142eedd9a6
commit
388e4c486a
@ -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
|
||||
|
||||
|
@ -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,-)
|
||||
|
Loading…
x
Reference in New Issue
Block a user