summaryrefslogtreecommitdiff
path: root/python-copr.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-copr.spec')
-rw-r--r--python-copr.spec15
1 files changed, 6 insertions, 9 deletions
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