|
|
184ee60 |
%if 0%{?rhel} && 0%{?rhel} <= 6
|
|
|
184ee60 |
%{!?__python2: %global __python2 /usr/bin/python2}
|
|
|
184ee60 |
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
184ee60 |
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
|
|
184ee60 |
%endif
|
|
|
184ee60 |
|
|
|
184ee60 |
%global modname robosignatory
|
|
|
184ee60 |
|
|
|
184ee60 |
Name: python-robosignatory
|
|
|
6b48e17 |
Version: 0.1.1
|
|
|
d1f58a6 |
Release: 4%{?dist}
|
|
|
184ee60 |
Summary: A fedmsg consumer that automatically signs artifacts
|
|
|
184ee60 |
|
|
|
184ee60 |
License: GPLv2+
|
|
|
184ee60 |
URL: https://pagure.io/robosignatory/
|
|
|
184ee60 |
Source0: https://pagure.io/releases/robosignatory/robosignatory-%{version}.tar.gz
|
|
|
82df4e4 |
Patch0: 0001-Add-support-for-kerberos-koji-authentication.patch
|
|
|
184ee60 |
|
|
|
184ee60 |
BuildArch: noarch
|
|
|
184ee60 |
|
|
|
184ee60 |
|
|
|
184ee60 |
BuildRequires: python2-devel
|
|
|
184ee60 |
BuildRequires: python-setuptools
|
|
|
184ee60 |
|
|
|
184ee60 |
BuildRequires: fedmsg
|
|
|
184ee60 |
Requires: fedmsg
|
|
|
184ee60 |
|
|
|
184ee60 |
BuildRequires: koji
|
|
|
184ee60 |
Requires: koji
|
|
|
184ee60 |
Requires: sigul
|
|
|
184ee60 |
|
|
|
184ee60 |
Requires: rpmdevtools
|
|
|
184ee60 |
|
|
|
184ee60 |
|
|
|
184ee60 |
%description
|
|
|
184ee60 |
A fedmsg consumer that automatically signs artifacts.
|
|
|
184ee60 |
|
|
|
184ee60 |
RoboSignatory is composed of multiple consumers:
|
|
|
184ee60 |
- TagConsumer is a consumer that listens for tags into a specific koji tag,
|
|
|
184ee60 |
then signs the build and moves it to a different koji tag.
|
|
|
184ee60 |
|
|
|
184ee60 |
|
|
|
184ee60 |
%prep
|
|
|
184ee60 |
%setup -q -n %{modname}-%{version}
|
|
|
82df4e4 |
%patch0 -p1
|
|
|
184ee60 |
|
|
|
184ee60 |
# Remove bundled egg-info in case it exists
|
|
|
184ee60 |
rm -rf %{modname}.egg-info
|
|
|
184ee60 |
|
|
|
184ee60 |
%build
|
|
|
184ee60 |
%{__python2} setup.py build
|
|
|
184ee60 |
|
|
|
184ee60 |
%install
|
|
|
184ee60 |
%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
|
|
|
184ee60 |
|
|
|
184ee60 |
%files
|
|
|
184ee60 |
%doc README.rst LICENSE
|
|
|
184ee60 |
%{python2_sitelib}/%{modname}/
|
|
|
184ee60 |
%{python2_sitelib}/%{modname}-%{version}*
|
|
|
184ee60 |
%{_bindir}/robosignatory-signbuild
|
|
|
81af8c9 |
%{_bindir}/robosignatory-signtagbuild
|
|
|
8c9e5ee |
%{_bindir}/robosignatory-signatomic
|
|
|
184ee60 |
|
|
|
184ee60 |
%changelog
|
|
|
d1f58a6 |
* Sun Dec 11 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.1-4
|
|
|
d1f58a6 |
- Testing
|
|
|
d1f58a6 |
|
|
|
90bc7c3 |
* Sun Dec 11 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.1-3
|
|
|
90bc7c3 |
- Testing
|
|
|
90bc7c3 |
|
|
|
82df4e4 |
* Sun Dec 11 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.1-2
|
|
|
82df4e4 |
- Add patch to support krb5
|
|
|
82df4e4 |
|
|
|
6b48e17 |
* Mon Oct 31 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.1-1
|
|
|
6b48e17 |
- Release 0.1.1
|
|
|
6b48e17 |
|
|
|
1451eab |
* Mon Oct 31 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.0-1
|
|
|
1451eab |
- Release 0.1.0
|
|
|
1451eab |
|
|
|
c4f1800 |
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.7-1
|
|
|
c4f1800 |
- New upstream 0.0.7
|
|
|
c4f1800 |
|
|
|
824fc64 |
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.6-1
|
|
|
824fc64 |
- Various fixes to 0.0.5
|
|
|
824fc64 |
|
|
|
55e0f7b |
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.5-1
|
|
|
55e0f7b |
- New upstream release
|
|
|
55e0f7b |
|
|
|
e79d68a |
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.4-1
|
|
|
e79d68a |
- New upstream release
|
|
|
e79d68a |
|
|
|
0bea3c6 |
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.3-2
|
|
|
0bea3c6 |
- New 0.0.3 sources
|
|
|
0bea3c6 |
|
|
|
756de95 |
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.3-1
|
|
|
756de95 |
- New upstream release
|
|
|
756de95 |
|
|
|
184ee60 |
* Sun Sep 11 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.2-1
|
|
|
184ee60 |
- New upstream release
|
|
|
184ee60 |
|
|
|
184ee60 |
* Sat Sep 10 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.1-1
|
|
|
184ee60 |
- Initial packaging
|
|
|
184ee60 |
|