diff options
author | CoprDistGit <infra@openeuler.org> | 2025-03-26 15:31:27 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-03-26 15:31:27 +0000 |
commit | 128517b59ab8c8ea0dbbc9addb29cbad32d652ca (patch) | |
tree | cc94c1d86ed40dd7b6df54777fb0143b8fb96d83 | |
parent | fbb3ba99aa8400fba5d0a7052becd1a0b7d937fe (diff) |
automatic import of python-copr-commonopeneuler24.03_LTS_SP1
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-copr-common.spec | 94 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 38 insertions, 59 deletions
@@ -1,2 +1,3 @@ /python-copr-common-1.0.tar.gz /python-copr-common-0.19.tar.gz +/python-copr-common-1.1.tar.gz diff --git a/python-copr-common.spec b/python-copr-common.spec index 3d134bd..7891fad 100644 --- a/python-copr-common.spec +++ b/python-copr-common.spec @@ -1,22 +1,7 @@ %global srcname copr-common -%if 0%{?rhel} && 0%{?rhel} <= 6 -%{!?_licensedir:%global license %%doc} -%global _pkgdocdir %{_docdir}/%{name}-%{version} -%endif - -%if 0%{?fedora} || 0%{?rhel} > 7 || 0%{?openEuler} -%global with_python3 1 -%global __python %_bindir/python3 -%endif - -%if 0%{?fedora} && 0%{?fedora} < 28 || 0%{?rhel} && 0%{?rhel} <= 7 -%global with_python2 1 -%global __python %_bindir/python2 -%endif - Name: python-copr-common -Version: 0.19 +Version: 1.1 Release: 1%{?dist} Summary: Python code used by Copr @@ -30,20 +15,12 @@ Source0: %name-%version.tar.gz BuildArch: noarch -%if %{with python2} -BuildRequires: python2-devel -BuildRequires: python-setuptools -BuildRequires: python-pytest -BuildRequires: python-mock -BuildRequires: python-requests -%endif - -%if %{with python3} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pytest BuildRequires: python3-requests -%endif +BuildRequires: python3-filelock +BuildRequires: python3-setproctitle %global _description\ COPR is lightweight build system. It allows you to create new project in WebUI,\ @@ -56,65 +33,66 @@ useful for developers only.\ %description %_description -%if %{with python2} -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} -%description -n python2-%{srcname} %_description -%endif - - -%if %{with python3} %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %_description -%endif %prep %setup -q +# Check that setup.py version matches our version +grep '"%version"' setup.py %build -%if %{with python3} version="%version" %py3_build -%endif - -%if %{with python2} -version="%version" %py2_build -%endif %install -%if %{with python3} version=%version %py3_install -%endif - -%if %{with python2} -version=%version %py2_install -%endif - %check -%{__python} -m pytest -vv tests +%{_bindir}/python3 -m pytest -vv tests -%if %{with python3} %files -n python3-%{srcname} %license LICENSE %{python3_sitelib}/* -%endif -%if %{with python2} -%files -n python2-%{srcname} -%license LICENSE -%{python2_sitelib}/* -%endif - %changelog +* Tue Mar 25 2025 Pavel Raiskup <praiskup@redhat.com> 1.1-1 +- lock the pulp-redirect.txt file + +* Wed Oct 02 2024 Jiri Kyjovsky <j1.kyjovsky@gmail.com> 1.0-1 +- Drop support for rhel7 and rhel6 + +* Thu Aug 01 2024 Miroslav Suchý <msuchy@redhat.com> 0.25-1 +- frontend, backend, common: don't limit the storage to pulp only + +* Tue May 21 2024 Jakub Kadlcik <frostyx@email.cz> 0.24-1 +- Fix chroot_to_branch default + +* Fri Mar 15 2024 Pavel Raiskup <praiskup@redhat.com> 0.23-1 +- make get_redis_connection to accept dict-like 'opts' argument + +* Fri Mar 01 2024 Pavel Raiskup <praiskup@redhat.com> 0.22-1 +- fix misleading warning for non-copr library consumers +- add `contextlib.nullcontext` function as EL8 compat +- limit stdout/stderr of ssh.run_expensive() commands +- use 'copr-common/<version>' as http user agent identifier +- changes needed to allow user SSH to builders + +* Thu Nov 23 2023 Pavel Raiskup <praiskup@redhat.com> 0.21-1 +- rename GroupWorkerLimit to HashWorkerLimit +- explicitly build-depend on python-six + +* Tue Aug 15 2023 Pavel Raiskup <praiskup@redhat.com> 0.20-1 +- move chroot_to_branch from frontend to copr-common +- redis authentication support added + * Tue May 23 2023 Jakub Kadlcik <frostyx@email.cz> 0.19-1 - Specfile compatibility with OpenEuler @@ -1 +1 @@ -756a0e6b221c7b9afa58bd5539ccdd4c python-copr-common-0.19.tar.gz +d2869052f159c76dab69c0127fa27268 python-copr-common-1.1.tar.gz |