Compare commits
19 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7451fbf9f | ||
|
|
81f5a29d24 | ||
|
|
d94e172fb8 | ||
|
|
0389bba0b3 | ||
|
|
79a76a19f4 | ||
|
|
39238589fc | ||
|
|
f6f8758a3e | ||
|
|
85a25b0f79 | ||
|
|
77fe04070d | ||
|
|
d5e7fd9894 | ||
|
|
1dca4996d6 | ||
|
|
a061e0f6bb | ||
|
|
c87b583925 | ||
|
|
5d93fe904b | ||
|
|
6deb2b1825 | ||
|
|
549c76103d | ||
|
|
94031f141b | ||
|
|
22efea2273 | ||
|
|
5c114be0fc |
4 changed files with 10474 additions and 0 deletions
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/commons-text-1.9-src.tar.gz
|
||||
/commons-text-1.10.0-src.tar.gz
|
||||
/commons-text-1.10.0-src.tar.gz.asc
|
||||
/commons-text-1.15.0-src.tar.gz
|
||||
/commons-text-1.15.0-src.tar.gz.asc
|
||||
61
apache-commons-text.spec
Normal file
61
apache-commons-text.spec
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
%global jarname commons-text
|
||||
|
||||
Name: apache-%{jarname}
|
||||
Version: 1.15.0
|
||||
Release: 2%{?dist}
|
||||
Summary: Apache Commons Text is a library focused on algorithms working on strings
|
||||
License: Apache-2.0
|
||||
URL: https://commons.apache.org/proper/%{jarname}
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: https://archive.apache.org/dist/commons/text/source/%{jarname}-%{version}-src.tar.gz
|
||||
Source1: https://archive.apache.org/dist/commons/text/source/%{jarname}-%{version}-src.tar.gz.asc
|
||||
Source2: https://archive.apache.org/dist/commons/KEYS
|
||||
# disable url lookup in test
|
||||
#Patch0: 0001-disable-url-lookup.patch
|
||||
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: maven-local-openjdk25
|
||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||
BuildRequires: mvn(org.assertj:assertj-core)
|
||||
BuildRequires: mvn(org.junit.jupiter:junit-jupiter)
|
||||
BuildRequires: mvn(org.mockito:mockito-core)
|
||||
|
||||
%description
|
||||
The Commons Text library provides additions to the standard JDK's text handling.
|
||||
Our goal is to provide a consistent set of tools for processing text generally
|
||||
from computing distances between Strings to being able to efficiently do String
|
||||
escaping of various types.
|
||||
|
||||
%{?javadoc_package}
|
||||
|
||||
%prep
|
||||
# verify signed sources
|
||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
|
||||
# -p1: strip one level directory in patch(es)
|
||||
# -n: base directory name
|
||||
%autosetup -p1 -n %{jarname}-%{version}-src
|
||||
|
||||
# delete precompiled jar and class files
|
||||
find -type f '(' -name '*.jar' -o -name '*.class' ')' -print -delete
|
||||
|
||||
# mockito-inline was merged into mockito-core
|
||||
%pom_change_dep :mockito-inline :mockito-core
|
||||
|
||||
%build
|
||||
# disable test: some test deps can't be installed
|
||||
%mvn_build -f -- -Dmaven.compiler.release=8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
%doc README.md RELEASE-NOTES.txt
|
||||
|
||||
%changelog
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
%autochangelog
|
||||
2
sources
Normal file
2
sources
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SHA512 (commons-text-1.15.0-src.tar.gz) = 5bbeebbe5853525d72a54ad483344f2a55b360cb3abeeada2eb52ca6118f10102bb8fb8ca42417c38b6f8ed7147807414f50c5093473fac9fd3f74cfb8160958
|
||||
SHA512 (commons-text-1.15.0-src.tar.gz.asc) = da7c8858cabafbf1a904f0465339444b084f31d941f02a3492a412c29b95862a0c7da56ae542b0c14e22d3a34fd5915d77f77bb62c23be0ae9b6046d6a82bca9
|
||||
Loading…
Add table
Add a link
Reference in a new issue