summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-21 03:22:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-21 03:22:44 +0000
commiteece12da597425a94fcda8353de97c871ee4fd5e (patch)
treea4ac6bc5c47f8ca7a04b465d8b138f21e7fadea1
parentfded6ebb808a1b5156a5a55ce48c3bc114c2f46a (diff)
automatic import of python-copr
-rw-r--r--.gitignore1
-rw-r--r--python-copr.spec23
-rw-r--r--sources2
3 files changed, 9 insertions, 17 deletions
diff --git a/.gitignore b/.gitignore
index 9c1a78c..3e721b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/sources b/sources
index 51a8416..3cfbb98 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4bfa95a4e9a425b8d76b0b7366ef625a python-copr-1.129.tar.gz
+5b36b2e8a105856936eb17dc432b69fb python-copr-git-62.dd025d4.tar.gz