public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/fprettify] rawhide: spec modernization fixes rhbz#2377260
Date: Sat, 20 Jun 2026 22:47:57 GMT [thread overview]
Message-ID: <178199567737.1.17608908529777593107.rpms-fprettify-2d92f7a7d656@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fprettify
Branch : rawhide
Commit : 2d92f7a7d65692481069e685a1eca8deba014bcf
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-14T20:44:42-03:00
Stats : +12/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fprettify/c/2d92f7a7d65692481069e685a1eca8deba014bcf?branch=rawhide
Log:
spec modernization fixes rhbz#2377260
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/fprettify.spec b/fprettify.spec
index 5b523d9..3482743 100644
--- a/fprettify.spec
+++ b/fprettify.spec
@@ -1,6 +1,6 @@
Name: fprettify
Version: 0.3.7
-Release: 20%{?dist}
+Release: 21%{?dist}
Summary: Auto-formatter for modern Fortran source code
# Automatically converted from old format: GPLv3 - review is highly recommended.
License: GPL-3.0-only
@@ -10,7 +10,6 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(configargparse)
-BuildRequires: python3dist(setuptools)
Requires: python3-fprettify = %{version}-%{release}
@@ -36,28 +35,31 @@ This package contains the Python library.
%prep
%setup -q -n fprettify-%{version}
%patch -P0 -p1 -b .pyenv
-# Remove bundled egg-info
-rm -rf %{name}.egg-info
+
+%generate_buildrequires
+%pyproject_buildrequires
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l fprettify
%check
+%pyproject_check_import
%{python3} run_tests.py
%files
%{_bindir}/fprettify
-%files -n python3-fprettify
-%license LICENSE
+%files -n python3-fprettify -f %{pyproject_files}
%doc README.md
-%{python3_sitelib}/fprettify/
-%{python3_sitelib}/fprettify-%{version}-py%{python3_version}.egg-info
%changelog
+* Sun Jun 14 2026 Filipe Rosset <filiperosset@fedoraproject.org> - 0.3.7-21
+- spec modernization fixes rhbz#2377260
+
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 0.3.7-20
- Rebuilt for Python 3.15
reply other threads:[~2026-06-20 22:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178199567737.1.17608908529777593107.rpms-fprettify-2d92f7a7d656@fedoraproject.org \
--to=filiperosset@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox