From 7b84c9a4141e36416dcd3491bb7b62051cc8f56b Mon Sep 17 00:00:00 2001 From: Jaeho Lee Date: Tue, 18 Jun 2013 16:19:34 +0900 Subject: [PATCH] added aul.rule file Signed-off-by: Jaeho Lee --- aul.rule | 1 + packaging/aul.spec | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 aul.rule diff --git a/aul.rule b/aul.rule new file mode 100644 index 0000000..85e10a3 --- /dev/null +++ b/aul.rule @@ -0,0 +1 @@ +aul system::homedir arwxt diff --git a/packaging/aul.spec b/packaging/aul.spec index bfc5f2d..c7691f2 100644 --- a/packaging/aul.spec +++ b/packaging/aul.spec @@ -1,6 +1,6 @@ Name: aul Summary: App utility library -Version: 0.0.269 +Version: 0.0.270 Release: 1 Group: System/Libraries License: Apache License, Version 2.0 @@ -83,6 +83,9 @@ install -m 0644 %SOURCE102 %{buildroot}/usr/lib/systemd/system/ac.service ln -s ../launchpad-preload@.service %{buildroot}/usr/lib/systemd/system/graphical.target.wants/launchpad-preload@app.service ln -s ../ac.service %{buildroot}/usr/lib/systemd/system/graphical.target.wants/ac.service +mkdir -p %{buildroot}/opt/etc/smack/accesses.d +install -m 644 aul.rule %{buildroot}/opt/etc/smack/accesses.d + %preun if [ $1 == 0 ]; then @@ -127,6 +130,7 @@ systemctl daemon-reload /usr/bin/amd /usr/bin/daemon-manager-release-agent /usr/bin/daemon-manager-launch-agent +/opt/etc/smack/accesses.d/aul.rule %files devel /usr/include/aul/*.h -- 2.7.4