The package rpms/copr-rpmbuild.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/copr-rpmbuild.git/commit/?id=8ad1....
Change:
+%ifarch x86_64
Thanks.
Full change:
============
commit c5cb731ed9e038a7057abaa395e30b4fb87295bf
Author: Pavel Raiskup <praiskup(a)redhat.com>
Date: Mon Jul 29 10:05:54 2019 +0200
Update copr-rpmbuild to 0.30-1
diff --git a/copr-rpmbuild.spec b/copr-rpmbuild.spec
index 4d5e615..72e4ab7 100644
--- a/copr-rpmbuild.spec
+++ b/copr-rpmbuild.spec
@@ -18,18 +18,16 @@ Requires: %1 \
%{expand: %%global latest_requires_packages %1 %%{?latest_requires_packages}}
Name: copr-rpmbuild
-Version: 0.29
+Version: 0.30
Summary: Run COPR build tasks
-Release: 2%{?dist}
+Release: 1%{?dist}
URL:
https://pagure.io/copr/copr
License: GPLv2+
# Source is created by:
-# git clone
https://pagure.io/copr/copr.git
-# git checkout copr-rpmbuild-0.29
-# cd copr/rpmbuild
-# rpkg spec --sources
-Source0: copr-rpmbuild-0.29.tar.gz
+# git clone %%url && cd copr
+# tito build --tgz --tag %%name-%%version-%%release
+Source0: %name-%version.tar.gz
BuildRequires: %{python}-devel
BuildRequires: %{python}-distro
@@ -207,8 +205,9 @@ install -p -m 755 copr-update-builder %buildroot%_bindir
%changelog
-* Wed Jul 24 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.29-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+* Mon Jul 29 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.30-1
+- drop SCM parameters from copr-rpmbuild
+- implement --task-file and --task-url parameters (issue#517)
* Fri Jun 07 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.29-1
- clean /var/cache/mock automatically
diff --git a/sources b/sources
index 8652a8b..f935bb2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (copr-rpmbuild-0.29.tar.gz) =
4d32f6ca5dd670f1578f100acffa821bbafbfb92ee3a7b4c97f45e7d448895f16631976c5e5c711111c456f026b5ac460d348a2377a802ea404659e26e4599fa
+SHA512 (copr-rpmbuild-0.30.tar.gz) =
384a4032c8ca230c873407c0e8c812793f6b7a3cc772fd5f5f8961b9223f6fbd8e0db81fafa762ffbdc9eb284a099c175616793b574b1942b326cc17c24a68b1
commit aca13c900f83a30cac2fb67ee87bc0afb0bd8ace
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Jul 24 21:00:20 2019 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/copr-rpmbuild.spec b/copr-rpmbuild.spec
index 077e3e8..4d5e615 100644
--- a/copr-rpmbuild.spec
+++ b/copr-rpmbuild.spec
@@ -20,7 +20,7 @@ Requires: %1 \
Name: copr-rpmbuild
Version: 0.29
Summary: Run COPR build tasks
-Release: 1%{?dist}
+Release: 2%{?dist}
URL:
https://pagure.io/copr/copr
License: GPLv2+
@@ -207,6 +207,9 @@ install -p -m 755 copr-update-builder %buildroot%_bindir
%changelog
+* Wed Jul 24 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.29-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
* Fri Jun 07 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.29-1
- clean /var/cache/mock automatically
commit 5fe4821befdb3a1ea13c2e002d5fa3f912180a79
Author: Pavel Raiskup <praiskup(a)redhat.com>
Date: Fri Jun 7 07:15:25 2019 +0200
new release
Version: 0.29-1
diff --git a/copr-rpmbuild.spec b/copr-rpmbuild.spec
index 69ab674..077e3e8 100644
--- a/copr-rpmbuild.spec
+++ b/copr-rpmbuild.spec
@@ -18,7 +18,7 @@ Requires: %1 \
%{expand: %%global latest_requires_packages %1 %%{?latest_requires_packages}}
Name: copr-rpmbuild
-Version: 0.28
+Version: 0.29
Summary: Run COPR build tasks
Release: 1%{?dist}
URL:
https://pagure.io/copr/copr
@@ -26,10 +26,10 @@ License: GPLv2+
# Source is created by:
# git clone
https://pagure.io/copr/copr.git
-# git checkout copr-rpmbuild-0.28
+# git checkout copr-rpmbuild-0.29
# cd copr/rpmbuild
# rpkg spec --sources
-Source0: copr-rpmbuild-0.28.tar.gz
+Source0: copr-rpmbuild-0.29.tar.gz
BuildRequires: %{python}-devel
BuildRequires: %{python}-distro
@@ -207,6 +207,9 @@ install -p -m 755 copr-update-builder %buildroot%_bindir
%changelog
+* Fri Jun 07 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.29-1
+- clean /var/cache/mock automatically
+
* Mon May 27 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.28-1
- don't use --private-users=pick
diff --git a/sources b/sources
index bd1400b..8652a8b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (copr-rpmbuild-0.28.tar.gz) =
c8c24c2f7d6e256298ac9bcd27b398f16e6fa00ff47912d2de74cc61f45891f7550778bb99db3bd6eec69fd6f428d7dfb61d29db32648aa99ef8695b617b106c
+SHA512 (copr-rpmbuild-0.29.tar.gz) =
4d32f6ca5dd670f1578f100acffa821bbafbfb92ee3a7b4c97f45e7d448895f16631976c5e5c711111c456f026b5ac460d348a2377a802ea404659e26e4599fa
commit e54f2741a358901865625a020ab51e70b7a683ad
Author: Pavel Raiskup <praiskup(a)redhat.com>
Date: Mon May 27 14:02:08 2019 +0200
new release
Version: 0.28-1
diff --git a/copr-rpmbuild.spec b/copr-rpmbuild.spec
index c1b3802..69ab674 100644
--- a/copr-rpmbuild.spec
+++ b/copr-rpmbuild.spec
@@ -18,7 +18,7 @@ Requires: %1 \
%{expand: %%global latest_requires_packages %1 %%{?latest_requires_packages}}
Name: copr-rpmbuild
-Version: 0.27
+Version: 0.28
Summary: Run COPR build tasks
Release: 1%{?dist}
URL:
https://pagure.io/copr/copr
@@ -26,10 +26,10 @@ License: GPLv2+
# Source is created by:
# git clone
https://pagure.io/copr/copr.git
-# git checkout copr-rpmbuild-0.27
+# git checkout copr-rpmbuild-0.28
# cd copr/rpmbuild
# rpkg spec --sources
-Source0: copr-rpmbuild-0.27.tar.gz
+Source0: copr-rpmbuild-0.28.tar.gz
BuildRequires: %{python}-devel
BuildRequires: %{python}-distro
@@ -207,6 +207,9 @@ install -p -m 755 copr-update-builder %buildroot%_bindir
%changelog
+* Mon May 27 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.28-1
+- don't use --private-users=pick
+
* Mon May 20 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.27-1
- enforce use_host_resolv
- require even nosync.i686
diff --git a/sources b/sources
index 4179db5..bd1400b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (copr-rpmbuild-0.27.tar.gz) =
b98a0c3b0e5489c4b05db58dfcb539771b1648fb3403b1efb2c876495ba2f7e6539962a6a7188a9a98d02f810f4704730610f741da3a6dcc62498808cd01f34e
+SHA512 (copr-rpmbuild-0.28.tar.gz) =
c8c24c2f7d6e256298ac9bcd27b398f16e6fa00ff47912d2de74cc61f45891f7550778bb99db3bd6eec69fd6f428d7dfb61d29db32648aa99ef8695b617b106c
commit 8ad1fd9d12c5530c4210e03fafeefe98e52fc33a
Author: Pavel Raiskup <praiskup(a)redhat.com>
Date: Mon May 20 11:40:53 2019 +0200
new release
Version: 0.27-1
diff --git a/copr-rpmbuild.spec b/copr-rpmbuild.spec
index 0f05757..c1b3802 100644
--- a/copr-rpmbuild.spec
+++ b/copr-rpmbuild.spec
@@ -10,24 +10,26 @@
%global rpm_python rpm-python
%endif
+# do not build debuginfo sub-packages
+%define debug_package %nil
+
%define latest_requires() \
Requires: %1 \
%{expand: %%global latest_requires_packages %1 %%{?latest_requires_packages}}
Name: copr-rpmbuild
-Version: 0.26
+Version: 0.27
Summary: Run COPR build tasks
Release: 1%{?dist}
URL:
https://pagure.io/copr/copr
License: GPLv2+
-BuildArch: noarch
# Source is created by:
# git clone
https://pagure.io/copr/copr.git
-# git checkout copr-rpmbuild-0.26
+# git checkout copr-rpmbuild-0.27
# cd copr/rpmbuild
# rpkg spec --sources
-Source0: copr-rpmbuild-0.26.tar.gz
+Source0: copr-rpmbuild-0.27.tar.gz
BuildRequires: %{python}-devel
BuildRequires: %{python}-distro
@@ -94,8 +96,12 @@ Requires: python3-libsemanage
Requires: libselinux-python
Requires: libsemanage-python
%endif
-# for mock to allow 'nosync = True'
+# for mock to allow: config_opts['nosync'] = True
Requires: nosync
+%ifarch x86_64
+# multilib counterpart to avoid: config_opts['nosync_force'] = True
+Requires: nosync(x86-32)
+%endif
Requires: openssh-clients
Requires: pyp2rpm
# We need %%pypi_source defined, which is in 3-29+
@@ -201,6 +207,10 @@ install -p -m 755 copr-update-builder %buildroot%_bindir
%changelog
+* Mon May 20 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.27-1
+- enforce use_host_resolv
+- require even nosync.i686
+
* Tue May 14 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.26-1
- [rpmbuild] ansible_python_interpreter: /usr/bin/python3
- [rpmbuild] install dnf-utils instead of yum-utils on Fedora
diff --git a/sources b/sources
index 040f89b..4179db5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (copr-rpmbuild-0.26.tar.gz) =
11b9426ef7df4f8e3c2d666d3d195aeecca63e02a739e94bc317366fbad17b8fa30de1cf139175d4235566c3fc2d0c4f145d7de952e3e201754eb4c7bbdc12da
+SHA512 (copr-rpmbuild-0.27.tar.gz) =
b98a0c3b0e5489c4b05db58dfcb539771b1648fb3403b1efb2c876495ba2f7e6539962a6a7188a9a98d02f810f4704730610f741da3a6dcc62498808cd01f34e
commit 7e4e611dfacb446bbcaa2462f43472e9466b43dc
Author: Pavel Raiskup <praiskup(a)redhat.com>
Date: Tue May 14 07:05:01 2019 +0200
Update to new version
This mostly brings a more complete copr-builder package.
Version: 0.26-1
diff --git a/.gitignore b/.gitignore
index 708bc68..9f975f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,19 +1 @@
-/copr-rpmbuild-0.6.tar.gz
-/copr-rpmbuild-0.7.tar.gz
-/copr-rpmbuild-0.8.tar.gz
-/copr-rpmbuild-0.9.tar.gz
-/copr-rpmbuild-0.10.tar.gz
-/copr-rpmbuild-0.11.tar.gz
-/copr-rpmbuild-0.12.tar.gz
-/copr-rpmbuild-0.13.tar.gz
-/copr-rpmbuild-0.15.tar.gz
-/copr-rpmbuild-0.16.tar.gz
-/copr-rpmbuild-git-8.d6c2925.tar.gz
-/copr-rpmbuild-0.17.tar.gz
-/copr-rpmbuild-0.18.tar.gz
-/copr-rpmbuild-0.19.tar.gz
-/copr-rpmbuild-0.20.tar.gz
-/copr-rpmbuild-0.21.tar.gz
-/copr-rpmbuild-0.22.tar.gz
-/copr-rpmbuild-0.24.tar.gz
-/copr-rpmbuild-0.25.tar.gz
+/copr-rpmbuild-*.tar.gz
diff --git a/copr-rpmbuild.spec b/copr-rpmbuild.spec
index d1a0772..0f05757 100644
--- a/copr-rpmbuild.spec
+++ b/copr-rpmbuild.spec
@@ -10,8 +10,12 @@
%global rpm_python rpm-python
%endif
+%define latest_requires() \
+Requires: %1 \
+%{expand: %%global latest_requires_packages %1 %%{?latest_requires_packages}}
+
Name: copr-rpmbuild
-Version: 0.25
+Version: 0.26
Summary: Run COPR build tasks
Release: 1%{?dist}
URL:
https://pagure.io/copr/copr
@@ -20,12 +24,16 @@ BuildArch: noarch
# Source is created by:
# git clone
https://pagure.io/copr/copr.git
-# git checkout copr-rpmbuild-0.25
+# git checkout copr-rpmbuild-0.26
# cd copr/rpmbuild
# rpkg spec --sources
-Source0: copr-rpmbuild-0.25.tar.gz
+Source0: copr-rpmbuild-0.26.tar.gz
BuildRequires: %{python}-devel
+BuildRequires: %{python}-distro
+%if 0%{?rhel} == 0 || 0%{?rhel} != 6
+BuildRequires: %{python}-httmock
+%endif
BuildRequires: %{rpm_python}
BuildRequires: asciidoc
BuildRequires: %{python}-setuptools
@@ -51,6 +59,7 @@ Requires: %{python_pfx}-simplejson
Requires: mock
Requires: git
Requires: git-svn
+# for the /bin/unbuffer binary
Requires: expect
%if 0%{?fedora} || 0%{?rhel} > 7
@@ -66,14 +75,53 @@ Provides command capable of running COPR build-tasks.
Example: copr-rpmbuild 12345-epel-7-x86_64 will locally
build build-id 12345 for chroot epel-7-x86_64.
+
%package -n copr-builder
Summary: copr-rpmbuild with all weak dependencies
Requires: %{name} = %{version}-%{release}
+
+%if 0%{?fedora}
+# 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}
+Requires: python3-libselinux
+Requires: python3-libsemanage
+%else
+Requires: libselinux-python
+Requires: libsemanage-python
+%endif
+# for mock to allow 'nosync = True'
+Requires: nosync
+Requires: openssh-clients
+Requires: pyp2rpm
+# We need %%pypi_source defined, which is in 3-29+
+Requires: python-srpm-macros >= 3-29
Requires: rpkg
-Requires: tito
+Requires: rsync
Requires: rubygem-gem2rpm
-Requires: pyp2rpm
-Requires: python-srpm-macros
+Requires: scl-utils-build
+Requires: tito
+# yum* to allow mock to build against el* chroots without bootstrap_container
+%if 0%{?rhel}
+Requires: yum
+Requires: yum-utils
+%endif
+
+# We want those to be always up-2-date
+%latest_requires ca-certificates
+%latest_requires distribution-gpg-keys
+%if 0%{?fedora}
+%latest_requires dnf
+%latest_requires dnf-plugins-core
+%endif
+%latest_requires mock
+%latest_requires mock-core-configs
+%latest_requires rpm
+
%description -n copr-builder
Provides command capable of running COPR build-tasks.
@@ -82,16 +130,30 @@ build build-id 12345 for chroot epel-7-x86_64.
This package contains all optional modules for building SRPM.
+
%prep
%setup -q
+
%check
PYTHON=%{python} ./run_tests.sh
+
%build
name="%{name}" version="%{version}" summary="%{summary}"
%py_build
a2x -d manpage -f manpage man/copr-rpmbuild.1.asciidoc
+cat > copr-update-builder <<EOF
+#! /bin/sh
+
+# Update the Copr builder machine, can be called anytime Copr build system
+# decides to do so (please keep the output idempotent).
+
+# install the latest versions of those packages
+dnf update -y %latest_requires_packages
+EOF
+
+
%install
install -d %{buildroot}%{_sysconfdir}/copr-rpmbuild
install -d %{buildroot}%{_sharedstatedir}/copr-rpmbuild
@@ -111,6 +173,9 @@ install -p -m 755 bin/copr-sources-custom %buildroot%_bindir
name="%{name}" version="%{version}" summary="%{summary}"
%py_install
+install -p -m 755 copr-update-builder %buildroot%_bindir
+
+
%files
%{!?_licensedir:%global license %doc}
%license LICENSE
@@ -132,8 +197,19 @@ name="%{name}" version="%{version}"
summary="%{summary}" %py_install
%files -n copr-builder
%license LICENSE
+%_bindir/copr-update-builder
+
%changelog
+* Tue May 14 2019 Pavel Raiskup <praiskup(a)redhat.com> 0.26-1
+- [rpmbuild] ansible_python_interpreter: /usr/bin/python3
+- [rpmbuild] install dnf-utils instead of yum-utils on Fedora
+- [rpmbuild] builder: document some of the requires
+- [rpmbuild] builder: merge dependencies from playbooks
+- [rpmbuild] don't define %%_disable_source_fetch
+- [rpmbuild] use six.moves.urllib.parse
+- [rpmbuild] download srpm/spec if url contains query string
+
* Wed Apr 24 2019 Jakub Kadlk <frostyx(a)email.cz> 0.25-1
- remove dependency on python3-configparser
diff --git a/sources b/sources
index 2e92d85..040f89b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (copr-rpmbuild-0.25.tar.gz) =
739f1dc1aa0640b9de823e37d633faf4a9726a0d531d580bafbff5737be2a59ed5a00bf77d950e0ad122ed9f246ecd5cc3b5ef26cd162b65d3cf2f8cfad94ca2
+SHA512 (copr-rpmbuild-0.26.tar.gz) =
11b9426ef7df4f8e3c2d666d3d195aeecca63e02a739e94bc317366fbad17b8fa30de1cf139175d4235566c3fc2d0c4f145d7de952e3e201754eb4c7bbdc12da