9657f5
%global modname robosignatory
9657f5
#%%global prerelease b1
9657f5
9657f5
Name:               python-robosignatory
0185e4
Version:            0.6.3
2bb8e4
Release:            1%{?prerelease}%{?dist}
2bb8e4
Summary:            A Fedora Messaging consumer that automatically signs artifacts
9657f5
9657f5
License:            GPLv2+
9657f5
URL:                https://pagure.io/robosignatory/
9657f5
Source0:            https://pagure.io/releases/robosignatory/robosignatory-%{version}%{?prerelease}.tar.gz
9657f5
9657f5
BuildArch:          noarch
9657f5
2bb8e4
BuildRequires:      python%{python3_pkgversion}-devel
2bb8e4
BuildRequires:      python%{python3_pkgversion}-setuptools
2bb8e4
BuildRequires:      python%{python3_pkgversion}-fedora-messaging
2bb8e4
BuildRequires:      python%{python3_pkgversion}-psutil
2bb8e4
BuildRequires:      python%{python3_pkgversion}-boto3
2bb8e4
BuildRequires:      python%{python3_pkgversion}-six
2bb8e4
BuildRequires:      python%{python3_pkgversion}-click
2bb8e4
BuildRequires:      python%{python3_pkgversion}-koji
2bb8e4
# Tests
2bb8e4
BuildRequires:      python%{python3_pkgversion}-pytest
2bb8e4
BuildRequires:      python%{python3_pkgversion}-mock
9657f5
9657f5
# https://bodhi.fedoraproject.org/updates/python-robosignatory-0.2.0-1.el7#comment-552652
9657f5
#Requires:           sigul
9657f5
9657f5
9657f5
%global _description\
2bb8e4
A Fedora Messaging consumer that automatically signs artifacts.\
9657f5
\
9657f5
RoboSignatory is composed of multiple consumers:\
2bb8e4
- TagSigner listens for tags into a specific koji tag, then signs the build and\
2bb8e4
  moves it to a different koji tag.\
2bb8e4
- AtomicSigner listens for messages about composed rpmostree trees and signs\
2bb8e4
  those, optionally updating the tag.\
2bb8e4
- CoreOSSigner listens for requests to sign CoreOS artefacts, downloads them\
2bb8e4
  from AWS S3, signs them, and uploads the signature back to S3.\
9657f5
9657f5
9657f5
%description %_description
9657f5
2bb8e4
%package -n python%{python3_pkgversion}-robosignatory
9657f5
Summary: %summary
2bb8e4
Requires:           python%{python3_pkgversion}-fedora-messaging
9657f5
Requires:           koji
9657f5
Requires:           rpmdevtools
2bb8e4
%{?python_provide:%python_provide python%{python3_pkgversion}-robosignatory}
2bb8e4
# This is the default package
2bb8e4
Provides:           robosignatory = %{version}-%{release}
9657f5
2bb8e4
%description -n python%{python3_pkgversion}-robosignatory %_description
9657f5
9657f5
%prep
9657f5
%setup -q -n %{modname}-%{version}%{?prerelease}
9657f5
# Remove bundled egg-info in case it exists
9657f5
rm -rf %{modname}.egg-info
9657f5
9657f5
%build
2bb8e4
%py3_build
9657f5
9657f5
%install
2bb8e4
%py3_install
9657f5
2bb8e4
%check
2bb8e4
%{__python3} -m pytest -v
2bb8e4
2bb8e4
%files -n python%{python3_pkgversion}-robosignatory
9657f5
%doc README.rst LICENSE
2bb8e4
%{python3_sitelib}/%{modname}/
2bb8e4
%{python3_sitelib}/%{modname}-%{version}*
2bb8e4
%{_bindir}/robosignatory
9657f5
9657f5
9657f5
%changelog
0185e4
* Fri Sep 27 2019 Aurelien Bompard <abompard@fedoraproject.org> - 0.6.3-1
0185e4
- Version 0.6.3
0185e4
c67ce2
* Thu Sep 19 2019 Aurelien Bompard <abompard@fedoraproject.org> - 0.6.2-1
c67ce2
- Version 0.6.2
c67ce2
2bb8e4
* Mon Sep 09 2019 Aurelien Bompard <abompard@fedoraproject.org> - 0.6.0-1
2bb8e4
- Version 0.6.0
2bb8e4
9657f5
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-5
9657f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9657f5
9657f5
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-4
9657f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9657f5
9657f5
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
9657f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9657f5
9657f5
* Tue Mar 06 2018 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.5.0-1
9657f5
- Rebase to 0.5.0 final
9657f5
9657f5
* Tue Mar 06 2018 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.5.0-0.0b1
9657f5
- Rebase to beta 1
9657f5
9657f5
* Mon Mar 05 2018 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.5.0-0.0.b0
9657f5
- Rebase to 0.5.0b0
9657f5
9657f5
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.4.2-3
9657f5
- Update Python 2 dependency declarations to new packaging standards
9657f5
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
9657f5
9657f5
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
9657f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9657f5
9657f5
* Fri Sep 15 2017 Patrick Uiterwijk <patrick@puiterwijk.org> - 0.4.2-1
9657f5
- Rebased to upstream 0.4.2
9657f5
9657f5
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4.0-2
9657f5
- Python 2 binary package renamed to python2-robosignatory
9657f5
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
9657f5
9657f5
* Fri Aug 11 2017 Ralph Bean <rbean@redhat.com> - 0.4.0-1
9657f5
- new version
9657f5
9657f5
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.6-2
9657f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9657f5
9657f5
* Mon May 15 2017 Ralph Bean <rbean@redhat.com> - 0.3.6-1
9657f5
- new version
9657f5
9657f5
* Fri May 12 2017 Ralph Bean <rbean@redhat.com> - 0.3.5-1
9657f5
- new version
9657f5
9657f5
* Thu May 11 2017 Ralph Bean <rbean@redhat.com> - 0.3.4-1
9657f5
- new version
9657f5
9657f5
* Wed May 10 2017 Ralph Bean <rbean@redhat.com> - 0.3.3-1
9657f5
- new version
9657f5
9657f5
* Thu May 04 2017 Ralph Bean <rbean@redhat.com> - 0.3.2-1
9657f5
- new version
9657f5
9657f5
* Tue May 02 2017 Ralph Bean <rbean@redhat.com> - 0.3.1-1
9657f5
- new version
9657f5
9657f5
* Mon Apr 24 2017 Ralph Bean <rbean@redhat.com> - 0.3.0-1
9657f5
- new version
9657f5
9657f5
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-3
9657f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9657f5
9657f5
* Sun Jan 29 2017 Ralph Bean <rbean@redhat.com> - 0.2.0-2
9657f5
- Remove Requires on sigul, which is only necessary for one helper plugin.
9657f5
9657f5
* Fri Jan 20 2017 Ralph Bean <rbean@redhat.com> - 0.2.0-1
9657f5
- new version
9657f5
9657f5
* Sun Dec 11 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.1-4
9657f5
- Testing
9657f5
9657f5
* Sun Dec 11 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.1-3
9657f5
- Testing
9657f5
9657f5
* Sun Dec 11 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.1-2
9657f5
- Add patch to support krb5
9657f5
9657f5
* Mon Oct 31 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.1-1
9657f5
- Release 0.1.1
9657f5
9657f5
* Mon Oct 31 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.1.0-1
9657f5
- Release 0.1.0
9657f5
9657f5
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.7-1
9657f5
- New upstream 0.0.7
9657f5
9657f5
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.6-1
9657f5
- Various fixes to 0.0.5
9657f5
9657f5
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.5-1
9657f5
- New upstream release
9657f5
9657f5
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.4-1
9657f5
- New upstream release
9657f5
9657f5
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.3-2
9657f5
- New 0.0.3 sources
9657f5
9657f5
* Mon Oct 17 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.3-1
9657f5
- New upstream release
9657f5
9657f5
* Sun Sep 11 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.2-1
9657f5
- New upstream release
9657f5
9657f5
* Sat Sep 10 2016 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.0.1-1
9657f5
- Initial packaging
9657f5