|
|
c420699 |
Name: container-workflow-tool
|
|
|
897b9a1 |
Version: 1.2.0
|
|
|
bab6f0c |
Release: 9%{?dist}
|
|
|
c420699 |
Summary: Tool for automation of rebuilding container images
|
|
|
c420699 |
License: MIT
|
|
|
c420699 |
URL: https://github.com/sclorg/%{name}
|
|
|
c420699 |
Source0: https://github.com/sclorg/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
c420699 |
|
|
|
c420699 |
BuildArch: noarch
|
|
|
c420699 |
|
|
|
c420699 |
Requires: fedpkg
|
|
|
c420699 |
|
|
|
c420699 |
BuildRequires: pyproject-rpm-macros
|
|
|
c420699 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
c420699 |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
c420699 |
BuildRequires: python%{python3_pkgversion}-flexmock
|
|
|
c420699 |
|
|
|
c420699 |
%py_provides python%{python3_pkgversion}-%{name}
|
|
|
c420699 |
|
|
|
c420699 |
|
|
|
c420699 |
%description
|
|
|
c420699 |
A python3 tool to make rebuilding container images easier by automating several
|
|
|
c420699 |
steps of the process.
|
|
|
c420699 |
|
|
|
c420699 |
%prep
|
|
|
c420699 |
%autosetup -n %{name}-%{version}
|
|
|
c420699 |
|
|
|
c420699 |
%generate_buildrequires
|
|
|
c420699 |
%pyproject_buildrequires -r
|
|
|
c420699 |
|
|
|
c420699 |
%build
|
|
|
c420699 |
%pyproject_wheel
|
|
|
c420699 |
|
|
|
c420699 |
|
|
|
c420699 |
%install
|
|
|
c420699 |
%pyproject_install
|
|
|
c420699 |
%pyproject_save_files container_workflow_tool
|
|
|
c420699 |
|
|
|
c420699 |
# install man pages manually
|
|
|
c420699 |
install -Dpm0644 -t %{buildroot}%{_mandir}/man1 man/cwt.1
|
|
|
c420699 |
|
|
|
c420699 |
%check
|
|
|
c420699 |
PYTHONPATH=%{buildroot}%{python3_sitelib} %{buildroot}%{_bindir}/cwt --help
|
|
|
c420699 |
%py3_check_import container_workflow_tool
|
|
|
c420699 |
%pytest -m "not distgit"
|
|
|
c420699 |
|
|
|
c420699 |
|
|
|
c420699 |
%files -f %{pyproject_files}
|
|
|
c420699 |
%doc README.md
|
|
|
c420699 |
%{_bindir}/cwt
|
|
|
c420699 |
%{_mandir}/man1/cwt.1*
|
|
|
c420699 |
|
|
|
c420699 |
|
|
|
c420699 |
%changelog
|
|
|
bab6f0c |
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-9
|
|
|
bab6f0c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
bab6f0c |
|
|
|
591f33d |
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8
|
|
|
591f33d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
591f33d |
|
|
|
72ed26b |
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-7
|
|
|
72ed26b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
72ed26b |
|
|
|
cc8ef35 |
* Wed Jun 28 2023 Python Maint <python-maint@redhat.com> - 1.2.0-6
|
|
|
cc8ef35 |
- Rebuilt for Python 3.12
|
|
|
cc8ef35 |
|
|
|
2a79768 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
|
|
|
2a79768 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
2a79768 |
|
|
|
be4cb76 |
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
|
|
be4cb76 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
be4cb76 |
|
|
|
d25980d |
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 1.2.0-3
|
|
|
d25980d |
- Rebuilt for Python 3.11
|
|
|
d25980d |
|
|
|
2cbc9d8 |
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
2cbc9d8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
2cbc9d8 |
|
|
|
897b9a1 |
* Fri Dec 17 2021 Zuzana Miklankova <zmiklank@redhat.com> - 1.2.0-1
|
|
|
897b9a1 |
- Rebase on 1.2.0
|
|
|
897b9a1 |
|
|
|
897b9a1 |
* Wed Sep 29 2021 Zuzana Miklankova <zmiklank@redhat.com> - 1.1.0-1
|
|
|
c420699 |
- Initial package
|