public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/bids-schema] f43: Use the new -d option for pyproject macro working directory
Date: Fri, 26 Jun 2026 18:17:31 GMT	[thread overview]
Message-ID: <178249785173.1.13676369819615472916.rpms-bids-schema-1126df6cc0d8@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/bids-schema
Branch : f43
Commit : 1126df6cc0d87a11b3e6461de67801ee25e9a41c
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-04-14T12:30:03+01:00
Stats  : +2/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/bids-schema/c/1126df6cc0d87a11b3e6461de67801ee25e9a41c?branch=f43

Log:
Use the new -d option for pyproject macro working directory

---
diff --git a/bids-schema.spec b/bids-schema.spec
index f776122..3f2f998 100644
--- a/bids-schema.spec
+++ b/bids-schema.spec
@@ -149,15 +149,11 @@ rm -rf src/js/ src/css/
 
 
 %generate_buildrequires
-pushd tools/schemacode >/dev/null
-%pyproject_buildrequires -x expressions,render,validation,all
-popd >/dev/null
+%pyproject_buildrequires -d tools/schemacode -x expressions,render,validation,all
 
 
 %build
-pushd tools/schemacode >/dev/null
-%pyproject_wheel
-popd
+%pyproject_wheel -d tools/schemacode
 
 
 %install
@@ -173,10 +169,8 @@ cp -rvp src/schema \
 install -t '%{buildroot}%{_datadir}/bids-schema/versions/%{bidsversion}' \
     -p -m 0644 src/metaschema.json
 
-pushd tools/schemacode >/dev/null
 %pyproject_install
 %pyproject_save_files -L bidsschematools
-popd
 
 # Include a copy of the “exported” JSON version of the schema in the base
 # package to imitate the structure of

                 reply	other threads:[~2026-06-26 18:17 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=178249785173.1.13676369819615472916.rpms-bids-schema-1126df6cc0d8@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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