diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..d0f11ec --- /dev/null +++ b/_constraints @@ -0,0 +1,10 @@ + + + + 3 + + + 3 + + + diff --git a/scala.changes b/scala.changes index 8d3107d..b0c497a 100644 --- a/scala.changes +++ b/scala.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 13 11:11:24 UTC 2019 - Guillaume GARDET + +- Add _constraints to avoid long builds because of swapping + ------------------------------------------------------------------- Wed Dec 4 09:21:06 UTC 2019 - Dominique Leuenberger diff --git a/scala.spec b/scala.spec index 1f8ca23..bb9f852 100644 --- a/scala.spec +++ b/scala.spec @@ -110,8 +110,8 @@ reference and API documentation for the Scala programming language. %package swing Summary: The swing library for the Scala programming languages Group: Development/Libraries/Java -Requires: java >= 1.7 Requires: %{name} = %{version}-%{release} +Requires: java >= 1.7 %if %{without bootstrap} Obsoletes: %{base_name}-bootstrap-swing %endif