Name: python-pycparser Version: 2.19 Release: 1mamba Summary: A parser for the C language, written in pure Python Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.python.org/pypi/pycparser Source: https://pypi.debian.net/pycparser/pycparser-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN ## note: run 'autospec -u -a6 python-pycparser' to get the list of build requirements. ## AUTOBUILDREQ-END BuildRequires: libpython-devel Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. %if "%{?with_pyver}" %pyver_package %endif %prep %setup -q -n pycparser-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist #sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist # Fix permmissions of egg-info files chmod +r %{buildroot}%{python_sitearch}/pycparser-%{version}-*/* %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %doc LICENSE %changelog * Wed Sep 26 2018 Automatic Build System 2.19-1mamba - automatic version update by autodist * Tue Aug 08 2017 Automatic Build System 2.18-1mamba - automatic version update by autodist * Sun Oct 30 2016 Automatic Build System 2.17-1mamba - automatic version update by autodist * Fri Oct 28 2016 Silvan Calarco 2.16-2mamba - fixed permissions of egg-info files * Tue Oct 25 2016 Automatic Build System 2.16-1mamba - automatic version update by autodist * Tue Jun 23 2015 Silvan Calarco 2.14-1mamba - package created using the webbuild interface