fix build failure caused by incorrect %setup and update SOURCE0 to
consists of name and version macro as gbs and hudson expected.
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Group: Development/Libraries
License: MIT
URL: http://pyyaml.org/
-Source0: http://pyyaml.org/download/pyyaml/PyYAML-%{version}.tar.gz
+Source0: %{name}-%{version}.tar.gz
Source1001: packaging/python-yaml.manifest
BuildRequires: python-devel
BuildRequires: python-setuptools
%prep
-%setup -q -n PyYAML-%{version}
+%setup -q
%build