0736b6c
%if 0%{?rhel} && 0%{?rhel} <= 6
f7a24fa
%{!?__python2: %global __python2 /usr/bin/python2}
f7a24fa
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
f7a24fa
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
Martin Milata 0e1051a
%{!?python2_version: %global python2_version %(%{__python2} -c "import sys; sys.stdout.write(sys.version[:3])")}
Martin Milata 0e1051a
%endif
Martin Milata 0e1051a
Martin Milata 0e1051a
%if 0%{?rhel} && 0%{?rhel} <= 7
Martin Milata 0e1051a
%{!?py2_build: %global py2_build %{__python2} setup.py build}
Martin Milata 0e1051a
%{!?py2_install: %global py2_install %{__python2} setup.py install --skip-build --root %{buildroot}}
f7a24fa
%endif
f7a24fa
f7a24fa
%if (0%{?fedora} >= 22 || 0%{?rhel} >= 8)
f7a24fa
%global with_python3 1
Martin Milata 0e1051a
%global binaries_py_version %{python3_version}
f7a24fa
%else
Martin Milata 0e1051a
%global binaries_py_version %{python2_version}
f7a24fa
%endif
f7a24fa
Clement Verna 0c749ed
%if (0%{?fedora} < 28)
Clement Verna 0c749ed
# tests are failing in f28 with new version of pytest
Martin Milata abe2f82
# rhel/epel has no flexmock, pytest-capturelog
Martin Milata abe2f82
%global with_check 1
Martin Milata abe2f82
%endif
Martin Milata 0e1051a
f7a24fa
%global owner projectatomic
f7a24fa
%global project atomic-reactor
f7a24fa
Clement Verna 2c747f6
%global commit aa48a38c9f8114a972003caf694595e51cd3acb8
9c8ff5d
%global shortcommit %(c=%{commit}; echo ${c:0:7})
9c8ff5d
f7a24fa
%global dock_obsolete_vr 1.3.7-2
f7a24fa
f7a24fa
Name:           %{project}
Clement Verna 2c747f6
Version:        1.6.33
Clement Verna a0e6157
Release:        2%{?dist}
f7a24fa
f7a24fa
Summary:        Improved builder for Docker images
f7a24fa
Group:          Development/Tools
f7a24fa
License:        BSD
f7a24fa
URL:            https://github.com/%{owner}/%{project}
9c8ff5d
Source0:        https://github.com/%{owner}/%{project}/archive/%{commit}/%{project}-%{commit}.tar.gz
f7a24fa
Clement Verna 61d2971
# jsonschema version is pinned in requirement.txt to the rhel/centos 7 version
Clement Verna 61d2971
# we want to use the latest from Fedora repos.
Clement Verna 61d2971
Patch0:         atomic-reactor-jsonschema-version.patch
Clement Verna d148da8
f7a24fa
BuildArch:      noarch
f7a24fa
f7a24fa
BuildRequires:  python2-devel
cba875d
BuildRequires:  python2-setuptools
Martin Milata 0e1051a
%if 0%{?with_check}
cba875d
BuildRequires:  python2-pytest
cba875d
BuildRequires:  python2-pytest-capturelog
cba875d
BuildRequires:  python2-dockerfile-parse >= 0.0.5
0736b6c
BuildRequires:  python2-docker
cba875d
BuildRequires:  python2-flexmock >= 0.10.2
cba875d
BuildRequires:  python2-six
Clement Verna 31988fe
BuildRequires:  python2-osbs-client >= 0.45
cba875d
BuildRequires:  python2-backports-lzma
95ac8de
BuildRequires:  python2-responses
cba875d
BuildRequires:  python2-jsonschema
cba875d
BuildRequires:  python2-pyyaml
cba875d
BuildRequires:  python2-mock
0736b6c
BuildRequires:  python2-docker-squash >= 1.0.0-0.3
Martin Milata 0e1051a
%endif # with_check
f7a24fa
f7a24fa
%if 0%{?with_python3}
Martin Milata 0e1051a
Requires:       python3-atomic-reactor = %{version}-%{release}
f7a24fa
%else
0736b6c
Requires:       python2-atomic-reactor = %{version}-%{release}
Martin Milata 0e1051a
%endif # with_python3
f7a24fa
Requires:       git >= 1.7.10
f7a24fa
f7a24fa
%if 0%{?with_python3}
f7a24fa
BuildRequires:  python3-devel
f7a24fa
BuildRequires:  python3-setuptools
Martin Milata 0e1051a
%if 0%{?with_check}
Martin Milata 0e1051a
BuildRequires:  python3-pytest
Martin Milata 0e1051a
BuildRequires:  python3-pytest-capturelog
Martin Milata 0e1051a
BuildRequires:  python3-dockerfile-parse >= 0.0.5
0736b6c
BuildRequires:  python3-docker
Martin Milata d1813ae
BuildRequires:  python3-flexmock >= 0.10.2
Martin Milata 0e1051a
BuildRequires:  python3-six
Clement Verna 31988fe
BuildRequires:  python3-osbs-client >= 0.45
95ac8de
BuildRequires:  python3-responses
90264b3
BuildRequires:  python3-jsonschema
90264b3
BuildRequires:  python3-PyYAML
95ac8de
BuildRequires:  python3-mock
0736b6c
BuildRequires:  python3-docker-squash >= 1.0.0-0.3
Martin Milata 0e1051a
%endif # with_check
Martin Milata 0e1051a
%endif # with_python3
f7a24fa
f7a24fa
Provides:       dock = %{version}-%{release}
f7a24fa
Obsoletes:      dock < %{dock_obsolete_vr}
f7a24fa
f7a24fa
%description
f7a24fa
Simple Python tool with command line interface for building Docker
f7a24fa
images. It contains a lot of helpful functions which you would
f7a24fa
probably implement if you started hooking Docker into your
f7a24fa
infrastructure.
f7a24fa
f7a24fa
d6178dc
%package -n python2-atomic-reactor
d6178dc
%{?python_provide:%python_provide python2-atomic-reactor}
0736b6c
%{?python_provide:%python_provide python-atomic-reactor}
971b3cb
Summary:        Python 2 Atomic Reactor library
971b3cb
Group:          Development/Tools
971b3cb
License:        BSD
0736b6c
Requires:       python2-docker
cba875d
Requires:       python2-requests
cba875d
Requires:       python2-setuptools
cba875d
Requires:       python2-dockerfile-parse >= 0.0.5
0736b6c
Requires:       python2-docker-squash >= 1.0.0-0.3
cba875d
Requires:       python2-backports-lzma
cba875d
Requires:       python2-jsonschema
cba875d
Requires:       python2-pyyaml
971b3cb
Provides:       python-dock = %{version}-%{release}
971b3cb
Obsoletes:      python-dock < %{dock_obsolete_vr}
971b3cb
d6178dc
%description -n python2-atomic-reactor
971b3cb
Simple Python 2 library for building Docker images. It contains
971b3cb
a lot of helpful functions which you would probably implement if
971b3cb
you started hooking Docker into your infrastructure.
971b3cb
0736b6c
%package -n python2-atomic-reactor-koji
0736b6c
%{?python_provide:%python_provide python2-atomic-reactor-koji}
0736b6c
%{?python_provide:%python_provide python-atomic-reactor-koji}
f7a24fa
Summary:        Koji plugin for Atomic Reactor
f7a24fa
Group:          Development/Tools
0736b6c
Requires:       python2-atomic-reactor = %{version}-%{release}
f7a24fa
Requires:       koji
f7a24fa
Provides:       dock-koji = %{version}-%{release}
f7a24fa
Provides:       python-dock-koji = %{version}-%{release}
f7a24fa
Obsoletes:      dock-koji < 1.2.0-3
f7a24fa
Obsoletes:      python-dock-koji < %{dock_obsolete_vr}
f7a24fa
0736b6c
%description -n python2-atomic-reactor-koji
f7a24fa
Koji plugin for Atomic Reactor
f7a24fa
f7a24fa
0736b6c
%package -n python2-atomic-reactor-metadata
0736b6c
%{?python_provide:%python_provide python2-atomic-reactor-metadata}
0736b6c
%{?python_provide:%python_provide python-atomic-reactor-metadata}
f7a24fa
Summary:        Plugin for submitting metadata to OSBS
f7a24fa
Group:          Development/Tools
0736b6c
Requires:       python2-atomic-reactor = %{version}-%{release}
f7a24fa
Requires:       osbs
f7a24fa
Provides:       dock-metadata = %{version}-%{release}
f7a24fa
Provides:       python-dock-metadata = %{version}-%{release}
f7a24fa
Obsoletes:      dock-metadata < 1.2.0-3
f7a24fa
Obsoletes:      python-dock-metadata < %{dock_obsolete_vr}
f7a24fa
0736b6c
%description -n python2-atomic-reactor-metadata
f7a24fa
Plugin for submitting metadata to OSBS
f7a24fa
f7a24fa
0736b6c
%package -n python2-atomic-reactor-rebuilds
0736b6c
%{?python_provide:%python_provide python2-atomic-reactor-rebuilds}
0736b6c
%{?python_provide:%python_provide python-atomic-reactor-rebuilds}
971b3cb
Summary:        Plugins for automated rebuilds
f7a24fa
Group:          Development/Tools
0736b6c
Requires:       python2-atomic-reactor = %{version}-%{release}
971b3cb
Requires:       osbs >= 0.15
f7a24fa
0736b6c
%description -n python2-atomic-reactor-rebuilds
971b3cb
Plugins for automated rebuilds
f7a24fa
f7a24fa
f7a24fa
%if 0%{?with_python3}
f7a24fa
%package -n python3-atomic-reactor
f7a24fa
Summary:        Python 3 Atomic Reactor library
f7a24fa
Group:          Development/Tools
f7a24fa
License:        BSD
0736b6c
Requires:       python3-docker
f7a24fa
Requires:       python3-requests
f7a24fa
Requires:       python3-setuptools
971b3cb
Requires:       python3-dockerfile-parse >= 0.0.5
Martin Milata b667a78
Requires:       python3-docker-squash >= 1.0.0-0.3
90264b3
Requires:       python3-jsonschema
90264b3
Requires:       python3-PyYAML
f7a24fa
Provides:       python3-dock = %{version}-%{release}
f7a24fa
Obsoletes:      python3-dock < %{dock_obsolete_vr}
Martin Milata 0e1051a
%{?python_provide:%python_provide python3-atomic-reactor}
f7a24fa
f7a24fa
%description -n python3-atomic-reactor
f7a24fa
Simple Python 3 library for building Docker images. It contains
f7a24fa
a lot of helpful functions which you would probably implement if
f7a24fa
you started hooking Docker into your infrastructure.
f7a24fa
f7a24fa
f7a24fa
%package -n python3-atomic-reactor-koji
f7a24fa
Summary:        Koji plugin for Atomic Reactor
f7a24fa
Group:          Development/Tools
f7a24fa
Requires:       python3-atomic-reactor = %{version}-%{release}
f7a24fa
Requires:       koji
f7a24fa
Provides:       python3-dock-koji = %{version}-%{release}
f7a24fa
Obsoletes:      python3-dock-koji < %{dock_obsolete_vr}
Martin Milata 0e1051a
%{?python_provide:%python_provide python3-atomic-reactor-koji}
f7a24fa
f7a24fa
%description -n python3-atomic-reactor-koji
f7a24fa
Koji plugin for Atomic Reactor
f7a24fa
f7a24fa
f7a24fa
%package -n python3-atomic-reactor-metadata
f7a24fa
Summary:        Plugin for submitting metadata to OSBS
f7a24fa
Group:          Development/Tools
f7a24fa
Requires:       python3-atomic-reactor = %{version}-%{release}
f7a24fa
Requires:       osbs
f7a24fa
Provides:       python3-dock-metadata = %{version}-%{release}
f7a24fa
Obsoletes:      python3-dock-metadata < %{dock_obsolete_vr}
Martin Milata 0e1051a
%{?python_provide:%python_provide python3-atomic-reactor-metadata}
f7a24fa
f7a24fa
%description -n python3-atomic-reactor-metadata
f7a24fa
Plugin for submitting metadata to OSBS
971b3cb
971b3cb
%package -n python3-atomic-reactor-rebuilds
971b3cb
Summary:        Plugins for automated rebuilds
971b3cb
Group:          Development/Tools
971b3cb
Requires:       python3-atomic-reactor = %{version}-%{release}
971b3cb
Requires:       osbs >= 0.15
Martin Milata 0e1051a
%{?python_provide:%python_provide python3-atomic-reactor-rebuilds}
971b3cb
971b3cb
%description -n python3-atomic-reactor-rebuilds
971b3cb
Plugins for automated rebuilds
f7a24fa
%endif # with_python3
f7a24fa
f7a24fa
f7a24fa
%prep
Clement Verna 2c747f6
%autosetup -n %{name}-%{commit}
0736b6c
f7a24fa
%build
Martin Milata 0e1051a
%py2_build
f7a24fa
%if 0%{?with_python3}
Martin Milata 0e1051a
%py3_build
f7a24fa
%endif # with_python3
f7a24fa
f7a24fa
f7a24fa
%install
f7a24fa
%if 0%{?with_python3}
Martin Milata 0e1051a
%py3_install
Martin Milata 0e1051a
mv %{buildroot}%{_bindir}/atomic-reactor %{buildroot}%{_bindir}/atomic-reactor-%{python3_version}
Martin Milata 0e1051a
ln -s %{_bindir}/atomic-reactor-%{python3_version} %{buildroot}%{_bindir}/atomic-reactor-3
f7a24fa
%endif # with_python3
f7a24fa
Martin Milata 0e1051a
%py2_install
Martin Milata 0e1051a
mv %{buildroot}%{_bindir}/atomic-reactor %{buildroot}%{_bindir}/atomic-reactor-%{python2_version}
Martin Milata 0e1051a
ln -s %{_bindir}/atomic-reactor-%{python2_version} %{buildroot}%{_bindir}/atomic-reactor-2
Martin Milata 0e1051a
ln -s %{_bindir}/atomic-reactor-%{binaries_py_version} %{buildroot}%{_bindir}/atomic-reactor
f7a24fa
f7a24fa
# ship reactor in form of tarball so it can be installed within build image
f7a24fa
cp -a %{sources} %{buildroot}/%{_datadir}/%{name}/atomic-reactor.tar.gz
f7a24fa
f7a24fa
mkdir -p %{buildroot}%{_mandir}/man1
f7a24fa
cp -a docs/manpage/atomic-reactor.1 %{buildroot}%{_mandir}/man1/
f7a24fa
f7a24fa
Martin Milata 0e1051a
%if 0%{?with_check}
Martin Milata 0e1051a
%check
Martin Milata 0e1051a
%if 0%{?with_python3}
Martin Milata 0e1051a
LANG=en_US.utf8 py.test-%{python3_version} -vv tests
Martin Milata 0e1051a
%endif # with_python3
Martin Milata 0e1051a
Martin Milata 0e1051a
LANG=en_US.utf8 py.test-%{python2_version} -vv tests
Martin Milata 0e1051a
%endif # with_check
Martin Milata 0e1051a
Martin Milata 0e1051a
f7a24fa
%files
f7a24fa
%doc README.md
f7a24fa
%{_mandir}/man1/atomic-reactor.1*
Martin Milata 0e1051a
%{!?_licensedir:%global license %doc}
f7a24fa
%license LICENSE
f7a24fa
%{_bindir}/atomic-reactor
f7a24fa
d6178dc
%files -n python2-atomic-reactor
f7a24fa
%doc README.md
f7a24fa
%doc docs/*.md
Martin Milata 0e1051a
%{!?_licensedir:%global license %doc}
f7a24fa
%license LICENSE
Martin Milata 0e1051a
%{_bindir}/atomic-reactor-%{python2_version}
Martin Milata 0e1051a
%{_bindir}/atomic-reactor-2
f7a24fa
%dir %{python2_sitelib}/atomic_reactor
f7a24fa
%{python2_sitelib}/atomic_reactor/*.*
f7a24fa
%{python2_sitelib}/atomic_reactor/cli
f7a24fa
%{python2_sitelib}/atomic_reactor/plugins
90264b3
%{python2_sitelib}/atomic_reactor/schemas
Martin Milata c2c1b1d
%exclude %{python2_sitelib}/atomic_reactor/koji_util.py*
Martin Milata 0e1051a
%exclude %{python2_sitelib}/atomic_reactor/plugins/exit_koji_promote.py*
0736b6c
%exclude %{python2_sitelib}/atomic_reactor/plugins/exit_koji_import.py*
Martin Milata 0e1051a
%exclude %{python2_sitelib}/atomic_reactor/plugins/exit_sendmail.py*
9c8ff5d
%exclude %{python2_sitelib}/atomic_reactor/plugins/exit_store_metadata_in_osv3.py*
971b3cb
%exclude %{python2_sitelib}/atomic_reactor/plugins/post_import_image.py*
Martin Milata c2c1b1d
%exclude %{python2_sitelib}/atomic_reactor/plugins/pre_add_filesystem.py*
971b3cb
%exclude %{python2_sitelib}/atomic_reactor/plugins/pre_bump_release.py*
Martin Milata 0e1051a
%exclude %{python2_sitelib}/atomic_reactor/plugins/pre_koji.py*
0736b6c
%exclude %{python2_sitelib}/atomic_reactor/plugins/pre_koji_parent.py*
c419587
%exclude %{python2_sitelib}/atomic_reactor/plugins/pre_inject_parent_image.py*
Martin Milata 0e1051a
%exclude %{python2_sitelib}/integration-tests
971b3cb
f7a24fa
%{python2_sitelib}/atomic_reactor-%{version}-py2.*.egg-info
f7a24fa
%dir %{_datadir}/%{name}
f7a24fa
%{_datadir}/%{name}/atomic-reactor.tar.gz
f7a24fa
%{_datadir}/%{name}/images
f7a24fa
f7a24fa
0736b6c
%files -n python2-atomic-reactor-koji
Martin Milata c2c1b1d
%{python2_sitelib}/atomic_reactor/koji_util.py*
Martin Milata c2c1b1d
%{python2_sitelib}/atomic_reactor/plugins/pre_add_filesystem.py*
54c898c
%{python2_sitelib}/atomic_reactor/plugins/pre_bump_release.py*
f7a24fa
%{python2_sitelib}/atomic_reactor/plugins/pre_koji.py*
0736b6c
%{python2_sitelib}/atomic_reactor/plugins/pre_koji_parent.py*
c419587
%{python2_sitelib}/atomic_reactor/plugins/pre_inject_parent_image.py*
Martin Milata c85b963
%{python2_sitelib}/atomic_reactor/plugins/exit_koji_promote.py*
0736b6c
%{python2_sitelib}/atomic_reactor/plugins/exit_koji_import.py*
f7a24fa
f7a24fa
0736b6c
%files -n python2-atomic-reactor-metadata
9c8ff5d
%{python2_sitelib}/atomic_reactor/plugins/exit_store_metadata_in_osv3.py*
f7a24fa
0736b6c
%files -n python2-atomic-reactor-rebuilds
Martin Milata 0e1051a
%{python2_sitelib}/atomic_reactor/plugins/exit_sendmail.py*
971b3cb
%{python2_sitelib}/atomic_reactor/plugins/post_import_image.py*
971b3cb
f7a24fa
f7a24fa
%if 0%{?with_python3}
f7a24fa
%files -n python3-atomic-reactor
f7a24fa
%doc README.md
f7a24fa
%doc docs/*.md
Martin Milata 0e1051a
%{!?_licensedir:%global license %doc}
f7a24fa
%license LICENSE
Martin Milata 0e1051a
%{_bindir}/atomic-reactor-%{python3_version}
Martin Milata 0e1051a
%{_bindir}/atomic-reactor-3
f7a24fa
%{_mandir}/man1/atomic-reactor.1*
f7a24fa
%dir %{python3_sitelib}/atomic_reactor
f7a24fa
%dir %{python3_sitelib}/atomic_reactor/__pycache__
f7a24fa
%{python3_sitelib}/atomic_reactor/*.*
f7a24fa
%{python3_sitelib}/atomic_reactor/cli
f7a24fa
%{python3_sitelib}/atomic_reactor/plugins
90264b3
%{python3_sitelib}/atomic_reactor/schemas
f7a24fa
%{python3_sitelib}/atomic_reactor/__pycache__/*.py*
Martin Milata c2c1b1d
%exclude %{python3_sitelib}/atomic_reactor/koji_util.py
Martin Milata 0e1051a
%exclude %{python3_sitelib}/atomic_reactor/plugins/exit_koji_promote.py
0736b6c
%exclude %{python3_sitelib}/atomic_reactor/plugins/exit_koji_import.py
Martin Milata 0e1051a
%exclude %{python3_sitelib}/atomic_reactor/plugins/exit_sendmail.py
Martin Milata 0e1051a
%exclude %{python3_sitelib}/atomic_reactor/plugins/exit_store_metadata_in_osv3.py
Martin Milata 0e1051a
%exclude %{python3_sitelib}/atomic_reactor/plugins/post_import_image.py
Martin Milata c2c1b1d
%exclude %{python3_sitelib}/atomic_reactor/plugins/pre_add_filesystem.py
Martin Milata 0e1051a
%exclude %{python3_sitelib}/atomic_reactor/plugins/pre_bump_release.py
0736b6c
%exclude %{python3_sitelib}/atomic_reactor/plugins/pre_check_and_set_rebuild.py
Martin Milata 0e1051a
%exclude %{python3_sitelib}/atomic_reactor/plugins/pre_koji.py
0736b6c
%exclude %{python3_sitelib}/atomic_reactor/plugins/pre_koji_parent.py
c419587
%exclude %{python3_sitelib}/atomic_reactor/plugins/pre_inject_parent_image.py
Martin Milata 0e1051a
%exclude %{python3_sitelib}/atomic_reactor/plugins/__pycache__/exit_koji_promote*.py*
0736b6c
%exclude %{python3_sitelib}/atomic_reactor/plugins/__pycache__/exit_koji_import*.py*
Martin Milata 0e1051a
%exclude %{python3_sitelib}/atomic_reactor/plugins/__pycache__/exit_sendmail*.py*
9c8ff5d
%exclude %{python3_sitelib}/atomic_reactor/plugins/__pycache__/exit_store_metadata_in_osv3*.py*
971b3cb
%exclude %{python3_sitelib}/atomic_reactor/plugins/__pycache__/post_import_image*.py*
971b3cb
%exclude %{python3_sitelib}/atomic_reactor/plugins/__pycache__/pre_bump_release*.py*
Martin Milata c2c1b1d
%exclude %{python3_sitelib}/atomic_reactor/plugins/__pycache__/pre_add_filesystem*.py*
0736b6c
%exclude %{python3_sitelib}/atomic_reactor/plugins/__pycache__/pre_check_and_set_rebuild*.py*
Martin Milata 0e1051a
%exclude %{python3_sitelib}/atomic_reactor/plugins/__pycache__/pre_koji*.py*
0736b6c
%exclude %{python3_sitelib}/atomic_reactor/plugins/__pycache__/pre_koji_parent*.py*
c419587
%exclude %{python2_sitelib}/atomic_reactor/plugins/__pycache__/pre_inject_parent_image.py*
Martin Milata 0e1051a
%exclude %{python3_sitelib}/integration-tests
971b3cb
f7a24fa
%{python3_sitelib}/atomic_reactor-%{version}-py3.*.egg-info
f7a24fa
%dir %{_datadir}/%{name}
f7a24fa
# ship reactor in form of tarball so it can be installed within build image
f7a24fa
%{_datadir}/%{name}/atomic-reactor.tar.gz
f7a24fa
# dockerfiles for build images
f7a24fa
# there is also a script which starts docker in privileged container
f7a24fa
# (is not executable, because it's meant to be used within provileged containers, not on a host system)
f7a24fa
%{_datadir}/%{name}/images
f7a24fa
f7a24fa
f7a24fa
%files -n python3-atomic-reactor-koji
Martin Milata c2c1b1d
%{python3_sitelib}/atomic_reactor/koji_util.py
Martin Milata c2c1b1d
%{python3_sitelib}/atomic_reactor/__pycache__/koji_util*.py*
Martin Milata c2c1b1d
%{python3_sitelib}/atomic_reactor/plugins/pre_add_filesystem.py
54c898c
%{python3_sitelib}/atomic_reactor/plugins/pre_bump_release.py
Martin Milata 0e1051a
%{python3_sitelib}/atomic_reactor/plugins/pre_koji.py
0736b6c
%{python3_sitelib}/atomic_reactor/plugins/pre_koji_parent.py
c419587
%{python3_sitelib}/atomic_reactor/plugins/pre_inject_parent_image.py
Martin Milata c85b963
%{python3_sitelib}/atomic_reactor/plugins/exit_koji_promote.py
0736b6c
%{python3_sitelib}/atomic_reactor/plugins/exit_koji_import.py
Martin Milata c2c1b1d
%{python3_sitelib}/atomic_reactor/plugins/__pycache__/pre_add_filesystem*.py*
54c898c
%{python3_sitelib}/atomic_reactor/plugins/__pycache__/pre_bump_release*.py*
f7a24fa
%{python3_sitelib}/atomic_reactor/plugins/__pycache__/pre_koji*.py*
0736b6c
%{python3_sitelib}/atomic_reactor/plugins/__pycache__/pre_koji_parent*.py*
c419587
%{python3_sitelib}/atomic_reactor/plugins/__pycache__/pre_inject_parent_image*.py*
Martin Milata c85b963
%{python3_sitelib}/atomic_reactor/plugins/__pycache__/exit_koji_promote*.py*
0736b6c
%{python3_sitelib}/atomic_reactor/plugins/__pycache__/exit_koji_import*.py*
f7a24fa
f7a24fa
f7a24fa
%files -n python3-atomic-reactor-metadata
Martin Milata 0e1051a
%{python3_sitelib}/atomic_reactor/plugins/exit_store_metadata_in_osv3.py
9c8ff5d
%{python3_sitelib}/atomic_reactor/plugins/__pycache__/exit_store_metadata_in_osv3*.py*
971b3cb
971b3cb
%files -n python3-atomic-reactor-rebuilds
Martin Milata 0e1051a
%{python3_sitelib}/atomic_reactor/plugins/exit_sendmail.py
Martin Milata 0e1051a
%{python3_sitelib}/atomic_reactor/plugins/post_import_image.py
0736b6c
%{python3_sitelib}/atomic_reactor/plugins/pre_check_and_set_rebuild.py
Martin Milata 0e1051a
%{python3_sitelib}/atomic_reactor/plugins/__pycache__/exit_sendmail*.py*
971b3cb
%{python3_sitelib}/atomic_reactor/plugins/__pycache__/post_import_image*.py*
0736b6c
%{python3_sitelib}/atomic_reactor/plugins/__pycache__/pre_check_and_set_rebuild*.py*
f7a24fa
%endif  # with_python3
f7a24fa
f7a24fa
f7a24fa
%changelog
Clement Verna a0e6157
* Tue Jul 31 2018 Clement Verna <cverna@fedoraproject.org> - 1.6.33-2
Clement Verna a0e6157
- Add patch to manage jsonschema version
Clement Verna a0e6157
Clement Verna 2c747f6
* Mon Jul 30 2018 Clement Verna <cverna@fedoraproject.org> - 1.6.33-1
Clement Verna 2c747f6
- New upstream release
Clement Verna 2c747f6
- Drop patches
Clement Verna 2c747f6
- Drop stop_autorebuild_if_disabled plugin
Clement Verna 2c747f6
ecb6e2b
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.31-4
ecb6e2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ecb6e2b
Clement Verna d148da8
* Thu Jun 21 2018 Clement Verna <cverna@fedoraproject.org> - 1.6.31-3
Clement Verna d148da8
- Adding patch fo docker-py compatibility
Clement Verna d148da8
762991b
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.6.31-2
762991b
- Rebuilt for Python 3.7
762991b
Clement Verna 0c749ed
* Tue May 15 2018 Clement Verna <cverna@fedoraproject.org> - 1.6.31-1
Clement Verna 0c749ed
- Update to latest upstream
Clement Verna 0c749ed
cba875d
* Mon Feb 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.6.29-3
cba875d
- Update Python 2 dependency declarations to new packaging standards
cba875d
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
cba875d
Clement Verna 31988fe
* Thu Feb 01 2018 Clement Verna <cverna@fedoraproject.orf> - 1.6.29-2
Clement Verna 31988fe
- Added patch to fix unit test on multi arch
Clement Verna 31988fe
- Build Requires osbs-client version 0.45 for unit test
Clement Verna 31988fe
Clement Verna fb1219f
* Thu Jan 18 2018 Clement Verna <cverna@fedoraproject.org> - 1.6.29-1
Clement Verna fb1219f
- Update to latest upstream
Clement Verna fb1219f
Clement Verna d02f26c
* Wed Nov 8 2017 Vadim Rutkovsky <vrutkovs@fedoraproject.org> - 1.6.28-1
c419587
- Update to latest upstream
c419587
de54fc4
* Tue Oct 03 2017 Adam Miller <maxamillion@fedoraproject.org> - 1.6.25.1-3
de54fc4
- Patch to fix unicode handling of krb+koji arguments in koji_util
de54fc4
7d7cd3f
* Tue Oct 03 2017 Adam Miller <maxamillion@fedoraproject.org> - 1.6.25.1-2
7d7cd3f
- patch requirements to use fedora's docker-py 2.x resource distribution name
7d7cd3f
- Fix tests on non-x86_64 arches
7d7cd3f
0736b6c
* Tue Aug 22 2017 Adam Miller <maxamillion@fedoraproject.org> - 1.6.25.1-1
0736b6c
- Update to latest upstream
0736b6c
d6178dc
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.6.23.2-3
d6178dc
- Python 2 binary package renamed to python2-atomic-reactor
d6178dc
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
d6178dc
90264b3
* Fri Jun 09 2017 Adam Miller <maxamillion@fedoraproject.org> - 1.6.23.2-1
90264b3
- Update to latest upstream
90264b3
ac48903
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.19-6
ac48903
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ac48903
1223839
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.6.19-5
1223839
- Rebuild for Python 3.6
1223839
d74ef3b
* Tue Dec 06 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.6.19-4
d74ef3b
- Remove pycurl patch, it's for osbs-client and added to this package by mistake
d74ef3b
bce2130
* Tue Dec 06 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.6.19-3
bce2130
- Patch to fix pycurl ssl issue by switching to python-requests (BZ#1401622)
bce2130
42f9010
* Tue Dec 06 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.6.19-2
42f9010
- Patch to fix koji krb5 atomic-reactor plugin auth
42f9010
42f9010
* Tue Dec 06 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.6.19-1
42f9010
- Update to latest upstream release
42f9010
b76172d
* Tue Nov 15 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.6.17-3
b76172d
- Revert patch to not env_replace in add_labels_in_df plugin
b76172d
542e9e7
* Mon Nov 14 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.6.17-2
542e9e7
- Patch to not env_replace in add_labels_in_df plugin
542e9e7
c8202c9
* Thu Oct 13 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.6.17-1
c8202c9
- Update to latest upstream: 1.6.17
c8202c9
bd68a7e
* Tue Sep 20 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.6.16-1
bd68a7e
- Update to latest upstream: 1.6.16
bd68a7e
95ac8de
* Tue Sep 06 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.6.15-1
95ac8de
- Update to latest upstream: 1.6.15
95ac8de
ff23c16
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.13-2
ff23c16
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
ff23c16
54c898c
* Fri Jul 08 2016 Tim Waugh <twaugh@redhat.com> - 1.6.13-1
54c898c
- 1.6.13 release
54c898c
54c898c
* Mon Jul 4 2016 Vadim Rutkovsky <vrutkovs@redhat.com> - 1.6.12-1
54c898c
- 1.6.12 release
54c898c
54c898c
* Fri Jun 24 2016 Vadim Rutkovsky <vrutkovs@redhat.com> - 1.6.11-1
54c898c
- 1.6.11 release
54c898c
54c898c
* Thu Jun 09 2016 Tim Waugh <twaugh@redhat.com>
54c898c
- Move the bump_release plugin to the koji subpackage since it uses Koji.
54c898c
Martin Milata 665b9f1
* Wed Jun 08 2016 Martin Milata <mmilata@redhat.com> - 1.6.10-1
Martin Milata 665b9f1
- 1.6.10 release
Martin Milata 665b9f1
Martin Milata ec9b497
* Thu May 26 2016 Martin Milata <mmilata@redhat.com> - 1.6.9-1
Martin Milata ec9b497
- 1.6.9 release
Martin Milata ec9b497
Martin Milata c2c1b1d
* Mon May 23 2016 Martin Milata <mmilata@redhat.com> - 1.6.8-1
Martin Milata c2c1b1d
- New pre_add_filesystem plugin. (Tim Waugh <twaugh@redhat.com>)
Martin Milata c2c1b1d
- New koji_util module in koji package. (Tim Waugh <twaugh@redhat.com>)
Martin Milata c2c1b1d
- 1.6.8 release
Martin Milata c2c1b1d
Martin Milata 08f50aa
* Fri Apr 22 2016 Martin Milata <mmilata@redhat.com> - 1.6.7-1
Martin Milata 08f50aa
- 1.6.7 release
Martin Milata 08f50aa
Martin Milata 08f50aa
* Tue Apr 12 2016 Martin Milata <mmilata@redhat.com> - 1.6.6-1
Martin Milata 08f50aa
- 1.6.6 release
Martin Milata 08f50aa
Martin Milata c85b963
* Mon Apr 11 2016 Martin Milata <mmilata@redhat.com> - 1.6.5-1
Martin Milata c85b963
- Move koji_promote plugin to koji package now that it is used in the
Martin Milata c85b963
  main workflow. (Tim Waugh <twaugh@redhat.com>)
Martin Milata c85b963
- 1.6.5 release
Martin Milata c85b963
Martin Milata b667a78
* Thu Apr 07 2016 Martin Milata <mmilata@redhat.com> - 1.6.4-1
Martin Milata b667a78
- 1.6.4 release
Martin Milata b667a78
Martin Milata 2d1447a
* Thu Feb 04 2016 Martin Milata <mmilata@redhat.com> - 1.6.3-1
Martin Milata 2d1447a
- 1.6.3 release
Martin Milata 2d1447a
3323614
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
3323614
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3323614
Martin Milata d1813ae
* Mon Feb 01 2016 Martin Milata <mmilata@redhat.com> - 1.6.2-1
Martin Milata d1813ae
- 1.6.2 release
Martin Milata d1813ae
- BuildRequires python-flexmock >= 0.10.2 due to
Martin Milata d1813ae
  https://github.com/bkabrda/flexmock/issues/6
Martin Milata d1813ae
Martin Milata 0e1051a
* Fri Jan 15 2016 Martin Milata <mmilata@redhat.com> - 1.6.1-1
Martin Milata 0e1051a
- 1.6.1 release
Martin Milata 0e1051a
- turned off unit tests for now because some of them use network
Martin Milata 0e1051a
- use py_build & py_install macros (Jiri Popelka <jpopelka@redhat.com>)
Martin Milata 0e1051a
- use python_provide macro (Jiri Popelka <jpopelka@redhat.com>)
Martin Milata 0e1051a
- ship executables per packaging guidelines (Jiri Popelka <jpopelka@redhat.com>)
Martin Milata 0e1051a
- %%check section (Jiri Popelka <jpopelka@redhat.com>)
Martin Milata 0e1051a
- add requirements on python{,3}-docker-scripts (Slavek Kabrda <bkabrda@redhat.com>)
Martin Milata 0e1051a
1cb1a13
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
1cb1a13
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
1cb1a13
971b3cb
* Mon Oct 19 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.6.0-1
971b3cb
- 1.6.0 release
971b3cb
9c8ff5d
* Tue Sep 08 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.5.1-1
9c8ff5d
- 1.5.1 release
9c8ff5d
9c8ff5d
* Fri Sep 04 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.5.0-1
9c8ff5d
- 1.5.0 release
9c8ff5d
f7a24fa
* Tue Jul 28 2015 bkabrda <bkabrda@redhat.com> - 1.4.0-2
f7a24fa
- fix issues found during Fedora re-review (rhbz#1246702)
f7a24fa
f7a24fa
* Thu Jul 16 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.4.0-1
f7a24fa
- new upstream release 1.4.0
f7a24fa
f7a24fa
* Tue Jun 30 2015 Jiri Popelka <jpopelka@redhat.com> - 1.3.7-3
f7a24fa
- define macros for RHEL-6
f7a24fa
f7a24fa
* Mon Jun 22 2015 Slavek Kabrda <bkabrda@redhat.com> - 1.3.7-2
f7a24fa
- rename to atomic-reactor
f7a24fa
f7a24fa
* Mon Jun 22 2015 Martin Milata <mmilata@redhat.com> - 1.3.7-1
f7a24fa
- new upstream release 1.3.7
f7a24fa
f7a24fa
* Wed Jun 17 2015 Jiri Popelka <jpopelka@redhat.com> - 1.3.6-2
f7a24fa
- update hash
f7a24fa
f7a24fa
* Wed Jun 17 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.3.6-1
f7a24fa
- new upstream release 1.3.6
f7a24fa
f7a24fa
* Tue Jun 16 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.3.5-1
f7a24fa
- new upstream release 1.3.5
f7a24fa
f7a24fa
* Fri Jun 12 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.3.4-1
f7a24fa
- new upstream release 1.3.4
f7a24fa
f7a24fa
* Wed Jun 10 2015 Jiri Popelka <jpopelka@redhat.com> - 1.3.3-2
f7a24fa
- BuildRequires:  python-docker-py
f7a24fa
f7a24fa
* Wed Jun 10 2015 Jiri Popelka <jpopelka@redhat.com> - 1.3.3-1
f7a24fa
- new upstream release 1.3.3
f7a24fa
f7a24fa
* Mon Jun 01 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.3.2-1
f7a24fa
- new upstream release 1.3.2
f7a24fa
f7a24fa
* Wed May 27 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.3.1-1
f7a24fa
- new upstream release 1.3.1
f7a24fa
f7a24fa
* Mon May 25 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.3.0-1
f7a24fa
- new upstream release 1.3.0
f7a24fa
f7a24fa
* Tue May 19 2015 Jiri Popelka <jpopelka@redhat.com> - 1.2.1-3
f7a24fa
- fix el7 build
f7a24fa
f7a24fa
* Tue May 19 2015 Jiri Popelka <jpopelka@redhat.com> - 1.2.1-2
f7a24fa
- rebuilt
f7a24fa
f7a24fa
* Tue May 19 2015 Martin Milata <mmilata@redhat.com> - 1.2.1-1
f7a24fa
- new upstream release 1.2.1
f7a24fa
f7a24fa
* Thu May 14 2015 Jiri Popelka <jpopelka@redhat.com> - 1.2.0-4
f7a24fa
- enable Python 3 build
f7a24fa
f7a24fa
* Thu May 07 2015 Slavek Kabrda <bkabrda@redhat.com> - 1.2.0-3
f7a24fa
- Introduce python-dock subpackage
f7a24fa
- Rename dock-{koji,metadata} to python-dock-{koji,metadata}
f7a24fa
- move /usr/bin/dock to /usr/bin/dock2, /usr/bin/dock is now a symlink
f7a24fa
f7a24fa
* Tue May 05 2015 Jiri Popelka <jpopelka@redhat.com> - 1.2.0-2
f7a24fa
- require python[3]-setuptools
f7a24fa
f7a24fa
* Tue Apr 21 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.2.0-1
f7a24fa
- new upstream release 1.2.0
f7a24fa
f7a24fa
* Tue Apr 07 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.1.3-1
f7a24fa
- new upstream release 1.1.3
f7a24fa
f7a24fa
* Thu Apr 02 2015 Martin Milata <mmilata@redhat.com> - 1.1.2-1
f7a24fa
- new upstream release 1.1.2
f7a24fa
f7a24fa
* Thu Mar 19 2015 Jiri Popelka <jpopelka@redhat.com> - 1.1.1-2
f7a24fa
- separate executable for python 3
f7a24fa
f7a24fa
* Tue Mar 17 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.1.1-1
f7a24fa
- new upstream release 1.1.1
f7a24fa
f7a24fa
* Fri Feb 20 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.1.0-1
f7a24fa
- new upstream release 1.1.0
f7a24fa
f7a24fa
* Wed Feb 11 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.0.0-2
f7a24fa
- spec: fix python 3 packaging
f7a24fa
- fix license in %%files
f7a24fa
- comment on weird stuff (dock.tar.gz, docker.sh)
f7a24fa
f7a24fa
* Thu Feb 05 2015 Tomas Tomecek <ttomecek@redhat.com> - 1.0.0-1
f7a24fa
- initial 1.0.0 upstream release
f7a24fa
f7a24fa
* Wed Feb 04 2015 Tomas Tomecek <ttomecek@redhat.com> 1.0.0.b-1
f7a24fa
- new upstream release: beta
f7a24fa
f7a24fa
* Mon Dec 01 2014 Tomas Tomecek <ttomecek@redhat.com> 1.0.0.a-1
f7a24fa
- complete rewrite (ttomecek@redhat.com)
f7a24fa
- Use inspect_image() instead of get_image() when checking for existence (#4).
f7a24fa
  (twaugh@redhat.com)
f7a24fa
f7a24fa
* Mon Nov 10 2014 Tomas Tomecek <ttomecek@redhat.com> 0.0.2-1
f7a24fa
- more friendly error msg when build img doesnt exist (ttomecek@redhat.com)
f7a24fa
- implement postbuild plugin system; do rpm -qa plugin (ttomecek@redhat.com)
f7a24fa
- core, logs: wait for container to finish and then gather output
f7a24fa
  (ttomecek@redhat.com)
f7a24fa
- core, df copying: df was not copied when path wasn't provided
f7a24fa
  (ttomecek@redhat.com)
f7a24fa
- store dockerfile in results dir (ttomecek@redhat.com)
f7a24fa
f7a24fa
* Mon Nov 03 2014 Jakub Dorňák <jdornak@redhat.com> 0.0.1-1
f7a24fa
- new package built with tito
f7a24fa
f7a24fa
* Sun Nov  2 2014 Jakub Dorňák <jdornak@redhat.com> - 0.0.1-1
f7a24fa
- Initial package