|
|
85a9e4 |
Name: apache-commons-compress
|
|
|
85a9e4 |
Version: 1.19
|
|
|
85a9e4 |
Release: 2%{?dist}
|
|
|
85a9e4 |
Summary: Java API for working with compressed files and archivers
|
|
|
85a9e4 |
License: ASL 2.0
|
|
|
85a9e4 |
URL: http://commons.apache.org/proper/commons-compress/
|
|
|
85a9e4 |
BuildArch: noarch
|
|
|
85a9e4 |
|
|
|
85a9e4 |
Source0: http://archive.apache.org/dist/commons/compress/source/commons-compress-%{version}-src.tar.gz
|
|
|
85a9e4 |
|
|
|
85a9e4 |
Patch0: 0001-Remove-Brotli-compressor.patch
|
|
|
85a9e4 |
Patch1: 0002-Remove-ZSTD-compressor.patch
|
|
|
85a9e4 |
Patch2: 0003-Avoid-use-of-internal-Mockito-API.patch
|
|
|
85a9e4 |
|
|
|
85a9e4 |
BuildRequires: maven-local
|
|
|
85a9e4 |
BuildRequires: mvn(junit:junit)
|
|
|
85a9e4 |
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
|
|
85a9e4 |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
85a9e4 |
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
|
|
85a9e4 |
BuildRequires: mvn(org.mockito:mockito-core)
|
|
|
85a9e4 |
BuildRequires: mvn(org.osgi:org.osgi.core)
|
|
|
85a9e4 |
BuildRequires: mvn(org.tukaani:xz)
|
|
|
85a9e4 |
|
|
|
85a9e4 |
%description
|
|
|
85a9e4 |
The Apache Commons Compress library defines an API for working with
|
|
|
85a9e4 |
ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200 and bzip2 files.
|
|
|
85a9e4 |
In version 1.14 read-only support for Brotli decompression has been added,
|
|
|
85a9e4 |
but it has been removed form this package.
|
|
|
85a9e4 |
|
|
|
85a9e4 |
%package javadoc
|
|
|
85a9e4 |
Summary: API documentation for %{name}
|
|
|
85a9e4 |
|
|
|
85a9e4 |
%description javadoc
|
|
|
85a9e4 |
This package provides %{summary}.
|
|
|
85a9e4 |
|
|
|
85a9e4 |
%prep
|
|
|
85a9e4 |
%setup -q -n commons-compress-%{version}-src
|
|
|
85a9e4 |
|
|
|
85a9e4 |
# Unavailable Google Brotli library (org.brotli.dec)
|
|
|
85a9e4 |
%patch0 -p1
|
|
|
85a9e4 |
%pom_remove_dep org.brotli:dec
|
|
|
85a9e4 |
rm -r src/{main,test}/java/org/apache/commons/compress/compressors/brotli
|
|
|
85a9e4 |
|
|
|
85a9e4 |
# Unavailable ZSTD JNI library
|
|
|
85a9e4 |
%patch1 -p1
|
|
|
85a9e4 |
%pom_remove_dep :zstd-jni
|
|
|
85a9e4 |
rm -r src/{main,test}/java/org/apache/commons/compress/compressors/zstandard
|
|
|
85a9e4 |
rm src/test/java/org/apache/commons/compress/compressors/DetectCompressorTestCase.java
|
|
|
85a9e4 |
|
|
|
85a9e4 |
# Avoid using internal Mockito APIs
|
|
|
85a9e4 |
%patch2 -p1
|
|
|
85a9e4 |
|
|
|
85a9e4 |
# remove osgi tests, we don't have deps for them
|
|
|
85a9e4 |
%pom_remove_dep org.ops4j.pax.exam:::test
|
|
|
85a9e4 |
%pom_remove_dep :org.apache.felix.framework::test
|
|
|
85a9e4 |
%pom_remove_dep :javax.inject::test
|
|
|
85a9e4 |
%pom_remove_dep :slf4j-api::test
|
|
|
85a9e4 |
rm src/test/java/org/apache/commons/compress/OsgiITest.java
|
|
|
85a9e4 |
|
|
|
85a9e4 |
# Remove test that requires powermock
|
|
|
85a9e4 |
%pom_remove_dep org.powermock:
|
|
|
85a9e4 |
%pom_add_dep org.mockito:mockito-core::test
|
|
|
85a9e4 |
rm src/test/java/org/apache/commons/compress/compressors/z/ZCompressorInputStreamTest.java
|
|
|
85a9e4 |
|
|
|
85a9e4 |
%build
|
|
|
85a9e4 |
%mvn_file : commons-compress %{name}
|
|
|
85a9e4 |
%mvn_alias : commons:
|
|
|
85a9e4 |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
85a9e4 |
export LC_ALL=en_US.UTF-8
|
|
|
85a9e4 |
%endif
|
|
|
85a9e4 |
%mvn_build -- -Dcommons.osgi.symbolicName=org.apache.commons.compress
|
|
|
85a9e4 |
|
|
|
85a9e4 |
%install
|
|
|
85a9e4 |
%mvn_install
|
|
|
85a9e4 |
|
|
|
85a9e4 |
%files -f .mfiles
|
|
|
85a9e4 |
%doc LICENSE.txt NOTICE.txt
|
|
|
85a9e4 |
|
|
|
85a9e4 |
%files javadoc -f .mfiles-javadoc
|
|
|
85a9e4 |
%doc LICENSE.txt NOTICE.txt
|
|
|
85a9e4 |
|
|
|
85a9e4 |
%changelog
|
|
|
85a9e4 |
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.19-2
|
|
|
85a9e4 |
- Mass rebuild for javapackages-tools 201902
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Mon Sep 02 2019 Marian Koncek <mkoncek@redhat.com> - 1.19-1
|
|
|
85a9e4 |
- Update to upstream version 1.19
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.18-6
|
|
|
85a9e4 |
- Mass rebuild for javapackages-tools 201901
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.18-5
|
|
|
85a9e4 |
- Remove build-dependency on powermock
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Thu Feb 14 2019 Mat Booth <mat.booth@redhat.com> - 1.18-4
|
|
|
85a9e4 |
- Rebuild to regenerate OSGi metadata
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Thu Feb 07 2019 Mat Booth <mat.booth@redhat.com> - 1.18-3
|
|
|
85a9e4 |
- Fix test suite build against Mockito 2.x
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-2
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Fri Oct 05 2018 Marian Koncek <mkoncek@redhat.com> - 1.18-1
|
|
|
85a9e4 |
- Update to upstream version 1.18
|
|
|
85a9e4 |
- Resolves: CVE-2018-11771
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-2
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Tue Jun 05 2018 Michael Simacek <msimacek@redhat.com> - 1.17-1
|
|
|
85a9e4 |
- Update to upstream version 1.17
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Mon Feb 12 2018 Michael Simacek <msimacek@redhat.com> - 1.16.1-1
|
|
|
85a9e4 |
- Update to upstream version 1.16.1
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Sun Oct 22 2017 Michael Simacek <msimacek@redhat.com> - 1.15-1
|
|
|
85a9e4 |
- Update to upstream version 1.15
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-2
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Wed Jun 14 2017 Roman Vais <rvais@redhat.com> - 1.14-1
|
|
|
85a9e4 |
- Update to upstream version 1.14
|
|
|
85a9e4 |
- Remove Brotli support, it is not packaged for fedora
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-2
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Mon Jan 02 2017 Michael Simacek <msimacek@redhat.com> - 1.13-1
|
|
|
85a9e4 |
- Update to upstream version 1.13
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Wed Jun 22 2016 Michael Simacek <msimacek@redhat.com> - 1.12-1
|
|
|
85a9e4 |
- Update to upstream version 1.12
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Mon May 02 2016 Michael Simacek <msimacek@redhat.com> - 1.11-1
|
|
|
85a9e4 |
- Update to upstream version 1.11
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-0.3.svn1684406
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-0.2.svn1684406
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Tue Jun 9 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.10-0.1.svn1684406
|
|
|
85a9e4 |
- Update to latest upstream snapshot
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-2
|
|
|
85a9e4 |
- Remove legacy Obsoletes/Provides for jakarta-commons
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Mon Oct 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-1
|
|
|
85a9e4 |
- Update to upstream version 1.9
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Wed Jul 30 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.1-3
|
|
|
85a9e4 |
- Fix build-requires on apache-commons-parent
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-2
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Fri May 23 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8.1-1
|
|
|
85a9e4 |
- Update to upstream version 1.8.1
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Mon Mar 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8-2
|
|
|
85a9e4 |
- Remove dependency on maven-scm-publish-plugin
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Fri Mar 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8-1
|
|
|
85a9e4 |
- Update to upstream version 1.8
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.7-2
|
|
|
85a9e4 |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Mon Jan 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-1
|
|
|
85a9e4 |
- Update to upstream version 1.7
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Tue Oct 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6-1
|
|
|
85a9e4 |
- Update to upstream version 1.6
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Thu Mar 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-1
|
|
|
85a9e4 |
- Update to upstream version 1.5
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-6
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4.1-5
|
|
|
85a9e4 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
85a9e4 |
- Replace maven BuildRequires with maven-local
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Wed Jan 9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.1-4
|
|
|
85a9e4 |
- Bump release tag
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Tue Jan 8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.1-3
|
|
|
85a9e4 |
- Build with xmvn
|
|
|
85a9e4 |
- Update to current packaging guidelines
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Thu May 24 2012 Sandro Mathys <red at fedoraproject.org> - 1.4.1-1
|
|
|
85a9e4 |
- Updated to 1.4.1
|
|
|
85a9e4 |
- Fixes CVE-2012-2098 Low: Denial of Service
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Fri Apr 27 2012 Sandro Mathys <red at fedoraproject.org> - 1.4-1
|
|
|
85a9e4 |
- Updated to 1.4
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Tue Nov 01 2011 Sandro Mathys <red at fedoraproject.org> - 1.3-1
|
|
|
85a9e4 |
- Updated to 1.3
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Thu Aug 04 2011 Sandro Mathys <red at fedoraproject.org> - 1.2-2
|
|
|
85a9e4 |
- Fixing mistake where different versions of the spec file got mixed up
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Thu Aug 04 2011 Sandro Mathys <red at fedoraproject.org> - 1.2-1
|
|
|
85a9e4 |
- Updated to 1.2
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Sat Apr 16 2011 Chris Spike <spike@fedoraproject.org> 1.1-1
|
|
|
85a9e4 |
- Updated to 1.1
|
|
|
85a9e4 |
- Adapted to current java packaging guidelines
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-9
|
|
|
85a9e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Sun Jul 11 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-8
|
|
|
85a9e4 |
- Fixed the Maven depmap line by replacing org.apache.maven by org.apache.commons
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Mon May 31 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-7
|
|
|
85a9e4 |
- Fixed regression with missing Provides/Obsoletes for javadocs
|
|
|
85a9e4 |
- Fixed changelog format
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Sun May 23 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-6
|
|
|
85a9e4 |
- Fixed Maven depmap to use commons-compress
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Thu May 13 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-5
|
|
|
85a9e4 |
- Added missing Provides/Obsoletes for javadocs
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Mon May 10 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-4
|
|
|
85a9e4 |
- Cleared some problems after the review
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Thu May 06 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-3
|
|
|
85a9e4 |
- Now using maven2 (mvn-jpp) instead of directly calling javac & co
|
|
|
85a9e4 |
|
|
|
85a9e4 |
* Tue May 04 2010 Sandro Mathys <red at fedoraproject.org> - 1.0-2
|
|
|
85a9e4 |
- Renamed from jakarta-commons-compress
|