diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ce724f1..0000000 --- a/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -/osbs-client-49ef2c5d631b8a0c5f82a1d9354e6f7271ba5f12.tar.gz -/osbs-client-a8a926ef34b44a52da42fa07b3847efaaf06b12a.tar.gz -/osbs-client-526c8168d024f3ab14a0ef341c2911e9176f99aa.tar.gz -/osbs-client-a4eacee8295df458f31a4ed4277ea080db2182a7.tar.gz -/osbs-client-b011cc5c0c769fac281c45ec4e10a4bddc9a2563.tar.gz -/osbs-client-42f577ef6e760aba2044849bee49da7f120628ca.tar.gz -/osbs-client-cec066a78079352f5735195977d22bca50b9dd53.tar.gz -/osbs-client-bf8e35674ef734c4b173f0fe61d3e2fab58d1510.tar.gz -/osbs-client-9e6654041ba23c9bb1cac0056bcedeae87fb8cdc.tar.gz -/osbs-client-6308ccdac3503f8d78400d06b998e81ddb57df7a.tar.gz -/osbs-client-0112f3773b0d29b38df1e6e6373c811383b1d3d5.tar.gz -/osbs-client-dd5b0ea3f0b77fd3f9f2d55f607dbf4323b4d167.tar.gz -/osbs-client-5021224746eb0e6ac12c54c397397b629167030b.tar.gz -/osbs-client-696505ae4da4898a4e3689ef18e1f6791b04ea09.tar.gz -/osbs-client-ce184c63bf10bb020aa4039765ccd477cd6f6eea.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..3aaaac0 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +No longer maintained for EPEL7 diff --git a/osbs-client.spec b/osbs-client.spec deleted file mode 100644 index f5512a4..0000000 --- a/osbs-client.spec +++ /dev/null @@ -1,376 +0,0 @@ -%if 0%{?rhel} && 0%{?rhel} <= 6 -%{!?__python2: %global __python2 /usr/bin/python2} -%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%{!?python2_version: %global python2_version %(%{__python2} -c "import sys; sys.stdout.write(sys.version[:3])")} -%endif - -%if 0%{?rhel} && 0%{?rhel} <= 7 -%{!?py2_build: %global py2_build %{__python2} setup.py build} -%{!?py2_install: %global py2_install %{__python2} setup.py install --skip-build --root %{buildroot}} -%endif - -%if (0%{?fedora} >= 22 || 0%{?rhel} >= 8) -%global with_python3 1 -%global binaries_py_version %{python3_version} -%else -%global binaries_py_version %{python2_version} -%endif - -%if 0%{?fedora} -# rhel/epel has no flexmock, pytest-capturelog -%global with_check 1 -%endif - -%global commit ce184c63bf10bb020aa4039765ccd477cd6f6eea -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -# set to 0 to create a normal release -%global postrelease 0 -%global release 1 - -%global osbs_obsolete_vr 0.14-2 - -Name: osbs-client -Version: 0.39.1 -%if "x%{postrelease}" != "x0" -Release: %{release}.%{postrelease}.git.%{shortcommit}%{?dist} -%else -Release: %{release}%{?dist} -%endif - -Summary: Python command line client for OpenShift Build Service -Group: Development/Tools -License: BSD -URL: https://github.com/projectatomic/osbs-client -Source0: https://github.com/projectatomic/osbs-client/archive/%{commit}/osbs-client-%{commit}.tar.gz - -BuildArch: noarch - -%if 0%{?with_python3} -Requires: python3-osbs-client = %{version}-%{release} -Requires: python3-requests -Requires: python3-requests-kerberos -%else -Requires: python-osbs-client = %{version}-%{release} -%endif - -%if (0%{?fedora} <= 23 || 0%{?rhel} <= 7) -BuildRequires: python2-devel -BuildRequires: python-requests -BuildRequires: python-requests-kerberos -BuildRequires: python-setuptools -%else -BuildRequires: python2-devel -BuildRequires: python2-requests -BuildRequires: python2-requests-kerberos -BuildRequires: python-setuptools -%endif - -%if 0%{?with_check} -BuildRequires: pytest -BuildRequires: python-pytest-capturelog -BuildRequires: python-flexmock -BuildRequires: python-six -BuildRequires: python-dockerfile-parse -%endif # with_check - -%if 0%{?with_python3} -BuildRequires: python3-devel -BuildRequires: python3-requests -BuildRequires: python3-requests-kerberos -BuildRequires: python3-setuptools -%if 0%{?with_check} -BuildRequires: python3-dateutil -BuildRequires: python3-pytest -BuildRequires: python3-pytest-capturelog -BuildRequires: python3-flexmock -BuildRequires: python3-six -BuildRequires: python3-dockerfile-parse -BuildRequires: python3-pytest-runner -%endif # with_check -%endif # with_python3 - - -Provides: osbs = %{version}-%{release} -Obsoletes: osbs < %{osbs_obsolete_vr} - -%description -It is able to query OpenShift v3 for various stuff related to building images. -It can initiate builds, list builds, get info about builds, get build logs... -This package contains osbs command line client. - -%package -n python-osbs-client -Summary: Python 2 module for OpenShift Build Service -Group: Development/Tools -License: BSD -Requires: python-dockerfile-parse -Requires: python-setuptools -Requires: krb5-workstation -%if 0%{?rhel} && 0%{?rhel} <= 6 -Requires: python-argparse -%endif -%if (0%{?fedora} <= 23 || 0%{?rhel} <= 7) -Requires: python-requests -Requires: python-requests-kerberos -%else -Requires: python2-requests -Requires: python2-requests-kerberos -%endif - -Provides: python-osbs = %{version}-%{release} -Obsoletes: python-osbs < %{osbs_obsolete_vr} -%{?python_provide:%python_provide python-osbs-client} - -%description -n python-osbs-client -It is able to query OpenShift v3 for various stuff related to building images. -It can initiate builds, list builds, get info about builds, get build logs... -This package contains osbs Python 2 bindings. - -%if 0%{?with_python3} -%package -n python3-osbs-client -Summary: Python 3 module for OpenShift Build Service -Group: Development/Tools -License: BSD -Requires: python3-dockerfile-parse -Requires: python3-dateutil -Requires: python3-setuptools -Requires: python3-requests -Requires: python3-requests-kerberos -Requires: krb5-workstation - -Provides: python3-osbs = %{version}-%{release} -Obsoletes: python3-osbs < %{osbs_obsolete_vr} -%{?python_provide:%python_provide python3-osbs-client} - -%description -n python3-osbs-client -It is able to query OpenShift v3 for various stuff related to building images. -It can initiate builds, list builds, get info about builds, get build logs... -This package contains osbs Python 3 bindings. -%endif # with_python3 - - -%prep -%setup -qn %{name}-%{commit} - -# Remove this test, it tries to hit httpbin.org which fails the build in koji -rm -f tests/test_http.py - -%build -%py2_build - -%if 0%{?with_python3} -%py3_build -%endif # with_python3 - - -%install -%if 0%{?with_python3} -%py3_install -mv %{buildroot}%{_bindir}/osbs %{buildroot}%{_bindir}/osbs-%{python3_version} -ln -s %{_bindir}/osbs-%{python3_version} %{buildroot}%{_bindir}/osbs-3 -%endif # with_python3 - -%py2_install -mv %{buildroot}%{_bindir}/osbs %{buildroot}%{_bindir}/osbs-%{python2_version} -ln -s %{_bindir}/osbs-%{python2_version} %{buildroot}%{_bindir}/osbs-2 -ln -s %{_bindir}/osbs-%{binaries_py_version} %{buildroot}%{_bindir}/osbs - -%if 0%{?with_check} -%check -%if 0%{?with_python3} -LANG=en_US.utf8 py.test-%{python3_version} -vv tests -%endif # with_python3 - -LANG=en_US.utf8 py.test-%{python2_version} -vv tests -%endif # with_check - - -%files -%doc README.md -%{_bindir}/osbs - - -%files -n python-osbs-client -%doc README.md -%{!?_licensedir:%global license %doc} -%license LICENSE -%{_bindir}/osbs-%{python2_version} -%{_bindir}/osbs-2 -%{python2_sitelib}/osbs* -%dir %{_datadir}/osbs -%{_datadir}/osbs/*.json - - -%if 0%{?with_python3} -%files -n python3-osbs-client -%doc README.md -%{!?_licensedir:%global license %doc} -%license LICENSE -%{_bindir}/osbs-%{python3_version} -%{_bindir}/osbs-3 -%{python3_sitelib}/osbs* -%dir %{_datadir}/osbs -%{_datadir}/osbs/*.json -%endif # with_python3 - -%changelog -* Fri Jun 09 2017 Adam Miller - 0.39.1-1 -- Update to latest upstream - -* Sat Feb 11 2017 Fedora Release Engineering - 0.33-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro HronĨok - 0.33-4 -- Rebuild for Python 3.6 - -* Thu Dec 15 2016 Adam Miller - 0.33-3 -- Update patch for site specific customizations to be in line with upstream -- Add cancel-build patch - -* Fri Dec 02 2016 Adam Miller - 0.33-2 -- Patch for koji krb5 -- Patch for site specific customizations - -* Tue Nov 29 2016 Adam Miller - 0.33-1 -- Update to latest upstream - -* Thu Oct 13 2016 Adam Miller - 0.32-1 -- Update to latest upstream - -* Thu Sep 22 2016 Adam Miller - 0.31-3 -- Update python-requests patch to handle python3 bytestrings properly - -* Thu Sep 22 2016 Adam Miller - 0.31-2 -- Fix python3 requires - -* Thu Sep 22 2016 Adam Miller - 0.31-1 -- Update to latest upstream - -* Thu Sep 22 2016 Adam Miller - 0.30-3 -- Handle new Requires/BuildRequires for epel/f23 and older as well as f24+ - -* Wed Sep 21 2016 Adam Miller - 0.30-2 -- Apply patch from puiterwijk to switch to python-requests from pycurl - -* Tue Sep 20 2016 Adam Miller - 0.30-1 -- new upstream release: 0.30 - -* Tue Sep 06 2016 Adam Miller - 0.29-1 -- new upstream release: 0.29 - -* Tue Jul 19 2016 Fedora Release Engineering - 0.24-2 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Mon May 23 2016 Martin Milata - 0.24-1 -- new upstream release: 0.24 - -* Wed May 11 2016 Martin Milata - 0.23-1 -- new upstream release: 0.23 - -* Mon Apr 25 2016 Martin Milata - 0.22-1 -- new upstream release: 0.22 - -* Wed Apr 20 2016 Martin Milata - 0.21-1 -- new upstream release: 0.21 - -* Mon Apr 11 2016 Martin Milata - 0.20-1 -- new upstream release: 0.20 - -* Thu Apr 07 2016 Martin Milata - 0.19-1 -- new upstream release: 0.19 - -* Thu Mar 10 2016 Martin Milata - 0.18-1 -- new upstream release: 0.18 - -* Fri Feb 12 2016 Martin Milata - 0.17-2 -- new upstream release: 0.17 - -* Thu Feb 04 2016 Fedora Release Engineering - 0.16-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Jan 21 2016 Martin Milata - 0.16-1 -- new upstream release: 0.16 - -* Fri Nov 20 2015 Jiri Popelka - 0.15-4 -- use py_build & py_install macros -- use python_provide macro -- do not use py3dir -- ship executables per packaging guidelines - -* Fri Nov 13 2015 Jiri Popelka - 0.15-3 -- rebuilt for Python3.5 - -* Thu Nov 05 2015 Jiri Popelka - 0.15-2 -- build for Python 3 -- %%check section - -* Mon Oct 19 2015 Tomas Tomecek - 0.15-1 -- new upstream release: 0.15 - -* Thu Aug 06 2015 bkabrda - 0.14-2 -- renamed to osbs-client - -* Wed Jul 01 2015 Martin Milata - 0.14-1 -- new upstream release: 0.14 - -* Fri Jun 12 2015 Tomas Tomecek - 0.13.1-1 -- new fixup upstream release: 0.13.1 - -* Fri Jun 12 2015 Tomas Tomecek - 0.13-1 -- new upstream release: 0.13 - -* Wed Jun 10 2015 Tomas Tomecek - 0.12-1 -- new upstream release: 0.12 - -* Wed Jun 03 2015 Martin Milata - 0.11-1 -- new upstream release: 0.11 - -* Thu May 28 2015 Tomas Tomecek - 0.10-1 -- new upstream release: 0.10 - -* Thu May 28 2015 Tomas Tomecek - 0.9-1 -- new upstream release: 0.9 - -* Mon May 25 2015 Jiri Popelka - 0.8-1 -- new upstream release: 0.8 - -* Fri May 22 2015 Tomas Tomecek - 0.7-1 -- new upstream release: 0.7 - -* Thu May 21 2015 Jiri Popelka - 0.6-2 -- fix %%license handling - -* Thu May 21 2015 Tomas Tomecek - 0.6-1 -- new upstream release: 0.6 - -* Tue May 19 2015 Tomas Tomecek - 0.5-1 -- new upstream release: 0.5 - -* Tue May 12 2015 Slavek Kabrda - 0.4-2 -- Introduce python-osbs subpackage -- move /usr/bin/osbs to /usr/bin/osbs2, /usr/bin/osbs is now a symlink -- depend on python[3]-setuptools because of entrypoints usage - -* Tue Apr 21 2015 Martin Milata - 0.4-1 -- new upstream release - -* Wed Apr 15 2015 Martin Milata - 0.3-1 -- new upstream release - -* Wed Apr 08 2015 Martin Milata - 0.2-2.c1216ba -- update to c1216ba - -* Tue Apr 07 2015 Tomas Tomecek - 0.2-1 -- new upstream release - -* Tue Mar 24 2015 Jiri Popelka - 0.1-4 -- update to 758648c8 - -* Thu Mar 19 2015 Jiri Popelka - 0.1-3 -- no need to require also python-requests - -* Thu Mar 19 2015 Jiri Popelka - 0.1-2 -- separate executable for python 3 - -* Wed Mar 18 2015 Jiri Popelka - 0.1-1 -- initial spec diff --git a/sources b/sources deleted file mode 100644 index 1cebdfe..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (osbs-client-ce184c63bf10bb020aa4039765ccd477cd6f6eea.tar.gz) = e89a43cfd94dca783b86db49bb94472cc96c88db477a2c1267ce7e194752ace50f164ebd14b2a85ffcb494c224493c71b2c3881b5771f8e7b1efcb6a2ae80d7e