public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sugar-calculator] rawhide: Replace setup.py commands with bundlebuilder
@ 2026-10-24 15:42 Chihurumnaya Ibiam
0 siblings, 0 replies; only message in thread
From: Chihurumnaya Ibiam @ 2026-10-24 15:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/sugar-calculator
Branch : rawhide
Commit : 7591c46734ef1ae02c5d9023c228a9756f85008a
Author : Chihurumnaya Ibiam <ibiamchihurumnaya@gmail.com>
Date : 2026-10-24T16:41:52+01:00
Stats : +6/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/sugar-calculator/c/7591c46734ef1ae02c5d9023c228a9756f85008a?branch=rawhide
Log:
Replace setup.py commands with bundlebuilder
Signed-off-by: Chihurumnaya Ibiam <ibiamchihurumnaya@gmail.com>
---
diff --git a/sugar-calculator.spec b/sugar-calculator.spec
index 709c0dd..1c5a3b6 100644
--- a/sugar-calculator.spec
+++ b/sugar-calculator.spec
@@ -1,6 +1,6 @@
Name: sugar-calculator
Version: 47
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Calculator for Sugar
# Automatically converted from old format: GPLv2+ - review is highly recommended.
@@ -20,11 +20,11 @@ The calculate activity provides a calculator for the Sugar interface.
sed -i 's/python/python3/' setup.py
%build
-python3 ./setup.py build
+bundlebuilder build
%install
mkdir -p $RPM_BUILD_ROOT%{sugaractivitydir}
-python3 ./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix}
+bundlebuilder install --prefix=$RPM_BUILD_ROOT/%{_prefix}
rm %{buildroot}%{_prefix}/share/applications/*.desktop || true
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3
@@ -37,6 +37,9 @@ rm %{buildroot}%{_prefix}/share/applications/*.desktop || true
%{sugaractivitydir}/Calculate.activity/
%changelog
+* Sat Oct 24 2026 Chihurumnaya Ibiam <ibiam@sugarlabs.org> - 47-14
+- Replace setup.py commands with bundlebuilder
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 47-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-24 15:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-24 15:42 [rpms/sugar-calculator] rawhide: Replace setup.py commands with bundlebuilder Chihurumnaya Ibiam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox