Name: EXAMPLE_0001 Summary: TIS In-Service Patch Scripts Example Version: 1.0 Release: %{tis_patch_ver}%{?_tis_dist} License: Apache-2.0 Group: base Packager: Wind River Source0: example-restart %install install -Dp -m 700 %{S:0} %{buildroot}%{_patch_scripts}/%{name} %description %{summary} %files %defattr(-,root,root,-) %{_patch_scripts}/* %post cp -f %{_patch_scripts}/%{name} %{_runtime_patch_scripts}/ exit 0 %preun cp -f %{_patch_scripts}/%{name} %{_runtime_patch_scripts}/ exit 0