Blame python-operator-courier.spec

19bec2a
Name:           python-operator-courier
48950c5
Version:        2.0.2
19bec2a
Release:        1%{?dist}
19bec2a
Summary:        Library and CLI tool to build, verify and push operator metadata
19bec2a
19bec2a
License:        ASL 2.0
19bec2a
URL:            https://pypi.io/project/operator-courier
19bec2a
1beaa88
Source0:        %pypi_source operator-courier
19bec2a
19bec2a
BuildArch:      noarch
19bec2a
19bec2a
# https://fedoraproject.org/wiki/Changes/EnablingPythonGenerators
19bec2a
%?python_enable_dependency_generator
19bec2a
19bec2a
19bec2a
%description
19bec2a
The operator courier library is used to build, validate and
19bec2a
push Operator Artifacts to quay.io application registries.
19bec2a
19bec2a
%package -n python3-operator-courier
19bec2a
Summary:        Library to build, verify and push operator metadata
19bec2a
19bec2a
%{?python_provide:%python_provide python3-operator-courier}
19bec2a
19bec2a
BuildRequires:  python3-devel
19bec2a
BuildRequires:  python3-setuptools
19bec2a
BuildRequires:  python3-requests
19bec2a
BuildRequires:  python3-PyYAML
19bec2a
19bec2a
# These are just for running tests, which will be enabled soon.
19bec2a
BuildRequires:  python3-pytest
19bec2a
BuildRequires:  python3-pytest-runner
19bec2a
19bec2a
19bec2a
%description -n python3-operator-courier
19bec2a
The operator courier library is used to build, validate and
19bec2a
push Operator Artifacts to quay.io application registries.
19bec2a
19bec2a
%prep
19bec2a
%autosetup -p1 -n operator-courier-%{version}
19bec2a
19bec2a
%build
19bec2a
%py3_build
19bec2a
19bec2a
%install
19bec2a
%py3_install
19bec2a
19bec2a
# No tests in the tarball yet.  Soon!
19bec2a
# https://github.com/operator-framework/operator-courier/issues/13
19bec2a
#%check
19bec2a
#PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
19bec2a
19bec2a
%files -n python3-operator-courier
19bec2a
# No license in the tarball yet.  Soon!
19bec2a
# https://github.com/operator-framework/operator-courier/issues/13
19bec2a
#%%license LICENSE
19bec2a
%doc README.md
19bec2a
%{_bindir}/operator-courier
19bec2a
%{python3_sitelib}/*.egg-info
19bec2a
%{python3_sitelib}/operatorcourier/
19bec2a
19bec2a
19bec2a
%changelog
48950c5
* Tue Apr 30 2019 Ralph Bean <rbean@redhat.com> - 2.0.2-1
48950c5
- new version
48950c5
1022b37
* Fri Apr 26 2019 Ralph Bean <rbean@redhat.com> - 2.0.1-1
1022b37
- new version
1022b37
9ab975d
* Mon Apr 01 2019 Ralph Bean <rbean@redhat.com> - 1.3.0-1
9ab975d
- new version
9ab975d
bdcc5af
* Wed Mar 27 2019 Ralph Bean <rbean@redhat.com> - 1.2.1-1
bdcc5af
- new version
bdcc5af
0f31873
* Tue Mar 12 2019 Ralph Bean <rbean@redhat.com> - 1.2.0-1
0f31873
- new version
0f31873
0129885
* Mon Mar 11 2019 Ralph Bean <rbean@redhat.com> - 1.1.0-1
0129885
- new version
0129885
292f163
* Wed Feb 27 2019 Ralph Bean <rbean@redhat.com> - 1.0.2-1
292f163
- new version
292f163
1beaa88
* Fri Feb 15 2019 Ralph Bean <rbean@redhat.com> - 1.0.1-1
1beaa88
- new version
1beaa88
19bec2a
* Mon Feb 11 2019 Ralph Bean <rbean@redhat.com> - 1.0.0-1
19bec2a
- Initial packaging for Fedora.