summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2022-01-26 10:34:24 +0100
committerKarol Lewandowski <k.lewandowsk@samsung.com>2022-01-26 10:37:25 +0100
commitcff976c40267cef4368b877cccb9015b0d12ed9b (patch)
tree070d5de8ae43a0d3388586bbee1b341541707261
parent0faa0275dd9bf1ccdc492d607a98e54c9510c500 (diff)
downloadfactory-reset-accepted/tizen_7.0_unified.tar.gz
factory-reset-accepted/tizen_7.0_unified.tar.bz2
factory-reset-accepted/tizen_7.0_unified.zip
This will allow for rstsmack to be installed even if factory-reset isn't. Change-Id: I21663e665011d1a54a226862726878329ce2998d
-rw-r--r--packaging/factory-reset.spec16
1 files changed, 14 insertions, 2 deletions
diff --git a/packaging/factory-reset.spec b/packaging/factory-reset.spec
index 8b2306a..8853ddf 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
@@ -14,6 +14,7 @@ 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