From fd685e2e60a992f9802809e17a030b32f23458c84b61ebccba1594a6cd76ccc7 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 5 Jul 2013 14:21:48 +0000 Subject: [PATCH] Accepting request 182310 from home:dimstar:branches:Base:System - Only require libmozjs185-1_0 on openSUSE up to 12.3: + On openSUSE 13.1, we use libmozjs-17_0 + Since polkit 0.111, the mozjs library parser is no longer optional. For this reason, we also do not have to worry to Require the correct library in this case anymore. OBS-URL: https://build.opensuse.org/request/show/182310 OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit-default-privs?expand=0&rev=161 --- polkit-default-privs.changes | 9 +++++++++ polkit-default-privs.spec | 2 ++ 2 files changed, 11 insertions(+) diff --git a/polkit-default-privs.changes b/polkit-default-privs.changes index f8d0c7d..6831482 100644 --- a/polkit-default-privs.changes +++ b/polkit-default-privs.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Jul 5 13:02:00 UTC 2013 - dimstar@opensuse.org + +- Only require libmozjs185-1_0 on openSUSE up to 12.3: + + On openSUSE 13.1, we use libmozjs-17_0 + + Since polkit 0.111, the mozjs library parser is no longer + optional. For this reason, we also do not have to worry to + Require the correct library in this case anymore. + ------------------------------------------------------------------- Thu Jul 4 07:32:22 UTC 2013 - meissner@suse.com diff --git a/polkit-default-privs.spec b/polkit-default-privs.spec index fd7290e..a1d015c 100644 --- a/polkit-default-privs.spec +++ b/polkit-default-privs.spec @@ -26,7 +26,9 @@ Group: Productivity/Security Source: polkit-default-privs-%version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: polkit +%if 0%{?suse_version} < 1310 Requires: libmozjs185-1_0 +%endif Requires: polkit Supplements: PolicyKit Supplements: libpolkit0, polkit