diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-21 03:22:44 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-21 03:22:44 +0000 |
commit | da613255b097f22411631c95e1c93be71df5d833 (patch) | |
tree | a4ac6bc5c47f8ca7a04b465d8b138f21e7fadea1 | |
parent | b3f2b618a2ce74cb90105ae8b5c416d0d18bbdee (diff) |
automatic import of python-copropeneuler23.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-copr.spec | 23 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 9 insertions, 17 deletions
@@ -2,3 +2,4 @@ /python-copr-git-7640.d26c50c.tar.gz /python-copr-git-52.1e41ed5.tar.gz /python-copr-1.129.tar.gz +/python-copr-git-62.dd025d4.tar.gz diff --git a/python-copr.spec b/python-copr.spec index 03cee42..fbebe8d 100644 --- a/python-copr.spec +++ b/python-copr.spec @@ -1,16 +1,14 @@ %global srcname copr -%if 0%{?fedora} || 0%{?rhel} > 7 -%global with_python3 1 -%endif - %if 0%{?rhel} && 0%{?rhel} <= 7 %global with_python2 1 +%else +%global with_python3 1 %endif Name: python-copr Version: 1.129 -Release: 1%{?dist} +Release: 1.git.62.7442ec4%{?dist} Summary: Python interface for Copr License: GPL-2.0-or-later @@ -19,7 +17,7 @@ URL: https://github.com/fedora-copr/copr # Source is created by: # git clone %%url && cd copr # tito build --tgz --tag %%name-%%version-%%release -Source0: %name-%version.tar.gz +Source0: python-copr-git-62.dd025d4.tar.gz BuildArch: noarch @@ -39,7 +37,6 @@ BuildRequires: python-configparser BuildRequires: pytest BuildRequires: python2-devel BuildRequires: python2-requests-gssapi -BuildRequires: python-future # for doc package BuildRequires: python-sphinx BuildRequires: python-docutils @@ -54,7 +51,6 @@ BuildRequires: python-munch BuildRequires: python2-filelock BuildRequires: python2-configparser BuildRequires: python2-requests-gssapi -BuildRequires: python-future # for doc package BuildRequires: python2-sphinx BuildRequires: python2-docutils @@ -86,7 +82,6 @@ Requires: python-requests-toolbelt Requires: python-requests-gssapi Requires: python-setuptools Requires: python-six >= 1.9.0 -Requires: python-future %else Requires: python2-configparser Requires: python2-munch @@ -96,7 +91,6 @@ Requires: python2-requests-toolbelt Requires: python2-setuptools Requires: python2-requests-gssapi Requires: python2-six >= 1.9.0 -Requires: python-future %endif %{?python_provide:%python_provide python2-copr} @@ -123,7 +117,6 @@ BuildRequires: python3-requests-toolbelt BuildRequires: python3-six BuildRequires: python3-sphinx BuildRequires: python3-requests-gssapi -BuildRequires: python3-future Requires: python3-munch Requires: python3-filelock @@ -132,12 +125,10 @@ Requires: python3-requests-toolbelt Requires: python3-setuptools Requires: python3-six Requires: python3-requests-gssapi -Requires: python3-future -%endif %{?python_provide:%python_provide python3-copr} -%if 0%{?fedora} > 30 || 0%{?rhel} > 8 +%else # These are not in requirements.txt Requires: python3-requests-gssapi @@ -145,8 +136,8 @@ BuildRequires: python3-devel BuildRequires: python3-sphinx BuildRequires: python3-pytest BuildRequires: python3-requests-gssapi -BuildRequires: python3-future BuildRequires: python3-filelock +BuildRequires: pyproject-rpm-macros %generate_buildrequires %pyproject_buildrequires -r @@ -175,7 +166,7 @@ developers only. %prep -%setup -q +%setup -q -n python-copr-git-62.dd025d4 %build @@ -1 +1 @@ -4bfa95a4e9a425b8d76b0b7366ef625a python-copr-1.129.tar.gz +5b36b2e8a105856936eb17dc432b69fb python-copr-git-62.dd025d4.tar.gz |