%define major 0
%define minor 1
-%define patchlevel 23
+%define patchlevel 27
Name: tel-plugin-vmodem
Version: %{major}.%{minor}.%{patchlevel}
Group: System/Libraries
Source0: tel-plugin-vmodem-%{version}.tar.gz
-%if %{_with_emulator}
-%else
+%if "%{profile}" == "tv"
+ExcludeArch: %{arm} %ix86 x86_64
+%endif
+
+%if "%{_with_emulator}" != "1"
ExcludeArch: %{arm} aarch64
%endif
%install
%make_install
-mkdir -p %{buildroot}/usr/share/license
%files
%manifest tel-plugin-vmodem.manifest
-%defattr(644,system,system,-)
+%defattr(644,root,root,-)
#%doc COPYING
%{_libdir}/telephony/plugins/vmodem-plugin*
-/usr/share/license/tel-plugin-vmodem
+%license LICENSE