- Fix SELinux attributes display issue (#439686)
This commit is contained in:
parent
6a99107147
commit
1e01e5c8c3
13
nautilus-2.22.1-show-selinux.diff
Normal file
13
nautilus-2.22.1-show-selinux.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: libnautilus-private/nautilus-file.c
|
||||||
|
===================================================================
|
||||||
|
--- libnautilus-private/nautilus-file.c (revision 14026)
|
||||||
|
+++ libnautilus-private/nautilus-file.c (working copy)
|
||||||
|
@@ -1799,7 +1799,7 @@
|
||||||
|
eel_ref_str_unref (file->details->mime_type);
|
||||||
|
file->details->mime_type = eel_ref_str_get_unique (mime_type);
|
||||||
|
|
||||||
|
- selinux_context = g_file_info_get_attribute_string (info, "selinux:context");
|
||||||
|
+ selinux_context = g_file_info_get_attribute_string (info, G_FILE_ATTRIBUTE_SELINUX_CONTEXT);
|
||||||
|
if (eel_strcmp (file->details->selinux_context, selinux_context) != 0) {
|
||||||
|
changed = TRUE;
|
||||||
|
g_free (file->details->selinux_context);
|
@ -19,7 +19,7 @@
|
|||||||
Name: nautilus
|
Name: nautilus
|
||||||
Summary: Nautilus is a file manager for GNOME
|
Summary: Nautilus is a file manager for GNOME
|
||||||
Version: 2.22.1
|
Version: 2.22.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
Source: http://download.gnome.org/sources/%{name}/2.22/%{name}-%{version}.tar.bz2
|
Source: http://download.gnome.org/sources/%{name}/2.22/%{name}-%{version}.tar.bz2
|
||||||
@ -61,6 +61,7 @@ BuildRequires: startup-notification-devel >= %{startup_notification_version}
|
|||||||
BuildRequires: libexif-devel >= %{libexif_version}
|
BuildRequires: libexif-devel >= %{libexif_version}
|
||||||
BuildRequires: exempi-devel >= %{exempi_version}
|
BuildRequires: exempi-devel >= %{exempi_version}
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
# For intltool:
|
# For intltool:
|
||||||
BuildRequires: perl(XML::Parser) >= 2.31-16
|
BuildRequires: perl(XML::Parser) >= 2.31-16
|
||||||
|
|
||||||
@ -85,6 +86,9 @@ Patch6: nautilus-2.22.1-dynamic-search.patch
|
|||||||
Patch7: rtl-fix.patch
|
Patch7: rtl-fix.patch
|
||||||
Patch8: nautilus-2.22.1-hide-white-screen.patch
|
Patch8: nautilus-2.22.1-hide-white-screen.patch
|
||||||
|
|
||||||
|
# patch from head
|
||||||
|
Patch9: nautilus-2.22.1-show-selinux.diff
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Nautilus integrates access to files, applications, media,
|
Nautilus integrates access to files, applications, media,
|
||||||
@ -121,6 +125,7 @@ for writing nautilus extensions.
|
|||||||
%patch6 -p1 -b .dynamic-search
|
%patch6 -p1 -b .dynamic-search
|
||||||
%patch7 -p1 -b .rtl-fix
|
%patch7 -p1 -b .rtl-fix
|
||||||
%patch8 -p1 -b .hide-white-screen
|
%patch8 -p1 -b .hide-white-screen
|
||||||
|
%patch9 -p0 -b .selinux
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -231,6 +236,9 @@ fi
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 3 2008 Tomas Bzatek <tbzatek@redhat.com> - 2.22.1-4
|
||||||
|
- Fix SELinux attributes display issue (#439686)
|
||||||
|
|
||||||
* Wed Apr 2 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.1-3
|
* Wed Apr 2 2008 Matthias Clasen <mclasen@redhat.com> - 2.22.1-3
|
||||||
- Fix the build to include tracker and beagle support again
|
- Fix the build to include tracker and beagle support again
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user