public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lrcalc] rawhide: Minor spec file cleanups
@ 2026-07-14 23:21 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-14 23:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/lrcalc
Branch : rawhide
Commit : 8024fddce984500ddc43a60db8ac73bfa402c19f
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-14T17:21:46-06:00
Stats : +4/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/lrcalc/c/8024fddce984500ddc43a60db8ac73bfa402c19f?branch=rawhide
Log:
Minor spec file cleanups
---
diff --git a/lrcalc.spec b/lrcalc.spec
index 27eb97d..afacdd0 100644
--- a/lrcalc.spec
+++ b/lrcalc.spec
@@ -4,6 +4,7 @@ Release: 16%{?dist}
License: GPL-3.0-or-later
Summary: Littlewood-Richardson Calculator
URL: https://sites.math.rutgers.edu/~asbuch/lrcalc/
+VCS: git:https://bitbucket.org/asbuch/lrcalc.git
Source0: https://sites.math.rutgers.edu/~asbuch/lrcalc/%{name}-%{version}.tar.gz
Source1: lrcalc.module.in
Requires: environment(modules)
@@ -44,8 +45,7 @@ Python interface to the Littlewood-Richardson Calculator.
%autosetup
%generate_buildrequires
-cd python
-%pyproject_buildrequires
+%pyproject_buildrequires -d python
%build
%configure --bindir=%{_libdir}/%{name} --enable-shared --disable-static
@@ -61,10 +61,8 @@ sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
sed -e "/libraries/i\ extra_link_args=['-L$PWD/src/.libs']," \
-e 's/long_description_type/long_description_content_type/' \
-i python/setup.py
-cd python
-ln -s ../src lrcalc
-%pyproject_wheel
-cd -
+ln -s ../src python/lrcalc
+%pyproject_wheel -d python
%install
%make_install
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-14 23:21 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:21 [rpms/lrcalc] 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