public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/copr-cli] rawhide: Update copr-cli to 2.6-1
@ 2026-08-11 23:10 Jakub Kadlcik
  0 siblings, 0 replies; only message in thread
From: Jakub Kadlcik @ 2026-08-11 23:10 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/copr-cli
Branch : rawhide
Commit : 32d8a5abf91b95c2ca2479f8ceecfdb09ff0dc68
Author : Jakub Kadlcik <frostyx@email.cz>
Date   : 2026-08-12T01:10:39+02:00
Stats  : +31/-13 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/copr-cli/c/32d8a5abf91b95c2ca2479f8ceecfdb09ff0dc68?branch=rawhide

Log:
Update copr-cli to 2.6-1

---
diff --git a/copr-cli.spec b/copr-cli.spec
index 7e55797..af6e1e2 100644
--- a/copr-cli.spec
+++ b/copr-cli.spec
@@ -2,8 +2,8 @@
 %global min_python_copr_version 2.5.1
 
 Name:       copr-cli
-Version:    2.5
-Release:    3%{?dist}
+Version:    2.6
+Release:    1%{?dist}
 Summary:    Command line interface for COPR
 
 License:    GPL-2.0-or-later
@@ -31,6 +31,7 @@ Requires:      python3-rich
 
 Recommends:    python3-progress
 Recommends:    python3-ConfigUpdater
+Recommends:    python3-coprtree
 Suggests:      python3-beautifulsoup4
 
 BuildRequires: python3-copr >= %min_python_copr_version
@@ -43,6 +44,11 @@ BuildRequires: python3-setuptools
 BuildRequires: python3-munch
 BuildRequires: python3-typing-extensions
 BuildRequires: python3-rich
+%if !(0%{?rhel} && 0%{?rhel} <= 8)
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: pyproject-rpm-macros
+%endif
 
 %if 0%{?rhel} && 0%{?rhel} <= 8
 Requires:      python3-dataclasses
@@ -63,21 +69,29 @@ This package contains command line interface.
 
 
 %build
-version="%{version}" %py_build
+%if 0%{?rhel} && 0%{?rhel} <= 8
+%py3_build
+%else
+%pyproject_wheel
+%endif
 mv copr_cli/README.rst ./
-# convert manages
+# convert manpages
 a2x -d manpage -f manpage man/copr-cli.1.asciidoc
 
 
 %install
-version="%{version}" %py_install
-ln -sf %{_bindir}/copr-cli %{buildroot}%{_bindir}/copr
+%if 0%{?rhel} && 0%{?rhel} <= 8
+%py3_install
+%else
+%pyproject_install
+%endif
+ln -sf copr-cli %{buildroot}%{_bindir}/copr
 install -d %{buildroot}%{_mandir}/man1
 install -p -m 644 man/copr-cli.1 %{buildroot}/%{_mandir}/man1/
 install -p man/copr.1 %{buildroot}/%{_mandir}/man1/
 install -d %{buildroot}%{_datadir}/cheat
 cp -a man/copr-cli.cheat %{buildroot}%{_datadir}/cheat/copr-cli
-ln -s %{_datadir}/cheat/copr-cli %{buildroot}%{_datadir}/cheat/copr
+ln -s copr-cli %{buildroot}%{_datadir}/cheat/copr
 install -m 755 copr_cli/package_build_order.py %{buildroot}/%{_bindir}/package-build-order
 
 
@@ -100,11 +114,15 @@ install -m 755 copr_cli/package_build_order.py %{buildroot}/%{_bindir}/package-b
 
 
 %changelog
-* Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
-
-* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 2.5-2
-- Rebuilt for Python 3.15
+* Wed Aug 12 2026 Jakub Kadlcik <frostyx@email.cz> 2.6-1
+- Add --chroot-denylist to add/edit-package commands
+- Upload rpm to python and cli
+- Add --with-deps to buildpypi
+- Support unix file pattern matching in --chroot and --exclude-chroot
+- Require the rich package
+- Document permission commands in man page
+- Fix container-based unit test workflow
+- Fix AttributeError: module 'pkgutil' has no attribute 'get_loader'
 
 * Wed Apr 15 2026 Jakub Kadlcik <frostyx@email.cz> 2.5-1
 - Fix download-build for manual createrepo Pulp projects

diff --git a/sources b/sources
index 772052d..bb16dca 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (copr-cli-2.5.tar.gz) = 684f5879d4077cdd41b83140df4b045e0dfd4484f3a7a8b0729c9f629d4414b0f3d802fb899c4b005a87fbe5fe2f620ea9525f40e3779bb341eddfd0d1f8708f
+SHA512 (copr-cli-2.6.tar.gz) = 7a97d65c09f744ef3b68cb3f993811921b99e7da2f85331ae95d364086823a9cf2c83c72bb52aaea89e9ff447784d3389df27fcb331471ccd50e228a1816a012

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-11 23:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 23:10 [rpms/copr-cli] rawhide: Update copr-cli to 2.6-1 Jakub Kadlcik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox