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