Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package scala-stm for openSUSE:Factory checked in at 2023-10-12 23:44:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scala-stm (Old) and /work/SRC/openSUSE:Factory/.scala-stm.new.1807 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scala-stm" Thu Oct 12 23:44:16 2023 rev:4 rq:1117470 version:0.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/scala-stm/scala-stm.changes 2023-10-04 22:32:29.269888637 +0200 +++ /work/SRC/openSUSE:Factory/.scala-stm.new.1807/scala-stm.changes 2023-10-12 23:47:27.416514138 +0200 @@ -1,0 +2,20 @@ +Thu Oct 12 11:29:04 UTC 2023 - Fridrich Strba <fst...@suse.com> + +- Upgrade to version 0.11.1 + * Changes + + add Dotty support + + fix potential issue in RetrySet + + add Scala 2.13 support (includes using new Collections API, + changing all occurrences of deprecated ClassManifest for + ClassTag) + + disable "multi-barrier deadlock cycle" test (uses + CommitBarrier) + + fix initialisation bug in RetrySetBuilder (InitialCap was + zero) + + correctness fix for TArray[Long] and AtomicArray.ofLong. + + small improvement to TxnLocal interface. + + add 2.12 build and remove 2.10 build. + + add deprecated message about incomplete deadlock detection + for CommitBarrier. + +------------------------------------------------------------------- Old: ---- release-0.7.tar.gz scala-stm_2.10-0.7.pom New: ---- _service scala-stm-0.11.1.tar.xz scala-stm_2.13-0.11.1.pom ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scala-stm.spec ++++++ --- /var/tmp/diff_new_pack.RH7FDy/_old 2023-10-12 23:47:27.948533401 +0200 +++ /var/tmp/diff_new_pack.RH7FDy/_new 2023-10-12 23:47:27.948533401 +0200 @@ -16,20 +16,20 @@ # -%global scala_short_version 2.10 +%global scala_short_version 2.13 Name: scala-stm -Version: 0.7 +Version: 0.11.1 Release: 0 Summary: Software Transactional Memory for Scala License: BSD-3-Clause Group: Development/Libraries/Java -URL: https://nbronson.github.io/scala-stm/ -Source0: https://github.com/nbronson/scala-stm/archive/release-%{version}.tar.gz +URL: https://github.com/scala-stm/scala-stm +Source0: %{name}-%{version}.tar.xz Source1: https://repo1.maven.org/maven2/org/%{name}/%{name}_%{scala_short_version}/%{version}/%{name}_%{scala_short_version}-%{version}.pom BuildRequires: fdupes BuildRequires: java-devel BuildRequires: javapackages-local -BuildRequires: scala +BuildRequires: scala >= %{scala_short_version} BuildRequires: xmvn-install BuildRequires: xmvn-resolve BuildArch: noarch @@ -54,36 +54,35 @@ This package contains javadoc for %{name}. %prep -%setup -q -n %{name}-release-%{version} -# Cleanup -find -name '*.class' -print -delete -find -name '*.jar' -print -delete -# sb7_java-v1.2.tgz http://lpd.epfl.ch/gramoli/doc/sw/sb7_java-v1.2.tgz -rm -r lib/* - -# get rid of sbt plugins -rm project/plugins.sbt - -# delete tests due to missing deps -rm -rf src/test -rm -rf dep-tests +%setup -q -n %{name}-%{version} %{mvn_file} org.%{name}:%{name}_%{scala_short_version} %{name} %build mkdir -p target/classes -scalac -nobootcp -d target/classes $(find src/main -name \*.scala | xargs) +scalac -nobootcp -d target/classes -release:8 \ + $(find jvm/src/main/scala -name \*.scala && \ + find jvm/src/main/scala-2.13+ -name \*.scala && \ + find jvm/src/main/scala-2.14- -name \*.scala && \ + find shared/src/main/scala -name \*.scala && \ + find shared/src/main/scala-2.13+ -name \*.scala | xargs) jar -cf target/%{name}_%{scala_short_version}-%{version}.jar -C target/classes . mkdir -p target/apidoc -scaladoc -nobootcp -d target/apidoc $(find src/main -name \*.scala | xargs) +scaladoc -nobootcp -d target/apidoc -release:8 \ + $(find jvm/src/main/scala -name \*.scala && \ + find jvm/src/main/scala-2.13+ -name \*.scala && \ + find jvm/src/main/scala-2.14- -name \*.scala && \ + find shared/src/main/scala -name \*.scala && \ + find shared/src/main/scala-2.13+ -name \*.scala | xargs) %install +# target/scala-2.10/scala-stm_2.10-0.7.jar %{mvn_artifact} %{SOURCE1} target/%{name}_%{scala_short_version}-%{version}.jar %mvn_install -J target/apidoc/ %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles -%doc README RELEASE-NOTES.txt +%doc README.md RELEASE-NOTES.txt %license LICENSE.txt %files javadoc -f .mfiles-javadoc ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">https://github.com/scala-stm/scala-stm.git</param> <!-- <param name="revision">v0.11.0</param> <param name="match-tag">v*</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> --> <param name="revision">c4a2c40611e77dc295728ca76ac53e56f2726ddc</param> <param name="versionformat">0.11.1</param> <param name="exclude">**/*.jar</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> </services> ++++++ scala-stm_2.10-0.7.pom -> scala-stm_2.13-0.11.1.pom ++++++ --- /work/SRC/openSUSE:Factory/scala-stm/scala-stm_2.10-0.7.pom 2023-10-04 22:32:29.309890083 +0200 +++ /work/SRC/openSUSE:Factory/.scala-stm.new.1807/scala-stm_2.13-0.11.1.pom 2023-10-12 23:47:27.436514862 +0200 @@ -2,38 +2,64 @@ <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"> <modelVersion>4.0.0</modelVersion> <groupId>org.scala-stm</groupId> - <artifactId>scala-stm_2.10</artifactId> + <artifactId>scala-stm_2.13</artifactId> <packaging>jar</packaging> - <description>scala-stm</description> - <version>0.7</version> - <name>scala-stm</name> - <organization> - <name>org.scala-stm</name> - </organization> - <url>http://nbronson.github.com/scala-stm/</url> + <description>A library for Software Transactional Memory in Scala</description> + <url>https://nbronson.github.com/scala-stm/</url> + <version>0.11.1</version> <licenses> <license> - <name>BSD</name> - <url>https://github.com/nbronson/scala-stm/blob/master/LICENSE.txt</url> + <name>BSD 3-Clause "New" or "Revised" License</name> + <url>https://spdx.org/licenses/BSD-3-Clause</url> <distribution>repo</distribution> </license> </licenses> + <name>scala-stm</name> + <organization> + <name>org.scala-stm</name> + <url>https://nbronson.github.com/scala-stm/</url> + </organization> <scm> - <connection>scm:git:g...@github.com:nbronson/scala-stm.git</connection> - <url>g...@github.com:nbronson/scala-stm.git</url> + <url>https://github.com/scala-stm/scala-stm</url> + <connection>scm:g...@github.com:scala-stm/scala-stm.git</connection> </scm> <developers> <developer> <id>nbronson</id> <name>Nathan Bronson</name> + <url>https://github.com/nbronson</url> <email>ngbron...@gmail.com</email> </developer> + <developer> + <id>sciss</id> + <name>Hanns Holger Rutz</name> + <url>https://www.sciss.de</url> + <email>cont...@sciss.de</email> + </developer> </developers> <dependencies> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> - <version>2.10.0</version> + <version>2.13.5</version> + </dependency> + <dependency> + <groupId>org.scalatest</groupId> + <artifactId>scalatest_2.13</artifactId> + <version>3.2.7</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.scalatestplus</groupId> + <artifactId>junit-4-13_2.13</artifactId> + <version>3.2.7.0</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.13.1</version> + <scope>test</scope> </dependency> </dependencies> </project> \ No newline at end of file