Accepting request 182300 from Base:System

Use mozjs-17.0 on openSUSE 13.1 - and do no longer recommend mozjs.. it's auto-detected required (forwarded request 182299 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/182300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit?expand=0&rev=47
This commit is contained in:
Stephan Kulow 2013-07-08 05:11:54 +00:00 committed by Git OBS Bridge
commit 8c66596cf8
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Jul 5 11:50:44 UTC 2013 - dimstar@opensuse.org
- On openSUSE 13.1+, switch from mozjs185 to mozjs-17.0 by:
+ Conditionally BuildRequire pkgconfig(mozjs-17.0).
- Drop libmozjs185-1_0 Recommends: the library is actually required
and auto-detected as such by rpm (from 0.111 changes: "The
JavaScript interpreter is now mandatory").
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 14 20:34:39 UTC 2013 - hrvoje.senjan@gmail.com Fri Jun 14 20:34:39 UTC 2013 - hrvoje.senjan@gmail.com

View File

@ -52,7 +52,11 @@ BuildRequires: pam-devel
%if 0%{?with_systemd} %if 0%{?with_systemd}
BuildRequires: systemd-devel BuildRequires: systemd-devel
%endif %endif
%if 0%{?suse_version} >= 1310
BuildRequires: pkgconfig(mozjs-17.0)
%else
BuildRequires: pkgconfig(mozjs185) BuildRequires: pkgconfig(mozjs185)
%endif
PreReq: permissions pwdutils PreReq: permissions pwdutils
%if ! %{with_systemd} %if ! %{with_systemd}
Requires: ConsoleKit Requires: ConsoleKit
@ -62,7 +66,6 @@ Requires: libpolkit0 = %{version}-%{release}
%if %{with_systemd} %if %{with_systemd}
%systemd_requires %systemd_requires
%endif %endif
Recommends: libmozjs185-1_0
# Upstream First - Policy: # Upstream First - Policy:
# Never add any patches to this package without the upstream commit id # Never add any patches to this package without the upstream commit id