|
|
77129b |
Name: disruptor
|
|
|
77129b |
Version: 3.4.4
|
|
|
77129b |
Release: 2%{?dist}
|
|
|
77129b |
Summary: Concurrent Programming Framework
|
|
|
77129b |
License: ASL 2.0
|
|
|
77129b |
URL: https://lmax-exchange.github.io/disruptor/
|
|
|
77129b |
BuildArch: noarch
|
|
|
77129b |
|
|
|
77129b |
Source0: https://github.com/LMAX-Exchange/disruptor/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
77129b |
Source1: https://repo1.maven.org/maven2/com/lmax/%{name}/%{version}/%{name}-%{version}.pom
|
|
|
77129b |
|
|
|
77129b |
BuildRequires: maven-local-openjdk8
|
|
|
77129b |
BuildRequires: mvn(junit:junit)
|
|
|
77129b |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
77129b |
|
|
|
77129b |
%description
|
|
|
77129b |
A High Performance Inter-Thread Messaging Library.
|
|
|
77129b |
|
|
|
77129b |
%package javadoc
|
|
|
77129b |
Summary: Javadoc for %{name}
|
|
|
77129b |
|
|
|
77129b |
%description javadoc
|
|
|
77129b |
This package contains javadoc for %{name}.
|
|
|
77129b |
|
|
|
77129b |
%prep
|
|
|
77129b |
%autosetup
|
|
|
77129b |
# Cleanup
|
|
|
77129b |
find . -name "*.class" -print -delete
|
|
|
77129b |
find . -name "*.jar" -type f -print -delete
|
|
|
77129b |
|
|
|
77129b |
cp -p %{SOURCE1} pom.xml
|
|
|
77129b |
|
|
|
77129b |
# Add OSGi support
|
|
|
77129b |
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>"
|
|
|
77129b |
%pom_add_plugin org.apache.felix:maven-bundle-plugin:2.3.7 . '
|
|
|
77129b |
<extensions>true</extensions>
|
|
|
77129b |
<configuration>
|
|
|
77129b |
<instructions>
|
|
|
77129b |
<Bundle-DocURL>%{url}</Bundle-DocURL>
|
|
|
77129b |
<Bundle-Name>${project.name}</Bundle-Name>
|
|
|
77129b |
<Bundle-Vendor>LMAX Disruptor Development Team</Bundle-Vendor>
|
|
|
77129b |
</instructions>
|
|
|
77129b |
</configuration>
|
|
|
77129b |
<executions>
|
|
|
77129b |
<execution>
|
|
|
77129b |
<id>bundle-manifest</id>
|
|
|
77129b |
<phase>process-classes</phase>
|
|
|
77129b |
<goals>
|
|
|
77129b |
<goal>manifest</goal>
|
|
|
77129b |
</goals>
|
|
|
77129b |
</execution>
|
|
|
77129b |
</executions>'
|
|
|
77129b |
|
|
|
77129b |
# fail to compile cause: incompatible hamcrest apis
|
|
|
77129b |
rm -r src/test/java/com/lmax/disruptor/RingBufferTest.java \
|
|
|
77129b |
src/test/java/com/lmax/disruptor/RingBufferEventMatcher.java
|
|
|
77129b |
# Failed to stop thread: Thread[com.lmax.disruptor.BatchEventProcessor@1d057a39,5,main]
|
|
|
77129b |
rm -r src/test/java/com/lmax/disruptor/dsl/DisruptorTest.java
|
|
|
77129b |
# Test fails due to incompatible jmock version
|
|
|
77129b |
#rm -f src/test/java/com/lmax/disruptor/EventPollerTest.java
|
|
|
77129b |
|
|
|
77129b |
%mvn_file :%{name} %{name}
|
|
|
77129b |
|
|
|
77129b |
%build
|
|
|
77129b |
|
|
|
77129b |
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8 -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
|
|
77129b |
|
|
|
77129b |
%install
|
|
|
77129b |
%mvn_install
|
|
|
77129b |
|
|
|
77129b |
%files -f .mfiles
|
|
|
77129b |
%doc README.md
|
|
|
77129b |
%license LICENCE.txt
|
|
|
77129b |
|
|
|
77129b |
%files javadoc -f .mfiles-javadoc
|
|
|
77129b |
%license LICENCE.txt
|
|
|
77129b |
|
|
|
77129b |
%changelog
|
|
|
77129b |
* Wed Feb 23 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4.4-2
|
|
|
77129b |
- Build with OpenJDK 8
|
|
|
77129b |
|
|
|
77129b |
* Mon Dec 13 2021 Sérgio Basto <sergio@serjux.com> - 3.4.4-1
|
|
|
77129b |
- Update disruptor to 3.4.4 (#1953941)
|
|
|
77129b |
|
|
|
77129b |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-6
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4.2-5
|
|
|
77129b |
- Remove unneeded buildrequires on jmock and hamcrest
|
|
|
77129b |
|
|
|
77129b |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-4
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-3
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.4.2-2
|
|
|
77129b |
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
77129b |
|
|
|
77129b |
* Tue May 12 2020 Alexander Scheel <ascheel@redhat.com> - 3.4.2-1
|
|
|
77129b |
- Rebase to disruptor upstream release v3.4.2
|
|
|
77129b |
|
|
|
77129b |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.6-8
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.6-7
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.6-6
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.6-5
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.6-4
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.6-3
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.6-2
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Fri Nov 11 2016 gil cattaneo <puntogil@libero.it> 3.3.6-1
|
|
|
77129b |
- update to 3.3.6
|
|
|
77129b |
|
|
|
77129b |
* Thu Jun 23 2016 gil cattaneo <puntogil@libero.it> 3.3.4-1
|
|
|
77129b |
- update to 3.3.4
|
|
|
77129b |
|
|
|
77129b |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.2-4
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-3
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Wed Jun 03 2015 gil cattaneo <puntogil@libero.it> 3.3.2-2
|
|
|
77129b |
- build fix for jmock 2.8.1
|
|
|
77129b |
|
|
|
77129b |
* Wed Jun 3 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.2-1
|
|
|
77129b |
- Update to upstream version 3.3.2
|
|
|
77129b |
|
|
|
77129b |
* Sun Feb 01 2015 gil cattaneo <puntogil@libero.it> 3.2.1-3
|
|
|
77129b |
- introduce license macro
|
|
|
77129b |
|
|
|
77129b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
|
|
|
77129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
77129b |
|
|
|
77129b |
* Mon Apr 21 2014 gil cattaneo <puntogil@libero.it> 3.2.1-1
|
|
|
77129b |
- update to 3.2.1
|
|
|
77129b |
|
|
|
77129b |
* Wed Aug 14 2013 gil cattaneo <puntogil@libero.it> 3.2.0-1
|
|
|
77129b |
- initial rpm
|