public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-merge3] f44: Use the provisional pyproject declarative buildsystem
@ 2026-09-03 18:05 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-03 18:05 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-merge3
Branch : f44
Commit : d0fda2a8b9bc7f447affe8b6cfd73af8ef25b10a
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-03T18:40:20+01:00
Stats  : +6/-17 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-merge3/c/d0fda2a8b9bc7f447affe8b6cfd73af8ef25b10a?branch=f44

Log:
Use the provisional pyproject declarative buildsystem

---
diff --git a/python-merge3.spec b/python-merge3.spec
index 918b170..2fe4c53 100644
--- a/python-merge3.spec
+++ b/python-merge3.spec
@@ -14,6 +14,10 @@ Source1:        merge3.1
 # https://github.com/breezy-team/merge3/pull/130
 Patch:          %{url}/pull/130.patch
 
+BuildSystem:    pyproject
+BuildOption(generate_buildrequires): --tox
+BuildOption(install): --assert-license merge3
+
 BuildArch:      noarch
 
 %global common_description %{expand:
@@ -32,27 +36,12 @@ Summary:        %{summary}
 %description -n python3-merge3 %{common_description}
 
 
-%prep
-%autosetup -n merge3-%{version} -p1
-
-
-%generate_buildrequires
-%pyproject_buildrequires --tox
-
-
-%build
-%pyproject_wheel
-
-
-%install
-%pyproject_install
-%pyproject_save_files --assert-license merge3
-
+%install -a
 install -D --target='%{buildroot}%{_mandir}/man1' \
     --preserve-timestamps --mode=0644 '%{SOURCE1}'
 
 
-%check
+%check -a
 %tox -- -- --verbose
 
 

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

only message in thread, other threads:[~2026-09-03 18:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03 18:05 [rpms/python-merge3] f44: Use the provisional pyproject declarative buildsystem Benjamin A. Beasley

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