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
This commit is contained in:
Marcus Meissner 2013-07-05 14:21:48 +00:00 committed by Git OBS Bridge
parent 578cff4d84
commit fd685e2e60
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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