public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python3-mallard-ducktype] rawhide: Convert to pyproject macros
Date: Tue, 28 Jul 2026 11:30:20 GMT	[thread overview]
Message-ID: <178523822020.1.14641346956481237497.rpms-python3-mallard-ducktype-cb25f09174e9@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-07-28 11:30 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=178523822020.1.14641346956481237497.rpms-python3-mallard-ducktype-cb25f09174e9@fedoraproject.org \
    --to=yselkowi@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