Compare commits

...

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

9 changed files with 29 additions and 151 deletions

View File

@ -1 +0,0 @@
1

21
.gitignore vendored
View File

@ -1,20 +1 @@
/results_* SOURCES/jsoup-1.12.1.tar.gz
/*.src.rpm
/jsoup-1.6.1.tar.xz
/jsoup-jsoup-1.7.2.tar.gz
/jsoup-1.8.1.a.tar.gz
/jsoup-1.8.2.tar.gz
/jsoup-1.8.3.tar.gz
/jsoup-1.9.1.tar.gz
/jsoup-1.9.2.tar.gz
/jsoup-1.10.1.tar.gz
/jsoup-1.10.2.tar.gz
/jsoup-1.10.3.tar.gz
/jsoup-1.11.1.tar.gz
/jsoup-1.11.2.tar.gz
/jsoup-1.11.3.tar.gz
/jsoup-1.12.1.tar.gz
/jsoup-1.13.1.tar.gz
/jsoup-1.16.1.tar.gz
/jsoup-1.17.2.tar.gz

1
.jsoup.metadata Normal file
View File

@ -0,0 +1 @@
48adc12dca7887f3d93c5680ce94194ab0a312a4 SOURCES/jsoup-1.12.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 rm -rf tarball-tmp
mkdir tarball-tmp mkdir tarball-tmp
pushd tarball-tmp cd tarball-tmp
tar -xf "../${name}-${version}.orig.tar.gz" tar xf "../${name}-${version}.orig.tar.gz"
# CLEAN TARBALL # CLEAN TARBALL
# contains scraped news articles (non-free) # contains scraped news articles (non-free)
rm -r "${name}-${name}-${version}/src/test/resources" rm -r */src/test/resources
tar -czf "../${name}-${version}.tar.gz" * tar cf "../${name}-${version}.tar.gz" *
popd cd ..
rm -r tarball-tmp "${name}-${version}.orig.tar.gz" rm -r tarball-tmp "${name}-${version}.orig.tar.gz"

View File

@ -1,65 +1,46 @@
%bcond_with bootstrap
Name: jsoup Name: jsoup
Version: 1.17.2 Version: 1.12.1
Release: 4%{?dist} Release: 3%{?dist}
Summary: Java library for working with real-world HTML Summary: Java library for working with real-world HTML
License: MIT License: MIT
URL: https://jsoup.org/ URL: http://jsoup.org/
BuildArch: noarch BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
# ./generate-tarball.sh # ./generate-tarball.sh
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
# The sources contain non-free scraped web pages as test data # The sources contain non-free scraped web pages as test data
Source1: generate-tarball.sh Source1: generate-tarball.sh
%if %{with bootstrap} BuildRequires: maven-local-openjdk8
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
%endif
BuildRequires: jurand
%description %description
jsoup is a Java library for working with real-world HTML. It provides a very jsoup is a Java library for working with real-world HTML.
convenient API for fetching URLs and extracting and manipulating data, using the It provides a very convenient API for extracting and manipulating data,
best of HTML5 DOM methods and CSS selectors. using the best of DOM, CSS, and jquery-like methods.
jsoup implements the WHATWG HTML5 specification, and parses HTML to the same DOM jsoup implements the WHATWG HTML5 specification,
as modern browsers do. and parses HTML to the same DOM as modern browsers do.
* scrape and parse HTML from a URL, file, or string
* find and extract data, using DOM traversal or CSS selectors
* manipulate the HTML elements, attributes, and text
* clean user-submitted content against a safelist, to prevent XSS attacks
* output tidy HTML
jsoup is designed to deal with all varieties of HTML found in the wild; from - scrape and parse HTML from a URL, file, or string
pristine and validating, to invalid tag-soup; jsoup will create a sensible parse - find and extract data, using DOM traversal or CSS selectors
tree. - manipulate the HTML elements, attributes, and text
- clean user-submitted content against a safe white-list,
to prevent XSS attacks
- output tidy HTML
jsoup is designed to deal with all varieties of HTML found in the wild;
from pristine and validating, to invalid tag-soup;
jsoup will create a sensible parse tree.
%{?module_package}
%{?javadoc_package} %{?javadoc_package}
%prep %prep
%setup -q -n %{name}-%{name}-%{version} %setup -q -n %{name}-%{name}-%{version}
%pom_remove_plugin :animal-sniffer-maven-plugin %pom_remove_plugin :animal-sniffer-maven-plugin
%pom_remove_plugin :maven-failsafe-plugin
%pom_remove_plugin :maven-javadoc-plugin %pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin com.github.siom79.japicmp:japicmp-maven-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>"
# Remove jspecify annotations which are used for static analysis only
%pom_remove_dep :jspecify
sed -i /org.jspecify/d src/main/java9/module-info.java
%java_remove_annotations src/main/java -s \
-p org[.]jspecify[.]annotations[.] \
%build %build
%mvn_build -f %mvn_build -f
@ -67,91 +48,23 @@ sed -i /org.jspecify/d src/main/java9/module-info.java
%install %install
%mvn_install %mvn_install
%files -f .mfiles %files -n %{?module_prefix}%{name} -f .mfiles
%doc README.md CHANGES.md %doc README.md CHANGES
%license LICENSE %license LICENSE
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.17.2-4
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Thu Aug 01 2024 Troy Dawson <tdawson@redhat.com> - 1.17.2-3
- Bump release for Aug 2024 java mass rebuild
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.17.2-2
- Bump release for June 2024 mass rebuild
* Thu Feb 01 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.17.2-1
- Update to upstream version 1.17.2
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Aug 15 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.16.1-2
- Build with default JDK 17
* Mon Jul 24 2023 Marian Koncek <mkoncek@redhat.com> - 1.16.1-1
- Unretire with version 1.16.1
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.13.1-9
- Rebuilt for java-17-openjdk as system jdk
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* 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 * Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.12.1-3
- Build with OpenJDK 8 - Build with OpenJDK 8
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.12.1-2 * Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.12.1-2
- Mass rebuild for javapackages-tools 201902 - 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 * Thu Jul 04 2019 Marian Koncek <mkoncek@redhat.com> - 1.12.1-1
- Update to upstream version 1.12.1 - Update to upstream version 1.12.1
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11.3-4 * Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11.3-4
- Mass rebuild for javapackages-tools 201901 - 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 * Wed Jul 18 2018 Michael Simacek <msimacek@redhat.com> - 1.11.3-3
- Remove non-free scraped web pages from SRPM - Remove non-free scraped web pages from SRPM

1
ci.fmf
View File

@ -1 +0,0 @@
resultsdb-testcase: separate

View File

@ -1,7 +0,0 @@
--- !Policy
product_versions:
- rhel-10
decision_contexts:
- osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/javapackages.functional}

View File

@ -1,7 +0,0 @@
summary: Run javapackages-specific tests
discover:
how: fmf
url: https://src.fedoraproject.org/tests/javapackages
ref: c10s
execute:
how: tmt

View File

@ -1 +0,0 @@
SHA512 (jsoup-1.17.2.tar.gz) = 0d76e0478f7972e6789ac60d5bdedc114bacd233a073adc1527cb5e42b660fdac4f96b7e1f54e787fbe36d54ac09e73b3ac53ccccc3f242bb150da0164402ed6