License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/P/PyYAML/PyYAML-%{version}.tar.gz
+Source1001: python-PyYAML.manifest
BuildRequires: python-devel
BuildRequires: python-nose
Provides: python-yaml = %{version}
%prep
%setup -q -n PyYAML-%{version}
+cp %{SOURCE1001} .
%build
CFLAGS="%{optflags}" python setup.py build
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
+%manifest %{name}.manifest
%defattr(-,root,root,-)
%doc LICENSE
%{python_sitearch}/*