From 7828749fbfa3ef838b48fb27775f9a337e539d2312b1b112c9312eff3818464e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 4 Dec 2019 09:36:08 +0000 Subject: [PATCH] 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 --- scala.changes | 10 ++++++++++ scala.spec | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/scala.changes b/scala.changes index eecec02..8d3107d 100644 --- a/scala.changes +++ b/scala.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Dec 4 09:21:06 UTC 2019 - Dominique Leuenberger + +- 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 diff --git a/scala.spec b/scala.spec index e990a0d..1f8ca23 100644 --- a/scala.spec +++ b/scala.spec @@ -111,7 +111,7 @@ reference and API documentation for the Scala programming language. Summary: The swing library for the Scala programming languages Group: Development/Libraries/Java Requires: java >= 1.7 -Requires: scala = %{version}-%{release} +Requires: %{name} = %{version}-%{release} %if %{without bootstrap} Obsoletes: %{base_name}-bootstrap-swing %endif