* Thu Sep 6 2007 Dan Walsh <dwalsh@redhat.com> 2.0.25-10

- Change Requires /bin/rpm to rpm
This commit is contained in:
Daniel J Walsh 2007-09-10 16:19:23 +00:00
parent a91903f082
commit 162ba434ca
1 changed files with 7 additions and 6 deletions

View File

@ -3738,8 +3738,8 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/polgengui.py policyc
+ app.stand_alone()
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/polgen.py policycoreutils-2.0.25/gui/polgen.py
--- nsapolicycoreutils/gui/polgen.py 1969-12-31 19:00:00.000000000 -0500
+++ policycoreutils-2.0.25/gui/polgen.py 2007-09-10 11:55:14.000000000 -0400
@@ -0,0 +1,718 @@
+++ policycoreutils-2.0.25/gui/polgen.py 2007-09-10 12:16:38.000000000 -0400
@@ -0,0 +1,719 @@
+# Copyright (C) 2007 Red Hat
+# see file 'COPYING' for use and warranty information
+#
@ -4118,11 +4118,12 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/gui/polgen.py policycore
+
+ def generate_admin_rules(self):
+ newte = ""
+ newte += re.sub("TEMPLATETYPE", self.name, user.te_admin_rules)
+ if self.type == RUSER:
+ newte += re.sub("TEMPLATETYPE", self.name, user.te_admin_rules)
+
+ for app in self.admin_domains:
+ tmp = re.sub("TEMPLATETYPE", self.name, user.te_admin_domain_rules)
+ newte += re.sub("APPLICATION", app, tmp)
+ for app in self.admin_domains:
+ tmp = re.sub("TEMPLATETYPE", self.name, user.te_admin_domain_rules)
+ newte += re.sub("APPLICATION", app, tmp)
+ return newte
+
+ def generate_admin_if(self):