|
|
93e01ef |
%global srcname JCTools
|
|
|
93e01ef |
|
|
|
93e01ef |
Name: jctools
|
|
|
93e01ef |
Version: 3.1.0
|
|
|
93e01ef |
Release: 1%{?dist}
|
|
|
93e01ef |
Summary: Java Concurrency Tools for the JVM
|
|
|
93e01ef |
License: ASL 2.0
|
|
|
93e01ef |
|
|
|
93e01ef |
URL: https://github.com/JCTools/JCTools
|
|
|
93e01ef |
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
|
|
93e01ef |
|
|
|
93e01ef |
BuildArch: noarch
|
|
|
a357107 |
|
|
|
a9c556a |
BuildRequires: maven-local
|
|
|
a357107 |
BuildRequires: mvn(com.github.javaparser:javaparser-core) >= 3.14.16
|
|
|
a9c556a |
BuildRequires: mvn(com.google.guava:guava-testlib)
|
|
|
a9c556a |
BuildRequires: mvn(junit:junit)
|
|
|
a9c556a |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
a9c556a |
BuildRequires: mvn(org.codehaus.mojo:exec-maven-plugin)
|
|
|
a9c556a |
BuildRequires: mvn(org.hamcrest:hamcrest-all)
|
|
|
043bf12 |
|
|
|
93e01ef |
# unused parent package was removed for fedora 33+
|
|
|
93e01ef |
Obsoletes: %{name}-parent < 3.1.0-1
|
|
|
043bf12 |
|
|
|
93e01ef |
# unused channels and experimental modules disabled with 3.1.0 for fedora 33+
|
|
|
93e01ef |
# Unsafe.defineClass is not available in JDK 11:
|
|
|
93e01ef |
# https://github.com/JCTools/JCTools/issues/254
|
|
|
93e01ef |
Obsoletes: %{name}-channels < 3.1.0-1
|
|
|
93e01ef |
Obsoletes: %{name}-experimental < 3.1.0-1
|
|
|
2073cb6 |
|
|
|
043bf12 |
%description
|
|
|
043bf12 |
This project aims to offer some concurrent data structures
|
|
|
043bf12 |
currently missing from the JDK:
|
|
|
043bf12 |
|
|
|
043bf12 |
° SPSC/MPSC/SPMC/MPMC Bounded lock free queues
|
|
|
043bf12 |
° SPSC/MPSC Unbounded lock free queues
|
|
|
043bf12 |
° Alternative interfaces for queues
|
|
|
043bf12 |
° Offheap concurrent ring buffer for ITC/IPC purposes
|
|
|
043bf12 |
° Single Writer Map/Set implementations
|
|
|
043bf12 |
° Low contention stats counters
|
|
|
043bf12 |
° Executor
|
|
|
043bf12 |
|
|
|
93e01ef |
|
|
|
043bf12 |
%package javadoc
|
|
|
93e01ef |
Summary: Javadoc for %{name}
|
|
|
043bf12 |
|
|
|
043bf12 |
%description javadoc
|
|
|
043bf12 |
This package contains javadoc for %{name}.
|
|
|
043bf12 |
|
|
|
a357107 |
|
|
|
93e01ef |
%prep
|
|
|
93e01ef |
%setup -q -n %{srcname}-%{version}
|
|
|
043bf12 |
|
|
|
93e01ef |
# drop some failure-prone tests (race conditions?)
|
|
|
7b74388 |
rm jctools-core/src/test/java/org/jctools/queues/MpqSanityTestMpscCompound.java
|
|
|
dad3138 |
rm jctools-core/src/test/java/org/jctools/queues/atomic/AtomicMpqSanityTestMpscCompound.java
|
|
|
fa14243 |
rm jctools-core/src/test/java/org/jctools/maps/NonBlockingHashMapTest.java
|
|
|
dad3138 |
|
|
|
93e01ef |
# set correct version in all pom.xml files
|
|
|
2073cb6 |
%pom_xpath_set pom:project/pom:version %{version}
|
|
|
93e01ef |
%pom_xpath_set pom:parent/pom:version %{version} jctools-{build,core,channels,experimental}
|
|
|
3f4c0d7 |
|
|
|
93e01ef |
# remove plugins unnecessary for RPM builds
|
|
|
93e01ef |
%pom_remove_plugin :coveralls-maven-plugin jctools-core
|
|
|
93e01ef |
%pom_remove_plugin :jacoco-maven-plugin jctools-core
|
|
|
043bf12 |
%pom_remove_plugin :maven-enforcer-plugin
|
|
|
93e01ef |
%pom_remove_plugin :maven-source-plugin jctools-core
|
|
|
93e01ef |
%pom_remove_plugin :maven-javadoc-plugin jctools-core
|
|
|
043bf12 |
|
|
|
93e01ef |
# disable unused modules with unavailable dependencies
|
|
|
93e01ef |
%pom_disable_module jctools-benchmarks
|
|
|
93e01ef |
%pom_disable_module jctools-concurrency-test
|
|
|
3f4c0d7 |
|
|
|
93e01ef |
# incompatible with Java 11 and unused in fedora:
|
|
|
93e01ef |
# https://github.com/JCTools/JCTools/issues/254
|
|
|
93e01ef |
%pom_disable_module jctools-channels
|
|
|
93e01ef |
%pom_disable_module jctools-experimental
|
|
|
043bf12 |
|
|
|
93e01ef |
# do not install internal build tools
|
|
|
a9c556a |
%mvn_package :jctools-build __noinstall
|
|
|
043bf12 |
|
|
|
93e01ef |
# do not install unused parent POM
|
|
|
93e01ef |
%mvn_package :jctools-parent __noinstall
|
|
|
93e01ef |
|
|
|
93e01ef |
|
|
|
a9c556a |
%build
|
|
|
3f4c0d7 |
%mvn_build -s
|
|
|
043bf12 |
|
|
|
93e01ef |
|
|
|
043bf12 |
%install
|
|
|
043bf12 |
%mvn_install
|
|
|
043bf12 |
|
|
|
93e01ef |
|
|
|
93e01ef |
%files -f .mfiles-jctools-core
|
|
|
043bf12 |
%doc README.md
|
|
|
043bf12 |
%license LICENSE
|
|
|
043bf12 |
|
|
|
043bf12 |
%files javadoc -f .mfiles-javadoc
|
|
|
043bf12 |
%license LICENSE
|
|
|
043bf12 |
|
|
|
93e01ef |
|
|
|
043bf12 |
%changelog
|
|
|
2073cb6 |
* Fri Sep 04 2020 Mat Booth <mat.booth@redhat.com> - 3.1.0-1
|
|
|
2073cb6 |
- Update to latest upstream version
|
|
|
2073cb6 |
- Obsolete sub-packages that cannot be built on JDK 11
|
|
|
2073cb6 |
|
|
|
a357107 |
* Tue Jul 28 2020 Mat Booth <mat.booth@redhat.com> - 2.1.2-10
|
|
|
a357107 |
- Patch for javaparser API changes
|
|
|
a357107 |
|
|
|
5532691 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-9
|
|
|
5532691 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
5532691 |
|
|
|
4c956a8 |
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 2.1.2-8
|
|
|
4c956a8 |
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
4c956a8 |
|
|
|
c3a2582 |
* Fri Jun 26 2020 Roland Grunberg <rgrunber@redhat.com> - 2.1.2-7
|
|
|
c3a2582 |
- Force Java 8 as we cannot build with Java 11 due to upstream bug.
|
|
|
c3a2582 |
|
|
|
07054ad |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-6
|
|
|
07054ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
07054ad |
|
|
|
fa14243 |
* Thu Dec 19 2019 Mat Booth <mat.booth@redhat.com> - 2.1.2-5
|
|
|
fa14243 |
- Skip problematic NonBlockingHashMapTest
|
|
|
fa14243 |
|
|
|
7b74388 |
* Mon Sep 09 2019 Fabio Valentini <decathorpe@gmail.com> - 2.1.2-4
|
|
|
7b74388 |
- Disable another failure-prone unreliable test.
|
|
|
7b74388 |
|
|
|
dad3138 |
* Mon Sep 09 2019 Fabio Valentini <decathorpe@gmail.com> - 2.1.2-3
|
|
|
dad3138 |
- Disable failure-prone unreliable test.
|
|
|
dad3138 |
|
|
|
6450cae |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-2
|
|
|
6450cae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
6450cae |
|
|
|
a9c556a |
* Wed Feb 13 2019 Mat Booth <mat.booth@redhat.com> - 2.1.2-1
|
|
|
a9c556a |
- Update to latest upstream release
|
|
|
a9c556a |
|
|
|
1108bb2 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-5
|
|
|
1108bb2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
1108bb2 |
|
|
|
b74903e |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-4
|
|
|
b74903e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b74903e |
|
|
|
df365ae |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
|
|
|
df365ae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
df365ae |
|
|
|
1597303 |
* Sun Sep 17 2017 Mat Booth <mat.booth@redhat.com> - 2.0.2-2
|
|
|
1597303 |
- Drop unneeded dep on guava-testlib
|
|
|
1597303 |
|
|
|
361a537 |
* Mon Aug 14 2017 Tomas Repik <trepik@redhat.com> - 2.0.2-1
|
|
|
361a537 |
- Update to 2.0.2
|
|
|
361a537 |
|
|
|
6564e62 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
|
|
6564e62 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6564e62 |
|
|
|
6aeca3a |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
|
|
6aeca3a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
6aeca3a |
|
|
|
3f4c0d7 |
* Wed Sep 28 2016 gil cattaneo <puntogil@libero.it> 1.2.1-1
|
|
|
3f4c0d7 |
- update to 1.2.1
|
|
|
3f4c0d7 |
|
|
|
015a706 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-0.3.alpha
|
|
|
015a706 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
015a706 |
|
|
|
987c723 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-0.2.alpha
|
|
|
987c723 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
987c723 |
|
|
|
043bf12 |
* Tue May 19 2015 gil cattaneo <puntogil@libero.it> 1.1-0.1.alpha
|
|
|
043bf12 |
- initial rpm
|
|
|
93e01ef |
|