chore (arduino-lab-micropython-installer): add %check (#8618) (#8621)

(cherry picked from commit 207db11fa1)

Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2025-12-25 01:32:12 -08:00
committed by GitHub
parent 40ef95e150
commit 9744ef2429
@@ -11,8 +11,10 @@ Source1: micropython-installer.desktop
Packager: Owen Zimmerman <owen@fyralabs.com>
Requires: libdrm libxcb
BuildRequires: anda-srpm-macros
BuildRequires: desktop-file-utils
BuildRequires: pnpm
Provides: arduino-lab-micropython-installer
%description
MicroPython Installer for Arduino is a cross-platform tool that streamlines the process of downloading
and installing MicroPython firmware on compatible Arduino boards. It is compatible with macOS, Linux,
@@ -26,7 +28,10 @@ and Windows and is built using the Electron framework.
%install
%electron_install -i micropython-installer -s micropython-installer -d micropython-installer -b micropython-installer
install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/applications/micropython-installer.desktop
install -Dm644 %{SOURCE1} %{buildroot}%{_appsdir}/micropython-installer.desktop
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/micropython-installer.desktop
%files
%doc README.md