Fridrich Strba 2022-03-20 07:34:28 +00:00 committed by Git OBS Bridge
parent 7f61a44147
commit 2c598c2eff
3 changed files with 1 additions and 2059 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,9 +2,6 @@
Sat Mar 19 12:44:52 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with source/target levels 8
- Added patch:
* oro-javadoc.patch
+ fix javadoc errors that prevent the generation with jdk 17
-------------------------------------------------------------------
Thu Feb 14 08:46:56 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -26,7 +26,6 @@ Group: Development/Libraries/Java
URL: https://jakarta.apache.org/oro/
Source0: https://archive.apache.org/dist/jakarta/oro/%{full_name}-%{version}.tar.gz
Source1: https://repo1.maven.org/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom
Patch0: oro-javadoc.patch
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
@ -56,7 +55,6 @@ Javadoc for %{name}.
%prep
%setup -q -n %{full_name}-%{version}
%patch0 -p1
# remove all binary libs
find . -name "*.jar" -exec rm -f {} \;
# remove all CVS files
@ -66,7 +64,7 @@ for file in `find . -type f -name .cvsignore`; do rm -rf $file; done
perl -pi -e 's#\@version\@#VERSION#g' $(grep -rl \@version\@ . |xargs)
%build
ant \
%ant \
-Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 \
-Dfinal.name=%{name} jar javadocs