Compare commits

..

No commits in common. "c8-stream-3.6" and "c9-beta" have entirely different histories.

4 changed files with 68 additions and 9 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/jsoup-1.12.1.tar.gz
SOURCES/jsoup-1.13.1.tar.gz

View File

@ -1 +1 @@
48adc12dca7887f3d93c5680ce94194ab0a312a4 SOURCES/jsoup-1.12.1.tar.gz
e6120c58f00239b85d67c779053b8a9b006cac68 SOURCES/jsoup-1.13.1.tar.gz

View File

@ -9,13 +9,13 @@ wget "https://github.com/jhy/${name}/archive/${name}-${version}.tar.gz" -O "${na
rm -rf tarball-tmp
mkdir tarball-tmp
cd tarball-tmp
tar xf "../${name}-${version}.orig.tar.gz"
pushd tarball-tmp
tar -xf "../${name}-${version}.orig.tar.gz"
# CLEAN TARBALL
# contains scraped news articles (non-free)
rm -r */src/test/resources
rm -r "${name}-${name}-${version}/src/test/resources"
tar cf "../${name}-${version}.tar.gz" *
cd ..
tar -czf "../${name}-${version}.tar.gz" *
popd
rm -r tarball-tmp "${name}-${version}.orig.tar.gz"

View File

@ -1,6 +1,8 @@
%bcond_with bootstrap
Name: jsoup
Version: 1.12.1
Release: 3%{?dist}
Version: 1.13.1
Release: 10%{?dist}
Summary: Java library for working with real-world HTML
License: MIT
URL: http://jsoup.org/
@ -12,7 +14,11 @@ Source0: %{name}-%{version}.tar.gz
Source1: generate-tarball.sh
BuildRequires: maven-local-openjdk8
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
%endif
%description
jsoup is a Java library for working with real-world HTML.
@ -40,8 +46,14 @@ jsoup will create a sensible parse tree.
%setup -q -n %{name}-%{name}-%{version}
%pom_remove_plugin :animal-sniffer-maven-plugin
%pom_remove_plugin :maven-failsafe-plugin
%pom_remove_plugin :maven-javadoc-plugin
# Expose internal packages in the OSGi metadata, clearly marking them as such
# using the x-internal attribute
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-bundle-plugin']/pom:configuration/pom:instructions" \
"<_exportcontents>*.internal;x-internal:=true,*</_exportcontents>"
%build
%mvn_build -f
@ -53,18 +65,65 @@ jsoup will create a sensible parse tree.
%license LICENSE
%changelog
* Tue Jan 31 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-10
- Rebuild to regenerate auto-requires
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.13.1-9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-8
- Rebuild to workaround DistroBaker issue
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-7
- Bootstrap Maven for CentOS Stream 9
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13.1-6
- Bootstrap build
- Non-bootstrap build
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Aug 28 2020 Mat Booth <mat.booth@redhat.com> - 1.13.1-4
- Expose internal packages in the OSGi metadata
* Tue Aug 25 2020 Marian Koncek <mkoncek@redhat.com> - 1.13.1-1
- Update to upstream version 1.13.1
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.13.1-2
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Thu May 14 2020 Fabio Valentini <decathorpe@gmail.com> - 1.13.1-1
- Update to version 1.13.1.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.12.1-3
- Build with OpenJDK 8
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.12.1-2
- Mass rebuild for javapackages-tools 201902
* Sun Oct 20 2019 Fabio Valentini <decathorpe@gmail.com> - 1.12.1-1
- Update to version 1.12.1.
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jul 04 2019 Marian Koncek <mkoncek@redhat.com> - 1.12.1-1
- Update to upstream version 1.12.1
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11.3-4
- Mass rebuild for javapackages-tools 201901
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Jul 18 2018 Michael Simacek <msimacek@redhat.com> - 1.11.3-3
- Remove non-free scraped web pages from SRPM