Accepting request 753926 from home:dimstar:Factory

- Have scala-bootstrap-swing require scala*bootstrap and
  scala-swing require scala. There is not guarantee that the
  rebuild counters between scala and scala-bootstrap would be in
  sync, making the Requires: scala = %{version}-%{release} for
  scala-bootstrap unresolvable (let alone that it would not be
  usable before scala is built)

As alternatives I could see:
* Do not build scala-bootstrap-swing: it seems not to serve any purpose; so far it was not installable prior to scala being built, making the usefulness of the -bootstrap package very questionable
* Provide scala =%{version}-%{release} when building scala-bootstrap (then the version/release combo would be the same as for scala-bootstrap-swing)

OBS-URL: https://build.opensuse.org/request/show/753926
OBS-URL: https://build.opensuse.org/package/show/Java:packages/scala?expand=0&rev=31
This commit is contained in:
Tomáš Chvátal 2019-12-04 09:36:08 +00:00 committed by Git OBS Bridge
parent 7562c41ed0
commit 7828749fbf
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Dec 4 09:21:06 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Have scala-bootstrap-swing require scala*bootstrap and
scala-swing require scala. There is not guarantee that the
rebuild counters between scala and scala-bootstrap would be in
sync, making the Requires: scala = %{version}-%{release} for
scala-bootstrap unresolvable (let alone that it would not be
usable before scala is built)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 29 10:53:22 UTC 2019 - Fridrich Strba <fstrba@suse.com> Fri Nov 29 10:53:22 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -111,7 +111,7 @@ reference and API documentation for the Scala programming language.
Summary: The swing library for the Scala programming languages Summary: The swing library for the Scala programming languages
Group: Development/Libraries/Java Group: Development/Libraries/Java
Requires: java >= 1.7 Requires: java >= 1.7
Requires: scala = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%if %{without bootstrap} %if %{without bootstrap}
Obsoletes: %{base_name}-bootstrap-swing Obsoletes: %{base_name}-bootstrap-swing
%endif %endif