import CS regexp-1.5-42.el9

This commit is contained in:
eabdullin 2025-03-11 08:06:18 +00:00
parent ce9ff8bfb1
commit 14e750c210

View File

@ -1,11 +1,12 @@
Name: regexp
Epoch: 1
Version: 1.5
Release: 37%{?dist}
Release: 42%{?dist}
Summary: Simple regular expressions API
License: ASL 2.0
URL: http://jakarta.apache.org/%{name}/
BuildArch: noarch
ExclusiveArch: aarch64 ppc64le s390x x86_64 noarch
Source0: http://archive.apache.org/dist/jakarta/%{name}/jakarta-%{name}-%{version}.tar.gz
Source2: jakarta-%{name}-osgi-manifest.MF
@ -14,8 +15,6 @@ Patch0: jakarta-%{name}-attach-osgi-manifest.patch
BuildRequires: ant
BuildRequires: javapackages-local
Requires: java-headless
%description
Regexp is a 100% Pure Java Regular Expression package that was
graciously donated to the Apache Software Foundation by Jonathan Locke.
@ -32,7 +31,7 @@ Javadoc for %{name}.
%prep
%setup -q -n jakarta-%{name}-%{version}
%patch0
%patch -P 0
cp -p %{SOURCE2} MANIFEST.MF
# remove all binary libs
find . -name "*.jar" -exec rm -f {} \;
@ -52,7 +51,7 @@ EOF
%build
mkdir lib
%ant -Djakarta-site2.dir=. jar javadocs
%ant -Djakarta-site2.dir=. -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar javadocs
%mvn_artifact pom.xml build/*.jar
@ -63,12 +62,28 @@ mkdir lib
%ant -Djakarta-site2.dir=. test
%files -f .mfiles
%doc LICENSE
%license LICENSE
%files javadoc -f .mfiles-javadoc
%doc LICENSE
%license LICENSE
%changelog
* Wed Dec 04 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-42
- Update Java source/target to 1.8
- Install license files in licensedir instead of docdir
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 1:1.5-41
- Add noarch to ExclusiveArch
* Fri Nov 22 2024 Marián Konček <mkoncek@redhat.com> - 1:1.5-40
- Disable building on i686
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1:1.5-39
- Fix patch usage
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com>
- Rebuild with regenerated Requires on Java
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.5-37
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688