jsoup/jsoup.spec
caodongxia 1c91dd2a81 回退 'Pull Request !12 : update to 1.15.3 to fix cve-2022-36033'
(cherry picked from commit 30de81cf870f5650a75e73f71e2e8a08e6f1daa4)
2022-09-27 20:49:24 +08:00

45 lines
1.1 KiB
RPMSpec

Name: jsoup
Version: 1.14.2
Release: 1
Summary: Java HTML Parser
License: MIT
URL: http://jsoup.org/
Source0: https://github.com/jhy/jsoup/archive/refs/tags/jsoup-%{version}.tar.gz
BuildArch: noarch
BuildRequires: maven-local, mvn(org.apache.felix:maven-bundle-plugin)
Provides: %{name}-javadoc%{?_isa} %{name}-javadoc
Obsoletes: %{name}-javadoc
%description
jsoup is a Java library for working with real-world HTML. It provides a very convenient API
for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods.
%prep
%autosetup -n %{name}-%{name}-%{version} -p1
%pom_remove_plugin :animal-sniffer-maven-plugin
%pom_remove_plugin :japicmp-maven-plugin
%pom_remove_plugin :maven-failsafe-plugin
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE
%{_javadocdir}/%{name}/*
%changelog
* Fri Sep 3 2021 houyingchao <houyingchao@huawei.com> - 1.14.2-1
- Upgrade to 1.14.2
* Wed Mar 4 2020 chenli <chenli147@huawei.com> - 1.11.3-5
- Modify Spec.
* Tue Dec 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.11.3-4
- Package init