[packages/mma] Up to 25.05.0
arekm
arekm at pld-linux.org
Fri May 8 22:00:02 CEST 2026
commit 48a25ddf05ea1ea43d5cb6da9073989d5526a8ed
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri May 8 21:59:53 2026 +0200
Up to 25.05.0
mma.spec | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/mma.spec b/mma.spec
index 14e1cb3..31b2b46 100644
--- a/mma.spec
+++ b/mma.spec
@@ -1,11 +1,11 @@
Summary: MMA - Musical MIDI Accompaniment
Name: mma
-Version: 16.06
+Version: 25.05.0
Release: 1
License: GPL
Group: Applications
Source0: http://www.mellowood.ca/mma/%{name}-bin-%{version}.tar.gz
-# Source0-md5: a7e34ec1b9c2ffc36f408314bb184615
+# Source0-md5: 85ae754f34f686795194337c679d08cc
URL: http://www.mellowood.ca/mma/downloads.html
BuildRequires: python3-modules
BuildRequires: rpmbuild(macros) >= 1.714
@@ -32,10 +32,12 @@ then played by a sequencer or MIDI file play program.
%setup -q -n %{name}-bin-%{version}
# force our Python 3 for scripts
-%{__sed} -i -e '1s,^#!.*python,#!%{__python3},' mma.py mma-* util/*.py
+find . \( -name '*.py' -o -name 'mma-*' -o -name 'mma.py' -o -name 'mkall' \) | \
+ xargs grep -lE '^#!.*python' | \
+ xargs %{__sed} -i -e '1s,^#!.*python[^ ]*,#!%{__python3},'
# remove files compiled upstream
-find . -name '*.py[co]' | xargs rm
+find . -name '*.py[co]' -delete
%build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mma.git/commitdiff/48a25ddf05ea1ea43d5cb6da9073989d5526a8ed
More information about the pld-cvs-commit
mailing list