blob: fc6942407967117de6366c2a80a0269965f86c73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
Name: commons-lang
Version: 3.19.0
Release: 1%{?dist}
Summary: Extensions to the standard Java library
BuildArch: noarch
License: Apache-2.0
URL: https://commons.apache.org/proper/commons-lang/
Source0: https://github.com/apache/commons-lang/archive/commons-lang-%{version}.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
%description
Apache Commons Lang, a package of Java utility classes for the
classes that are in java.lang's hierarchy, or are considered to be so
standard as to justify existence in java.lang. The code is tested using
the latest revision of the JDK for supported LTS releases: 8, 11, 17
and 21 currently.
%prep
%autosetup -n %{name}-%{version} -p1
# Remove plugins that require network access or are incompatible with offline builds
%pom_remove_plugin -r :maven-checkstyle-plugin
%pom_remove_plugin -r :spotbugs-maven-plugin
%pom_remove_plugin -r :maven-pmd-plugin
%pom_remove_plugin -r :apache-rat-plugin
%pom_remove_plugin -r :maven-scm-publish-plugin
%pom_remove_plugin -r :maven-assembly-plugin
# maven-javadoc-plugin requires commons-text which is unavailable in offline mode
%pom_remove_plugin -r :maven-javadoc-plugin
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt NOTICE.txt
%doc README.md RELEASE-NOTES.txt
%changelog
* Mon Sep 14 2026 Java_Bot <Java_Bot@openeuler.org> - 3.19.0-1
- Initial package
|