|
|
|
@ -33,10 +33,10 @@ find -type f -name '*.py' -executable -exec sed -i -e '1s|.*|#!%{__python3}|' {}
@@ -33,10 +33,10 @@ find -type f -name '*.py' -executable -exec sed -i -e '1s|.*|#!%{__python3}|' {}
|
|
|
|
|
sed -i -e "/^%%__meson /s| .*$| %{_bindir}/%{name}|" data/macros.%{name} |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%py3_build |
|
|
|
|
%{__python3} setup.py build |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|
%py3_install |
|
|
|
|
%{__python3} setup.py install --root %{buildroot} --optimize 2 |
|
|
|
|
install -Dpm0644 data/macros.%{name} %{buildroot}/usr/lib/rpm/macros.d/macros.%{name} |
|
|
|
|
|
|
|
|
|
%files |
|
|
|
|