Name: flr Version: 0.0.1 Release: 1%{?dist} Summary: Fedora Releng python libraries and command line tools License: GPLv2+ URL: https://pagure.io/%{name} Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.gz BuildArch: noarch %if 0%{?rhel} && 0%{?rhel} <= 7 BuildRequires: python-setuptools %else BuildRequires: python2-setuptools %endif BuildRequires: python2-devel Requires: koji Requires: mash Requires: sigul Requires: python-docker-py Requires: python-click %description This is a library dedicated to making Release Engineering tasks for Fedora as generic and re-usable as possible with the primary goal to make all scripts housed in the Fedora Release Engineering pagure git repo be small simple glue code around calls to functions found within these library modules. There are also a set a small command line utilities that present the functionality of these python APIs for scripting, automation, or sudo privilege delegation. %prep %autosetup %build %py2_build %install %py2_install mkdir -p %{buildroot}%{_bindir} for cmd in flr-docker do install -m 0755 ${cmd} %{buildroot}%{_bindir}/${cmd} done %files %license COPYING %doc README.rst %{python2_sitelib}/%{name}-*.egg-info/ %{python2_sitelib}/%{name}/ %{_bindir}/%{name}* %changelog * Fri Jan 06 2017 Adam Miller - 0.0.1-1 - First package