public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/copr-rpmbuild] f43: Update copr-rpmbuild to 1.12-1
@ 2026-11-12 11:26 Pavel Raiskup
0 siblings, 0 replies; only message in thread
From: Pavel Raiskup @ 2026-11-12 11:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/copr-rpmbuild
Branch : f43
Commit : 9aea1d5a763b28e5a605db1ac2b4eec6438a0b8b
Author : Pavel Raiskup <pavel@raiskup.cz>
Date : 2026-11-12T12:26:16+01:00
Stats : +14/-6 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/copr-rpmbuild/c/9aea1d5a763b28e5a605db1ac2b4eec6438a0b8b?branch=f43
Log:
Update copr-rpmbuild to 1.12-1
---
diff --git a/copr-rpmbuild.spec b/copr-rpmbuild.spec
index 6e68bd7..e029ad4 100644
--- a/copr-rpmbuild.spec
+++ b/copr-rpmbuild.spec
@@ -1,4 +1,3 @@
-%global __python %__python3
%global python python3
%global python_pfx python3
%global rpm_python python3-rpm
@@ -14,7 +13,7 @@ Requires: %1 \
%{expand: %%global latest_requires_packages %1 %%{?latest_requires_packages}}
Name: copr-rpmbuild
-Version: 1.11
+Version: 1.12
Summary: Run COPR build tasks
Release: 1%{?dist}
URL: https://github.com/fedora-copr/copr
@@ -40,7 +39,6 @@ BuildRequires: %{rpm_python}
BuildRequires: asciidoc
BuildRequires: dist-git-client
BuildRequires: git
-BuildRequires: %{python}-setuptools
BuildRequires: %{python}-pytest
BuildRequires: %{python_pfx}-munch
BuildRequires: %{python}-requests
@@ -178,8 +176,14 @@ done
PYTHON=%{python} ./run_tests.sh -vv --no-coverage
+%generate_buildrequires
+export name="%{name}" version="%{version}" summary="%{summary}"
+%pyproject_buildrequires
+
+
%build
-name="%{name}" version="%{version}" summary="%{summary}" %py_build
+export name="%{name}" version="%{version}" summary="%{summary}"
+%pyproject_wheel
a2x -d manpage -f manpage man/copr-rpmbuild.1.asciidoc
%global mock_config_overrides %_sysconfdir/copr-rpmbuild/mock-config-overrides
@@ -247,7 +251,7 @@ install -p -m 755 bin/copr-rpmbuild-cancel %buildroot%_bindir
install -p -m 755 bin/copr-rpmbuild-log %buildroot%_bindir
install -p -m 755 bin/copr-rpmbuild-loggify %buildroot%_bindir
-name="%{name}" version="%{version}" summary="%{summary}" %py_install
+%pyproject_install
install -p -m 755 copr-update-builder %buildroot%_bindir
@@ -304,6 +308,10 @@ EOF
%changelog
+* Thu Nov 12 2026 Pavel Raiskup <pavel@raiskup.cz> 1.12-1
+- build from DistGit forks
+- stop using deprecated %%py_build/%%py_install macros
+
* Mon Nov 02 2026 Jakub Kadlcik <frostyx@email.cz> 1.11-1
- Support builds from DistGit repository forks
- Retry source URL downloads when building SRPMs
diff --git a/sources b/sources
index 1e6ad1f..e099421 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (copr-rpmbuild-1.11.tar.gz) = 92429803c62a21d9ccc3ef7cfb1325dbad132f0769857a99120ea2eed8c6518be6508f23446f387df3ce110a1fad8dbc9fcf45f1447fe13c0e919c3eaf881efd
+SHA512 (copr-rpmbuild-1.12.tar.gz) = 083552fbd7f872a50a5c251b9a5f8de8063e5ed4b90b225b7b1b8951c19ca7d831391a6e99ce79dab9bd91c80ad74a5ea81e1c88c3dc027fe3bc4e502978a226
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-12 11:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12 11:26 [rpms/copr-rpmbuild] f43: Update copr-rpmbuild to 1.12-1 Pavel Raiskup
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox