diff options
author | CoprDistGit <infra@openeuler.org> | 2023-03-22 02:48:34 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-03-22 02:48:34 +0000 |
commit | 0aa03c9544f2f54e7dcaaf4e171e5cbcb3c97d3c (patch) | |
tree | f6550852fbd8b6c301274139bd3a6e2273bc3b58 | |
parent | 2f86e0eabae502665ffd7443c20035c53d36611a (diff) |
automatic import of copr-rpmbuild
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | copr-rpmbuild.spec | 22 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 14 insertions, 11 deletions
@@ -1 +1,2 @@ /copr-rpmbuild-0.64.tar.gz +/copr-rpmbuild-git-47.a93386c.tar.gz diff --git a/copr-rpmbuild.spec b/copr-rpmbuild.spec index ed5c990..6c1b770 100644 --- a/copr-rpmbuild.spec +++ b/copr-rpmbuild.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} > 7 || 0%{?openEuler} %global __python %__python3 %global python python3 %global python_pfx python3 @@ -23,14 +23,14 @@ Requires: %1 \ Name: copr-rpmbuild Version: 0.64 Summary: Run COPR build tasks -Release: 1%{?dist} +Release: 1.git.47.a93386c%{?dist} URL: https://github.com/fedora-copr/copr License: GPL-2.0-or-later # Source is created by: # git clone %%url && cd copr # tito build --tgz --tag %%name-%%version-%%release -Source0: %name-%version.tar.gz +Source0: copr-rpmbuild-git-47.a93386c.tar.gz BuildRequires: %{python}-copr-common >= %copr_common_version BuildRequires: %{python}-devel @@ -49,7 +49,7 @@ BuildRequires: %{python_pfx}-jinja2 BuildRequires: %{python_pfx}-simplejson BuildRequires: %{python}-backoff -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} > 7 || 0%{?openEuler} BuildRequires: argparse-manpage %endif BuildRequires: python-rpm-macros @@ -76,7 +76,7 @@ Requires: expect Requires: qemu-user-static Requires: sed -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} > 7 || 0%{?openEuler} Recommends: rpkg Recommends: python-srpm-macros Suggests: tito @@ -96,14 +96,14 @@ Summary: copr-rpmbuild with all weak dependencies Requires: %{name} = %{version}-%{release} Requires: copr-distgit-client = %{version}-%{release} -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?openEuler} # replacement for yum/yum-utils, to be able to work with el* chroots # bootstrap_container. Requires: dnf-yum Requires: dnf-utils %endif # selinux toolset to allow running ansible against the builder -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?openEuler} Requires: python3-libselinux Requires: python3-libsemanage %else @@ -127,8 +127,10 @@ Requires: rsync Requires: rubygem-gem2rpm Requires: scl-utils-build Requires: tito +%if 0%{?rhel} || 0%{?fedora} Requires: fedora-review >= 0.8 Requires: fedora-review-plugin-java +%endif # yum* to allow mock to build against el* chroots without bootstrap_container %if 0%{?rhel} Requires: yum @@ -182,7 +184,7 @@ the corresponding dist-git instance configuration. %prep -%setup -q +%setup -q -n copr-rpmbuild-git-47.a93386c for script in bin/copr-rpmbuild* \ bin/copr-distgit* do @@ -276,7 +278,7 @@ install -p -m 755 copr-update-builder %buildroot%_bindir ) install -p -m 755 bin/copr-distgit-client %buildroot%_bindir -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} > 7 || 0%{?openEuler} argparse-manpage --pyfile copr_distgit_client.py \ --function _get_argparser \ --author "Copr Team" \ @@ -324,7 +326,7 @@ install -p -m 644 copr_distgit_client.py %{buildroot}%{expand:%%%{python}_siteli %files -n copr-distgit-client %license LICENSE %_bindir/copr-distgit-client -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} > 7 || 0%{?openEuler} %_mandir/man1/copr-distgit-client.1* %endif %dir %_sysconfdir/copr-distgit-client @@ -1 +1 @@ -a9eb287eee5e074b41b0f65eeda5900c copr-rpmbuild-0.64.tar.gz +587c3c7d8d9e332cd97e184a7f25c166 copr-rpmbuild-git-47.a93386c.tar.gz |