Hello community, here is the log from the commit of package gparted for openSUSE:12.3 checked in at 2013-02-26 15:15:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3/gparted (Old) and /work/SRC/openSUSE:12.3/.gparted.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gparted", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:12.3/gparted/gparted.changes 2013-01-31 01:18:50.000000000 +0100 +++ /work/SRC/openSUSE:12.3/.gparted.new/gparted.changes 2013-02-26 15:15:15.000000000 +0100 @@ -1,0 +2,10 @@ +Thu Feb 21 17:51:53 UTC 2013 - badshah400@gmail.com + +- Install polkit policy file (new source file gparted.policy) to + allow gparted to be run by normal user after gaining elevated + privileges using pkexec; BuildRequires: polkit to properly own + polkit directories +- Use pkexec instead of xdg-su to run gparted from desktop menu; + introduces run time requirement on polkit; fixes bnc#755837. + +------------------------------------------------------------------- New: ---- gparted.policy ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gparted.spec ++++++ --- /var/tmp/diff_new_pack.0EsdDO/_old 2013-02-26 15:15:16.000000000 +0100 +++ /var/tmp/diff_new_pack.0EsdDO/_new 2013-02-26 15:15:16.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gparted # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ Group: System/Filesystems Url: http://gparted.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/gparted/gparted/gparted-0.14.1/%{name}-%{version}.tar.bz2 +Source1: gparted.policy BuildRequires: e2fsprogs-devel BuildRequires: fdupes BuildRequires: gcc-c++ @@ -35,6 +36,7 @@ BuildRequires: libglademm-devel BuildRequires: parted-devel BuildRequires: perl-XML-Parser +BuildRequires: polkit BuildRequires: scrollkeeper BuildRequires: update-desktop-files BuildRequires: xfsprogs-devel @@ -46,6 +48,7 @@ Requires: nilfs-utils Requires: ntfsprogs Requires: parted +Requires: polkit Requires: reiserfs Requires: xdg-utils Requires: xfsprogs @@ -64,13 +67,16 @@ %setup -q %build -export GKSUPROG="/usr/bin/xdg-su -c" +export GKSUPROG="pkexec" %configure \ --disable-scrollkeeper make %{?_smp_mflags} %install %make_install + +install -Dm0644 %{S:1} %{buildroot}%{_datadir}/polkit-1/actions/org.opensuse.policykit.gparted.policy + %suse_update_desktop_file %{name} %fdupes %{buildroot} %find_lang %{name} %{?no_lang_C} @@ -95,6 +101,7 @@ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*x*/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg +%{_datadir}/polkit-1/actions/org.opensuse.policykit.gparted.policy %dir %{_datadir}/gnome %dir %{_datadir}/gnome/help %dir %{_datadir}/gnome/help/gparted -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org