public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bids-schema] f44: Use the new -d option for pyproject macro working directory
@ 2026-06-26 16:11 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-26 16:11 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/bids-schema
Branch : f44
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=f44

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

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

only message in thread, other threads:[~2026-06-26 16:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-26 16:11 [rpms/bids-schema] f44: Use the new -d option for pyproject macro working directory 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