public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Macku <jamacku@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/setconf] f45: New release - setconf 0.7.8
Date: Thu, 26 Nov 2026 12:16:34 GMT [thread overview]
Message-ID: <179569539433.1.4621632553298285052.rpms-setconf-be1c8498fde3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/setconf
Branch : f45
Commit : be1c8498fde384dfcf4c54b107be6a45eb8ef45e
Author : Jan Macku <jamacku@redhat.com>
Date : 2026-11-26T12:31:58+01:00
Stats : +23/-16 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/setconf/c/be1c8498fde384dfcf4c54b107be6a45eb8ef45e?branch=f45
Log:
New release - setconf 0.7.8
Migrate from deprecated %%py3_build/%%py3_install to %%pyproject macros
Resolves: #2378454
---
diff --git a/.gitignore b/.gitignore
index 7ee3f3e..ddcba89 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
/setconf-0.7.6.tar.gz
/setconf-0.7.7.tar.gz
+/setconf-0.7.8.tar.xz
+/setconf-0.7.8.tar.gz
diff --git a/setconf.spec b/setconf.spec
index 4b478df..57beb3b 100644
--- a/setconf.spec
+++ b/setconf.spec
@@ -1,11 +1,11 @@
Name: setconf
-Version: 0.7.7
-Release: 24%{?dist}
-Summary: Utility for changing settings in configuration text files
+Version: 0.7.8
+Release: 1%{?dist}
+Summary: Utility for changing settings in configuration text files
# Automatically converted from old format: GPLv2 - review is highly recommended.
License: GPL-2.0-only
-URL: http://setconf.roboticoverlords.org/
+URL: http://setconf.roboticoverlords.org/
Source0: https://github.com/xyproto/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
# Patch#: setconf-version-description.patch
@@ -13,39 +13,44 @@ Patch0: setconf-0.7.6-rm_sb.patch
Patch2: setconf-0.7.7-add_man.patch
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
BuildArch: noarch
%description
Setconf is small utility that can be used for
-changing settings in configuration text files.
+changing settings in configuration text files.
%prep
%autosetup -n %{name}-%{version}
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%py3_build
+%pyproject_wheel
+
+%install
+%pyproject_install
+%pyproject_save_files %{name}
%check
%{__python3} setconf.py --test
-awk '/^..\/setconf.py/ { print "%{__python3} " $0; next } { print }' testcases/test.sh >testcases/py3_test.sh
+# Upstream test.sh invokes "python"; Fedora only provides python3.
+sed 's|/usr/bin/env python|%{__python3}|' testcases/test.sh >testcases/py3_test.sh
chmod a+x testcases/py3_test.sh
cd testcases/ && ./py3_test.sh
-%install
-%py3_install
-
-%files
+%files -f %{pyproject_files}
%license COPYING
%doc README.md
-%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info/
-%{python3_sitelib}/%{name}.py
-%{python3_sitelib}/__pycache__/%{name}.*.pyc
%{_mandir}/man1/%{name}.1*
%{_bindir}/%{name}
%changelog
+* Thu Nov 26 2026 Jan Macku <jamacku@redhat.com> - 0.7.8-1
+- New release - setconf 0.7.8
+- Migrate from deprecated %%py3_build/%%py3_install to %%pyproject macros (#2378454)
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 1e5d72e..38521ba 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (setconf-0.7.7.tar.gz) = 5ada31bbf7abcaf69b0c7759bfb624b985e6482762e84a5eeeac3d3ed022fd88cd4440ebf53454839cf974370df85f73ac1a74ee9b9144c84d4763f537d0f96f
+SHA512 (setconf-0.7.8.tar.gz) = 698b881fcf605205227c2a5e3afff7dcf95eb50b82802a175072ad4e995d6a51edbdca350662fe6af3b8b6a4f9ac55f7f38f616c202401b891ebc455c223e6ce
reply other threads:[~2026-11-26 12:16 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=179569539433.1.4621632553298285052.rpms-setconf-be1c8498fde3@fedoraproject.org \
--to=jamacku@redhat.com \
--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