%define upstream_name vulndb Name: python-%{upstream_name} Version: 0.0.17 Release: 0.1 Summary: Python SDK to access the vulnerability database Group: Development/Python License: BSDv3 URL: https://pypi.python.org/pypi/vulndb Source0: https://pypi.python.org/packages/source/v/vulndb/%{upstream_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools %description Python SDK to access the vulnerability database %prep %setup -q -n %{upstream_name}-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install rm -rf %{buildroot} %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT %files %doc README.rst %{python_sitelib}/%{upstream_name}/ %{python_sitelib}/%{upstream_name}-%{version}-*.egg-info %changelog * Wed Jun 24 2015 Scott R. Shinn - 0.0.17-1 - Initial build