Accepting request 159257 from GNOME:Next

Resubmit with bnc#

OBS-URL: https://build.opensuse.org/request/show/159257
OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2013-03-13 23:44:27 +00:00 committed by Git OBS Bridge
parent ccda566a4b
commit 31c29e04e6
6 changed files with 38 additions and 60 deletions

View File

@ -1,53 +0,0 @@
diff --git a/src/udiskslinuxpartition.c b/src/udiskslinuxpartition.c
index 9582346..e3ae93f 100644
--- a/src/udiskslinuxpartition.c
+++ b/src/udiskslinuxpartition.c
@@ -269,7 +269,7 @@ handle_set_flags (UDisksPartition *partition,
}
else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
{
- action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+ action_id = "org.freedesktop.udisks2.modify-device-other-seat";
}
if (!udisks_daemon_util_check_authorization_sync (daemon,
@@ -414,7 +414,7 @@ handle_set_name (UDisksPartition *partition,
}
else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
{
- action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+ action_id = "org.freedesktop.udisks2.modify-device-other-seat";
}
if (!udisks_daemon_util_check_authorization_sync (daemon,
@@ -596,7 +596,7 @@ handle_set_type (UDisksPartition *partition,
}
else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
{
- action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+ action_id = "org.freedesktop.udisks2.modify-device-other-seat";
}
if (!udisks_daemon_util_check_authorization_sync (daemon,
@@ -769,7 +769,7 @@ handle_delete (UDisksPartition *partition,
}
else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
{
- action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+ action_id = "org.freedesktop.udisks2.modify-device-other-seat";
}
if (!udisks_daemon_util_check_authorization_sync (daemon,
diff --git a/src/udiskslinuxpartitiontable.c b/src/udiskslinuxpartitiontable.c
index 8f0d3d9..b553625 100644
--- a/src/udiskslinuxpartitiontable.c
+++ b/src/udiskslinuxpartitiontable.c
@@ -336,7 +336,7 @@ handle_create_partition (UDisksPartitionTable *table,
}
else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
{
- action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+ action_id = "org.freedesktop.udisks2.modify-device-other-seat";
}
if (!udisks_daemon_util_check_authorization_sync (daemon,

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa026a5a865688a2e9e430a389c7636c1a556d980539e4bd4a3f31dc5d4fe1eb
size 747405

3
udisks-2.0.92.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0214326ba10c45db9ad5875a83e1bb40a77af82bc5fd2cbc1bdb5891b257663
size 820346

3
udisks2-rpmlintrc Normal file
View File

@ -0,0 +1,3 @@
# bnc#809277
setBadness("polkit-untracked-privilege", 100);
setBadness("polkit-unauthorized-privilege", 100);

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Sun Mar 3 23:10:24 UTC 2013 - hrvoje.senjan@gmail.com
- Update to version 2.0.92:
+ Fix out of source build - set xsltproc path.
+ Fold UDisksPersistentStore class into UDisksCleanup.
+ Rename UDisksCleanup to UDisksState.
+ Don't leak UDisksLinuxDevice when handling uevent.
+ Check for NULL pointer when creating MD-RAID array.
+ Use own udev namespace for MD-RAID properties.
+ Introduce UDISKS_FILESYSTEM_SHARED=1 to use /media for
mounting.
+ Don't wipe extended partitions.
+ Make sure logical partitions stay within the extended
partition.
-------------------------------------------------------------------
Thu Jan 17 20:49:53 UTC 2013 - dimstar@opensuse.org
- Update to version 2.0.91:
+ Don't bail in MD-RAID file monitor event handler.
+ Add MDRaid:RequestSyncAction() method.
+ Add MDRaid:SyncRate and MDRaid:SyncRemainingTime properties.
+ Get the MD-RAID sync rate from the right file.
+ Pull new translations from Transifex.
+ Use correct polkit action.
+ Fix up comments in polkit policy file.
- Changes from version 2.0.90:
+ Initial MD-RAID support.
- Drop fix_polkit_action_name.diff: it's not applied anyway.
-------------------------------------------------------------------
Thu Jan 17 07:36:09 UTC 2013 - vuntz@opensuse.org

View File

@ -20,15 +20,13 @@
Name: udisks2
%define _name udisks
Version: 2.0.0
Version: 2.0.92
Release: 0
Summary: Disk Management Service, version 2
License: GPL-2.0+
Group: System/Daemons
Url: http://www.freedesktop.org/wiki/Software/udisks
Source: http://udisks.freedesktop.org/releases/%{_name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM fix_polkit_action_name.diff [fdo#58629]
Patch0: fix_polkit_action_name.diff
# Needed to build the man pages
BuildRequires: docbook-xsl-stylesheets
BuildRequires: gobject-introspection-devel
@ -95,7 +93,6 @@ for managing disks and storage devices.
%lang_package
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
%build
export V=1