public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libsvm] rawhide: Minor spec file cleanups
@ 2026-07-14 23:19 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-14 23:19 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libsvm
Branch : rawhide
Commit : 3e195c3ae189d1c14e8b3759cd89fe49bef4d48d
Author : Jerry James <loganjerry@gmail.com>
Date   : 2026-07-14T17:19:27-06:00
Stats  : +3/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libsvm/c/3e195c3ae189d1c14e8b3759cd89fe49bef4d48d?branch=rawhide

Log:
Minor spec file cleanups

---
diff --git a/libsvm.spec b/libsvm.spec
index 7f85d2b..0bfb828 100644
--- a/libsvm.spec
+++ b/libsvm.spec
@@ -28,7 +28,7 @@ Version:        3.37
 Release:        %autorelease
 Summary:        A Library for Support Vector Machines
 
-%global upver   %(tr -d . <<< %{version})
+%global upver   %{gsub %version %. %{quote:}}
 
 License:        BSD-3-Clause
 URL:            https://www.csie.ntu.edu.tw/~cjlin/libsvm/
@@ -163,8 +163,7 @@ done
 
 %if %{with python}
 %generate_buildrequires
-cd python
-%pyproject_buildrequires
+%pyproject_buildrequires -d python
 %endif
 
 %build
@@ -188,9 +187,7 @@ cd -
 
 %if %{with python}
 # Build the python interface
-cd python
-%pyproject_wheel
-cd -
+%pyproject_wheel -d python
 %endif
 
 %install

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

only message in thread, other threads:[~2026-07-14 23:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14 23:19 [rpms/libsvm] rawhide: Minor spec file cleanups Jerry James

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