public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python3-mallard-ducktype] rawhide: Convert to pyproject macros
@ 2026-07-28 11:30 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-28 11:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python3-mallard-ducktype
Branch : rawhide
Commit : cb25f09174e97a29d2724c192ee5e08436e371d9
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-07-27T17:38:24-04:00
Stats  : +14/-9 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python3-mallard-ducktype/c/cb25f09174e97a29d2724c192ee5e08436e371d9?branch=rawhide

Log:
Convert to pyproject macros

---
diff --git a/python3-mallard-ducktype.spec b/python3-mallard-ducktype.spec
index b8a0f20..d81328f 100644
--- a/python3-mallard-ducktype.spec
+++ b/python3-mallard-ducktype.spec
@@ -2,7 +2,7 @@
 
 Name:    python3-mallard-ducktype
 Version: 1.0.2
-Release: 29%{?dist}
+Release: 30%{?dist}
 Summary: Parse Ducktype files and convert them to Mallard
 
 License: MIT
@@ -12,39 +12,44 @@ Source0: https://github.com/projectmallard/%{srcname}/archive/%{version}/%{versi
 
 BuildArch:     noarch
 BuildRequires: python3-devel
-BuildRequires: python3-setuptools
 
 %description
 Parse Ducktype files and convert them to Mallard.
 
 
 %prep
-%setup -q -n %{srcname}-%{version}
+%autosetup -n %{srcname}-%{version} -p1
+
+
+%generate_buildrequires
+%pyproject_buildrequires
 
 
 %build
-%py3_build
+%pyproject_wheel
 
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l mallard
 
 
 %check
+%pyproject_check_import
 pushd tests
 %{py3_test_envvars} ./runtests
 popd
 
 
-%files
+%files -f %{pyproject_files}
 %doc AUTHORS README.md
-%license COPYING
 %{_bindir}/ducktype
-%{python3_sitelib}/*
-
 
 
 %changelog
+* Mon Jul 27 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.0.2-30
+- Convert to pyproject macros
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-29
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-07-28 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-28 11:30 [rpms/python3-mallard-ducktype] rawhide: Convert to pyproject macros Yaakov Selkowitz

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