%if 0%{?rhel} && 0%{?rhel} <= 6 %{!?__python2: %global __python2 /usr/bin/python2} %{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif %global modname robosignatory Name: python-robosignatory Version: 0.3.0 Release: 1%{?dist} Summary: A fedmsg consumer that automatically signs artifacts License: GPLv2+ URL: https://pagure.io/robosignatory/ Source0: https://pagure.io/releases/robosignatory/robosignatory-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: fedmsg Requires: fedmsg BuildRequires: koji Requires: koji # https://bodhi.fedoraproject.org/updates/python-robosignatory-0.2.0-1.el7#comment-552652 #Requires: sigul Requires: rpmdevtools %description A fedmsg consumer that automatically signs artifacts. RoboSignatory is composed of multiple consumers: - TagConsumer is a consumer that listens for tags into a specific koji tag, then signs the build and moves it to a different koji tag. %prep %setup -q -n %{modname}-%{version} # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info %build %{__python2} setup.py build %install %{__python2} setup.py install -O1 --skip-build --root=%{buildroot} %files %doc README.rst LICENSE %{python2_sitelib}/%{modname}/ %{python2_sitelib}/%{modname}-%{version}* %{_bindir}/robosignatory-signbuild %{_bindir}/robosignatory-signtagbuild %{_bindir}/robosignatory-signatomic %changelog * Mon Apr 24 2017 Ralph Bean - 0.3.0-1 - new version * Sat Feb 11 2017 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Jan 29 2017 Ralph Bean - 0.2.0-2 - Remove Requires on sigul, which is only necessary for one helper plugin. * Fri Jan 20 2017 Ralph Bean - 0.2.0-1 - new version * Sun Dec 11 2016 Patrick Uiterwijk - 0.1.1-4 - Testing * Sun Dec 11 2016 Patrick Uiterwijk - 0.1.1-3 - Testing * Sun Dec 11 2016 Patrick Uiterwijk - 0.1.1-2 - Add patch to support krb5 * Mon Oct 31 2016 Patrick Uiterwijk - 0.1.1-1 - Release 0.1.1 * Mon Oct 31 2016 Patrick Uiterwijk - 0.1.0-1 - Release 0.1.0 * Mon Oct 17 2016 Patrick Uiterwijk - 0.0.7-1 - New upstream 0.0.7 * Mon Oct 17 2016 Patrick Uiterwijk - 0.0.6-1 - Various fixes to 0.0.5 * Mon Oct 17 2016 Patrick Uiterwijk - 0.0.5-1 - New upstream release * Mon Oct 17 2016 Patrick Uiterwijk - 0.0.4-1 - New upstream release * Mon Oct 17 2016 Patrick Uiterwijk - 0.0.3-2 - New 0.0.3 sources * Mon Oct 17 2016 Patrick Uiterwijk - 0.0.3-1 - New upstream release * Sun Sep 11 2016 Patrick Uiterwijk - 0.0.2-1 - New upstream release * Sat Sep 10 2016 Patrick Uiterwijk - 0.0.1-1 - Initial packaging