Name: factory-reset
Summary: factory-reset scripts and uitls
-Version: 1.0
+Version: 1.1
Release: 2
Group: Applications/Core Applications
License: Apache-2.0
BuildRequires: pkgconfig(libsmack)
BuildRequires: pkgconfig(libsystemd)
Requires: %{name}-userdata-backup
+Requires: rstsmack
Requires: /usr/bin/rm
Requires: /usr/bin/ls
Requires: /usr/bin/ps
%description userdata-backup
userdata-backup make a backup data for user r/w data area by archieving with tar/zip.
+%package -n rstsmack
+Summary: Utility to restore smack attributes
+Group: Application Framework/Configuration
+
+%description -n rstsmack
+rstsmack is small utility to set Smack labels from configuration file.
+
%prep
%setup -q
%{_bindir}/run-factory-reset.sh
%{_bindir}/factoryreset-verify.sh
-%attr(700,root,root) %{_bindir}/rstsmack
%attr(700,root,root) %{_bindir}/factory-reset
%attr(100,root,root) /opt/etc/dump.d/module.d/dump-frlog.sh
%manifest factory-reset.manifest
%license LICENSE.Apache-2.0
%{_bindir}/build-backup-data.sh
+
+%files -n rstsmack
+%manifest factory-reset.manifest
+%license LICENSE.Apache-2.0
+%attr(700,root,root) %{_bindir}/rstsmack