Name: fegistry Version: 0.0.0 Release: 1%{?dist} BuildArch: noarch License: GPLv3+ Summary: The Fedora registry endpoint URL: https://pagure.io/fegistry Source0: https://releases.pagure.org/fegistry/fegistry-%{version}.tar.gz Patch0: 0001-Explicitly-use-sphinx-build-3-when-building-docs.patch BuildRequires: python3-devel BuildRequires: python3-flake8 BuildRequires: python3-flask BuildRequires: python3-nose BuildRequires: python3-nose-cov BuildRequires: python3-sphinx %description Fegistry is the container registry endpoint for Fedora's users. It will answer the initial requests when users docker pull Fedora containers. %package -n python3-fegistry Summary: Python library for fegistry %{?python_provide:%python_provide python3-fegistry} Requires: python3-flask %description -n python3-fegistry This sub-package contains the Python library for fegistry. %prep %setup -n fegistry-%{version} %patch0 -p1 %build %py3_build PYTHONPATH="$(pwd):$PYTHONPATH" make %{?_smp_mflags} -C docs/ html # We don't need this file rm docs/_build/html/objects.inv %check python3 setup.py nosetests %install %py3_install %files -n python3-fegistry %license COPYING %doc docs/_build/html/* %doc README.md %{python3_sitelib}/fegistry %{python3_sitelib}/fegistry-%{version}-py%{python3_version}.egg-info %changelog * Mon Jan 09 2017 Randy Barlow - 0.0.0-1 - Initial release.