Ai
5 Star 0 Fork 7

src-openEuler/apache-commons-lang3

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
apache-commons-lang3.spec 2.46 KB
Copy Edit Raw Blame History
liyajie authored 2025-07-24 14:17 +08:00 . Upgrade version to 3.18.0
Name: apache-commons-lang3
Version: 3.18.0
Release: 1
Summary: Apache Commons Lang version 3.0
License: Apache-2.0
URL: https://commons.apache.org/proper/commons-lang/
Source0: https://dlcdn.apache.org/commons/lang/source/commons-lang3-%{version}-src.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
%description
The standard Java libraries fail to provide enough methods for
manipulation of its core classes. The Commons Lang Component provides
these extra methods.
Lang provides a host of helper utilities for the java.lang API,
notably String manipulation methods, basic numerical methods, object
reflection, concurrency, creation and serialization and System
properties. Additionally it contains basic enhancements to
java.util.Date and a series of utilities dedicated to help with
building methods, such as hashCode, toString and equals.
Note that Lang 3.0 (and subsequent versions) use a different
package (org.apache.commons.lang3) than the previous
versions (org.apache.commons.lang), allowing it to be used at the same
time as an earlier version.
%package help
Summary: Documents for apache-commons-lang3
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
The apache-commons-lang3-help package contains related documents.
%prep
%autosetup -n commons-lang3-%{version}-src -p1
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_dep org.openjdk.jmh:jmh-core
%pom_remove_dep org.openjdk.jmh:jmh-generator-annprocess
%pom_remove_dep org.apache.commons:commons-text
%mvn_file : %{name} commons-lang3
sed -i 's/\s*public void testParseSync().*/@org.junit.jupiter.api.Disabled\n&/' \
src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
rm src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
rm src/test/java/org/apache/commons/lang3/HashSetvBitSetTest.java
sed -i '/<argLine>/d' pom.xml
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc LICENSE.txt NOTICE.txt
%files help -f .mfiles-javadoc
%doc RELEASE-NOTES.txt
%changelog
* Thu Jul 24 2025 liyajie<liyajie15@h-partners.com> - 3.18.0-1
- Upgrade version to 3.18.0
* Tue Jan 16 2024 xu_ping <707078654@qq.com> - 3.14.0-1
- Upgrade version to 3.14.0
* Thu Dec 05 2019 Jiangping Hu <hujiangping@huawei.com> - 3.9.3-3
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/apache-commons-lang3.git
git@gitee.com:src-openeuler/apache-commons-lang3.git
src-openeuler
apache-commons-lang3
apache-commons-lang3
openEuler-24.03-LTS-SP1

Search