2883738
%global pypi_name colin
2883738
2883738
%{?python_enable_dependency_generator}
2883738
2883738
%if 0%{?rhel} && 0%{?rhel} <= 7
2883738
%bcond_with python3
2883738
%else
2883738
%bcond_without python3
2883738
%endif
2883738
2883738
Name:           %{pypi_name}
Packit Service c8bb14a
Version:        0.5.3
Packit Service c8bb14a
Release:        1%{?dist}
2883738
Summary:        Tool to check generic rules/best-practices for containers/images/dockerfiles.
2883738
2883738
License:        GPLv3+
2883738
URL:            https://github.com/user-cont/colin
2883738
Source0:        https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
8bd4720
2883738
BuildArch:      noarch
2883738
Requires:       python3-%{pypi_name}
2883738
2883738
%description
2883738
`colin` is a tool to check generic rules/best-practices
2883738
for containers/images/dockerfiles
2883738
2883738
%package -n     python3-%{pypi_name}
2883738
Summary:        %{summary}
2883738
%{?python_provide:%python_provide python3-%{pypi_name}}
2883738
BuildRequires:  python3-devel
2883738
BuildRequires:  python3-setuptools
130691c
Recommends:     moby-engine
2883738
2883738
%description -n python3-%{pypi_name}
2883738
`colin` as a tool to check generic rules/best-practices
2883738
for containers/images/dockerfiles
2883738
2883738
%package doc
2883738
BuildRequires:  python3-sphinx
694ad09
BuildRequires:  python3-sphinx_rtd_theme
2883738
Summary:        colin documentation
2883738
2883738
%description doc
2883738
Documentation for colin
2883738
2883738
%prep
Packit Service 741d61f
%autosetup -n %{pypi_name}-%{version}
2883738
# Remove bundled egg-info
2883738
rm -rf %{pypi_name}.egg-info
2883738
2883738
%build
2883738
%py3_build
2883738
2883738
# generate html docs
2883738
PYTHONPATH="${PWD}:${PWD}/docs/" sphinx-build docs html
2883738
# remove the sphinx-build leftovers
2883738
rm -rf html/.{doctrees,buildinfo}
2883738
2883738
%install
2883738
%py3_install
2883738
2883738
%files
2883738
%license LICENSE
2883738
%{_bindir}/%{pypi_name}
2883738
%{_datadir}/bash-completion/completions/%{pypi_name}
2883738
2883738
%files -n python3-%{pypi_name}
2883738
%license LICENSE
2883738
%doc README.md
2883738
%{python3_sitelib}/%{pypi_name}/
2883738
%{python3_sitelib}/%{pypi_name}-*.egg-info/
2883738
%{_datadir}/%{pypi_name}/
2883738
%exclude %{python3_sitelib}/tests
2883738
2883738
%files doc
2883738
%license LICENSE
2883738
%doc html
2883738
2883738
%changelog
Packit Service c8bb14a
* Mon Mar 14 2022 Packit Service <user-cont-team+packit-service@redhat.com> - 0.5.3-1
Packit Service c8bb14a
## Fixes
Packit Service c8bb14a
Packit Service c8bb14a
- Add additional global location of rulesets for default installation from PyPI
Packit Service c8bb14a
Packit Service c8bb14a
## Minor
Packit Service c8bb14a
Packit Service c8bb14a
- Run tests in upstream on the Testing Farm via Packit
Packit Service c8bb14a
- Few code-style changes suggested by Sourcery
Packit Service c8bb14a
6cd174d
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
6cd174d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
6cd174d
Packit Service 0430761
* Thu Jan 13 2022 Packit Service <user-cont-team+packit-service@redhat.com> - 0.5.2-1
Packit Service 0430761
## Fixes
Packit Service 0430761
Packit Service 0430761
- The global location of rulesests is now correctly found.
Packit Service 0430761
76017a1
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
76017a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
76017a1
1fd9e17
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5.0-2
1fd9e17
- Rebuilt for Python 3.10
1fd9e17
Packit Service 741d61f
* Fri Mar 12 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.5.0-1
Packit Service 741d61f
- Prepare release 0.5.0 (Frantisek Lachman)
Packit Service 741d61f
- Add workflow for uploading release to PyPI (Frantisek Lachman)
Packit Service 741d61f
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
Packit Service 741d61f
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
Packit Service 741d61f
- Remove support for ostree format (Lukas Slebodnik)
Packit Service 741d61f
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
Packit Service 741d61f
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
Packit Service 741d61f
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
Packit Service 741d61f
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
Packit Service 741d61f
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
Packit Service 741d61f
- Remove unused argument 'fg' (Lukas Slebodnik)
Packit Service 741d61f
- Drop unused test test_colin_image (Lukas Slebodnik)
Packit Service 741d61f
- Add rebase check to pre-commit as pre-push hook (Matej Focko)
Packit Service 741d61f
- [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot])
Packit Service 741d61f
- Replace old string formating with fstring where flynt can't (Frantisek Lachman)
Packit Service 741d61f
- Do not template strings when logging (Frantisek Lachman)
Packit Service 741d61f
- Use flynt to change old formating to the new one (Frantisek Lachman)
Packit Service 741d61f
- Turn of rebase-check for now (Frantisek Lachman)
Packit Service 741d61f
- Fix mypy problems (Frantisek Lachman)
Packit Service 741d61f
- Fix flake8 problems (Frantisek Lachman)
Packit Service 741d61f
- Reformat using pre-commit (Frantisek Lachman)
Packit Service 741d61f
- Add pre-commit config (Frantisek Lachman)
Packit Service 741d61f
- Use docker.io for iamge tests before dropping support for ostree (Lukas Slebodnik)
Packit Service 741d61f
- Add the umoci utility for unit tests (Lukas Slebodnik)
Packit Service 741d61f
- Add tests for oci support (Lukas Slebodnik)
Packit Service 741d61f
- Add support for for scanning images in OCI format (Lukas Slebodnik)
Packit Service 741d61f
- Use packit aliases (Frantisek Lachman)
Packit Service 741d61f
- Fix CONTRIBUTING.md to reflect correct CLI args (Rose Judge)
Packit Service 741d61f
- Add function to convert results to an xunit xml file (#239) (Wheeler Law)
Packit Service 741d61f
- Fix tests execution on older kernel (Lukas Slebodnik)
Packit Service 741d61f
- Fix expected string in test_check_command (Lukas Slebodnik)
Packit Service 741d61f
- check_runner: Allow to overwrite timeout in result_set (Lukas Slebodnik)
Packit Service 741d61f
- Update Trove classifiers (Hugo van Kemenade)
Packit Service 741d61f
- Python 3.6 is the minimum (Hugo van Kemenade)
Packit Service 741d61f
- Add python_requires to help pip (Hugo van Kemenade)
Packit Service 741d61f
- Add smoke test for testing farm (Frantisek Lachman)
Packit Service 741d61f
- Update jobs in packit config (Frantisek Lachman)
Packit Service 741d61f
- Add Developer Certificate of Origin (Laura Barcziova)
Packit Service 741d61f
- Fix README and setup.py to be able to upload to PyPI (Jiri Popelka)
Packit Service 741d61f
880f6ec
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-11
880f6ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
880f6ec
504a258
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-10
504a258
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
504a258
3c3262f
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-9
3c3262f
- Rebuilt for Python 3.9
3c3262f
ade864b
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-8
ade864b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ade864b
79ca118
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-7
79ca118
- Rebuilt for Python 3.8.0rc1 (#1748018)
79ca118
2def87d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-6
2def87d
- Rebuilt for Python 3.8
2def87d
2e353bc
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-5
2e353bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2e353bc
130691c
* Wed May 01 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> 0.3.1-4
130691c
- Change weak dependency in rawhide (docker -> moby-engine)
130691c
6e6d91c
* Wed May 01 2019 Lukas Slebodnik <lslebodn@fedoraproject.org> 0.3.1-3
6e6d91c
- rhbz#1684558 - Remove hard dependency on docker
6e6d91c
64d3f16
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
64d3f16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
64d3f16
700dde6
* Mon Jan 21 2019 Tomas Tomecek <nereone@gmail.com> 0.3.1-1
700dde6
- 0.3.1 release
700dde6
d70c7b8
* Thu Nov 15 2018 lachmanfrantisek <lachmanfrantisek@gmail.com> 0.3.0-1
d70c7b8
- 0.3.0 release
d70c7b8
86b34d8
* Mon Oct 22 2018 lachmanfrantisek <lachmanfrantisek@gmail.com> 0.2.1-1
86b34d8
- 0.2.1 release
86b34d8
0e82dd1
* Wed Sep 19 2018 Jiri Popelka <jpopelka@redhat.com> 0.2.0-1
0e82dd1
- 0.2.0 release
0e82dd1
c3f63c1
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-3
c3f63c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c3f63c1
539b2d2
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.1.0-2
539b2d2
- Rebuilt for Python 3.7
539b2d2
3ee7d48
* Wed May 30 2018 Jiri Popelka <jpopelka@redhat.com> 0.1.0-1
3ee7d48
- 0.1.0 release
3ee7d48
2883738
* Wed May 02 2018 Petr Hracek <phracek@redhat.com> - 0.0.4-3
2883738
- Polishing texts and remove leftovers (#1572084)
2883738
2883738
* Wed May 02 2018 Petr Hracek <phracek@redhat.com> - 0.0.4-2
2883738
- Fix issues catched by BZ review process (#1572084)
2883738
2883738
* Wed Apr 25 2018 lachmanfrantisek <flachman@redhat.com> - 0.0.4-1
2883738
- bash completion
2883738
- better cli
2883738
- better ruleset files and loading
2883738
- dockerfile support
2883738
- python2 compatibility
2883738
- better error handling
2883738
2883738
* Mon Apr 09 2018 Petr Hracek <phracek@redhat.com> - 0.0.3-1
2883738
- Initial package.