summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-30 06:28:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-30 06:28:25 +0000
commit2c30b149fd5243cf6dca572164bd6e4526ffc96e (patch)
tree19e3d843889b711fe761d8677c6cb3c263d6d22f
parentc1574777e9ef1a4087d78082e60ceca6cfa57525 (diff)
automatic import of python-copr
-rw-r--r--.gitignore1
-rw-r--r--python-copr.spec15
-rw-r--r--sources2
3 files changed, 8 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index e8bad1a..423be60 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/python-copr-git-7640.9b8b541.tar.gz
/python-copr-git-7640.d26c50c.tar.gz
+/python-copr-git-52.1e41ed5.tar.gz
diff --git a/python-copr.spec b/python-copr.spec
index 9ee719a..1db3898 100644
--- a/python-copr.spec
+++ b/python-copr.spec
@@ -1,16 +1,14 @@
%global srcname copr
-%if 0%{?fedora} || 0%{?rhel} > 7 || 0%{?openEuler}
-%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.git.7640.d26c50c%{?dist}
+Release: 1.git.52.0b462e7%{?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: python-copr-git-7640.d26c50c.tar.gz
+Source0: python-copr-git-52.1e41ed5.tar.gz
BuildArch: noarch
@@ -133,11 +131,10 @@ 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 || 0%{?openEuler}
+%else
# These are not in requirements.txt
Requires: python3-requests-gssapi
@@ -176,7 +173,7 @@ developers only.
%prep
-%setup -q -n python-copr-git-7640.d26c50c
+%setup -q -n python-copr-git-52.1e41ed5
%build
diff --git a/sources b/sources
index e5b9677..3d0cd09 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-35d2b5aa2832af20b8e46595bcfa5f75 python-copr-git-7640.d26c50c.tar.gz
+796cd359046ad69e86e65d58f4384593 python-copr-git-52.1e41ed5.tar.gz