public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-review] rawhide: New upstream release 0.12.0
@ 2026-09-18 21:53 Jakub Kadlcik
0 siblings, 0 replies; only message in thread
From: Jakub Kadlcik @ 2026-09-18 21:53 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/fedora-review
Branch : rawhide
Commit : b6e4e197ff76bdb9f12e3c978ebe73b0dfbc17e9
Author : Jakub Kadlcik <frostyx@email.cz>
Date : 2026-09-18T23:52:38+02:00
Stats : +12/-55 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-review/c/b6e4e197ff76bdb9f12e3c978ebe73b0dfbc17e9?branch=rawhide
Log:
New upstream release 0.12.0
---
diff --git a/.gitignore b/.gitignore
index 46c840a..cf0c676 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,4 @@
/fedora-review-0.9.0.fixed.tar.gz
/fedora-review-0.10.0.tar.gz
/fedora_review-0.11.0.tar.gz
+/fedora_review-0.12.0.tar.gz
diff --git a/001-fix-emtpy-rpms.patch b/001-fix-emtpy-rpms.patch
deleted file mode 100644
index 3986465..0000000
--- a/001-fix-emtpy-rpms.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 59fcbea176197a03206cc43f439da96e9507d912 Mon Sep 17 00:00:00 2001
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Thu, 19 Mar 2026 16:37:45 +0100
-Subject: [PATCH] [PATCH] Fix crash on RPMs containing no files
-
-When `rpm -ql --dump` is run against a package with no files, it outputs
-`"(contains no files)"` instead of the expected dump format. The regex
-search returns None, and calling `.start()` on None raises
-`AttributeError`.
-
-The existing except clause only catches `ValueError`, so the
-`AttributeError` propagates up and crashes fedora-review.
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-Assisted-by: Claude (Anthropic) <https://claude.ai>
----
- src/FedoraReview/deps.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/FedoraReview/deps.py b/src/FedoraReview/deps.py
-index 1cf6033..0328f27 100644
---- a/src/FedoraReview/deps.py
-+++ b/src/FedoraReview/deps.py
-@@ -227,7 +227,7 @@ def list_dirs(pkg_filename):
- first_number_start = first_number_match.start()
- path = line[:first_number_start].strip()
- mode = line[first_number_start:].rsplit(None, 10)[3:4][0]
-- except ValueError:
-+ except (ValueError, AttributeError):
- # E. g., when given '(contains no files)'
- continue
- mode = int(mode, 8)
-@@ -349,7 +349,7 @@ def listpaths(pkg_filename):
- first_number_start = first_number_match.start()
- path = line[:first_number_start].strip()
- mode = line[first_number_start:].rsplit(None, 10)[3:4][0]
-- except ValueError:
-+ except (ValueError, AttributeError):
- # E. g., when given '(contains no files)'
- continue
- mode = int(mode, 8)
---
-2.54.0
-
diff --git a/fedora-review.spec b/fedora-review.spec
index 4d93eae..6d43a69 100644
--- a/fedora-review.spec
+++ b/fedora-review.spec
@@ -7,21 +7,19 @@
%bcond_with tests
# See notes in make_release which patches this.
-## global git_tag .05c5b26
+## global git_tag .f03e4e7
# Support jenkins build number if available.
%global build_nr %(echo "${BUILD_NUMBER:+.}${BUILD_NUMBER:-%%{nil\\}}")
Name: fedora-review
-Version: 0.11.0
-Release: 6%{?build_nr}%{?git_tag}%{?dist}
+Version: 0.12.0
+Release: 1%{?build_nr}%{?git_tag}%{?dist}
Summary: Review tool for fedora rpm packages
License: GPL-2.0-or-later
-URL: https://pagure.io/FedoraReview
-Source0: https://releases.pagure.org/FedoraReview/fedora_review-%{version}%{?git_tag}.tar.gz
-
-Patch: https://forge.fedoraproject.org/packaging/FedoraReview/pulls/546.patch#/001-fix-emtpy-rpms.patch
+URL: https://forge.fedoraproject.org/packaging/FedoraReview
+Source0: %{url}/archive/%{version}.tar.gz#/fedora_review-%{version}%{?git_tag}.tar.gz
BuildArch: noarch
@@ -35,6 +33,7 @@ BuildRequires: python3-straight-plugin
BuildRequires: python3-devel
BuildRequires: python3-rpm
BuildRequires: python3-dnf
+BuildRequires: python3-pydantic
Requires: bc
Requires: fedora-packager
@@ -45,6 +44,7 @@ Requires: python3-urlgrabber
Requires: python3-straight-plugin
Requires: python3-rpm
Requires: python3-dnf
+Requires: python3-pydantic
# licensecheck used to be in rpmdevtools, moved to devscripts later
# this is compatible with both situations without ifdefs
Requires: %{_bindir}/licensecheck
@@ -156,6 +156,9 @@ mock --quiet -r fedora-38-x86_64 --uniqueext=hugo --init
%changelog
+* Fri Sep 18 2026 Jakub Kadlcik <frostyx@email.cz> - 0.12.0-1
+- New upstream version
+
* Thu Jul 16 2026 Ondrej Mosnáček <omosnacek@gmail.com> - 0.11.0-6
- Fix crash on RPMs containing no files
@@ -168,9 +171,6 @@ mock --quiet -r fedora-38-x86_64 --uniqueext=hugo --init
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
-* Sat Dec 06 2025 Jakub Kadlcik <frostyx@email.cz> - 0.11.0-2
-- Drop leftover dependency on python3-nose
-
* Sun Nov 16 2025 Jakub Kadlcik <frostyx@email.cz> - 0.11.0-1
- New upstream version
diff --git a/sources b/sources
index 88a25bb..8c5debe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fedora_review-0.11.0.tar.gz) = 9b1f98945e66e105646414ec75db2866ecc91962e0fedabda0164e9871fda4528e91177058b6506927c615b1846fc7835acaf841863b43a0e4db23a1dba94ea7
+SHA512 (fedora_review-0.12.0.tar.gz) = f53f4f6dc24f43fc13d141dbdb08bcf7f69d41f14b3e6ceafe620be2fce0f367f8ffe83a8bde8f534489f2bc1f6f8e32db91b257d514036b3c443d40d7bb9ba9
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-18 21:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18 21:53 [rpms/fedora-review] rawhide: New upstream release 0.12.0 Jakub Kadlcik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox