diff options
-rw-r--r-- | packaging/factory-reset.spec | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/packaging/factory-reset.spec b/packaging/factory-reset.spec index 8b2306a..6991536 100644 --- a/packaging/factory-reset.spec +++ b/packaging/factory-reset.spec @@ -1,6 +1,6 @@ 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 @@ -9,11 +9,12 @@ Source1: factory-reset.service Source2: factory-reset-launch.service Source3: org.tizen.factory-reset.service Source4: org.tizen.factory-reset.conf -ExclusiveArch: %{arm} aarch64 +ExclusiveArch: %{arm} aarch64 riscv64 BuildRequires: cmake BuildRequires: pkgconfig(libsmack) BuildRequires: pkgconfig(libsystemd) Requires: %{name}-userdata-backup +Requires: rstsmack Requires: /usr/bin/rm Requires: /usr/bin/ls Requires: /usr/bin/ps @@ -61,6 +62,13 @@ Requires: /usr/bin/chmod %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 @@ -95,7 +103,6 @@ install -D -m 0644 %SOURCE3 %{buildroot}%{_datadir}/dbus-1/system-services/org.t %{_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 @@ -103,3 +110,8 @@ install -D -m 0644 %SOURCE3 %{buildroot}%{_datadir}/dbus-1/system-services/org.t %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 |