policycoreutils-2.5-11

- Convert sandbox to gtk-3 using pygi-convert.sh (#1343166)
This commit is contained in:
Petr Lautrbach 2016-06-27 12:55:29 +02:00
parent a29f8e0d18
commit 62f824402e
2 changed files with 17 additions and 3 deletions

View File

@ -654344,7 +654344,7 @@ index b306041..16eb50b 100644
msgid "Loss of data Dialog"
msgstr ""
diff --git policycoreutils-2.5/sandbox/sandbox policycoreutils-2.5/sandbox/sandbox
index 9e0024f..f15f56e 100644
index 9e0024f..e7c5be6 100644
--- policycoreutils-2.5/sandbox/sandbox
+++ policycoreutils-2.5/sandbox/sandbox
@@ -1,4 +1,4 @@
@ -654407,6 +654407,17 @@ index 9e0024f..f15f56e 100644
def reserve(level):
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
@@ -452,8 +451,8 @@ sandbox [-h] [-l level ] [-[X|M] [-H homedir] [-T tempdir]] [-I includefile ] [-
if self.__options.dpi:
dpi = self.__options.dpi
else:
- import gtk
- dpi = str(gtk.settings_get_default().props.gtk_xft_dpi / 1024)
+ from gi.repository import Gtk
+ dpi = str(Gtk.Settings.get_default().props.gtk_xft_dpi / 1024)
xmodmapfile = self.__homedir + "/.xmodmap"
xd = open(xmodmapfile, "w")
diff --git policycoreutils-2.5/sandbox/sandbox.8 policycoreutils-2.5/sandbox/sandbox.8
index 0c8cd1e..81f497a 100644
--- policycoreutils-2.5/sandbox/sandbox.8

View File

@ -7,7 +7,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.5
Release: 10%{?dist}
Release: 11%{?dist}
License: GPLv2
Group: System Environment/Base
# https://github.com/SELinuxProject/selinux/wiki/Releases
@ -23,7 +23,7 @@ Source7: selinux-autorelabel-mark.service
# download https://raw.githubusercontent.com/fedora-selinux/scripts/master/selinux/make-fedora-selinux-patch.sh
# run:
# $ VERSION=2.5 ./make-fedora-selinux-patch.sh policycoreutils
# HEAD https://github.com/fedora-selinux/selinux/commit/9abe77e2a670f2f2dfb91f9cec46ee37f9c23995
# HEAD https://github.com/fedora-selinux/selinux/commit/634c4b3550043ae33ba69d0e292de41c32dbf4f5
Patch: policycoreutils-fedora.patch
# $ VERSION=1.2.3 ./make-fedora-selinux-patch.sh sepolgen
Patch1: sepolgen-fedora.patch
@ -427,6 +427,9 @@ The policycoreutils-restorecond package contains the restorecond service.
%systemd_postun_with_restart restorecond.service
%changelog
* Mon Jun 27 2016 Petr Lautrbach <plautrba@redhat.com> - 2.5-11
- Convert sandbox to gtk-3 using pygi-convert.sh (#1343166)
* Thu Jun 23 2016 Petr Lautrbach <plautrba@redhat.com> - 2.5-10
- Fix typos in semanage manpages
- Fix the documentation of -l,--list for semodule