|
|
|
|
@ -1,5 +1,3 @@
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
# Copyright (c) 2000-2012, JPackage Project
|
|
|
|
|
# All rights reserved.
|
|
|
|
|
#
|
|
|
|
|
@ -32,7 +30,7 @@
|
|
|
|
|
|
|
|
|
|
Name: jdom
|
|
|
|
|
Version: 1.1.3
|
|
|
|
|
Release: 28%{?dist}
|
|
|
|
|
Release: 19%{?dist}
|
|
|
|
|
Summary: Java alternative to DOM and SAX
|
|
|
|
|
License: Saxpath
|
|
|
|
|
URL: http://www.jdom.org/
|
|
|
|
|
@ -41,12 +39,11 @@ Source1: http://repo1.maven.org/maven2/org/jdom/jdom/%{version}/jdom-%{ve
|
|
|
|
|
Patch0: %{name}-crosslink.patch
|
|
|
|
|
Patch1: %{name}-1.1-OSGiManifest.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: javapackages-local
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: ant
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: javapackages-local
|
|
|
|
|
|
|
|
|
|
BuildRequires: mvn(jaxen:jaxen)
|
|
|
|
|
BuildRequires: mvn(xerces:xercesImpl)
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
@ -81,7 +78,8 @@ find . -name "*.jar" -exec rm -f {} \;
|
|
|
|
|
find . -name "*.class" -exec rm -f {} \;
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%ant -Dcompile.source=1.6 -Dcompile.target=1.6 -Dj2se.apidoc=%{_javadocdir}/java package javadoc-link
|
|
|
|
|
export CLASSPATH=$(build-classpath xerces-j2 jaxen)
|
|
|
|
|
ant -Dcompile.source=1.6 -Dcompile.target=1.6 -Dj2se.apidoc=%{_javadocdir}/java package javadoc-link
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%mvn_file : %{name}
|
|
|
|
|
@ -105,50 +103,12 @@ cp -pr samples $RPM_BUILD_ROOT%{_datadir}/%{name}
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.3-28
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-27
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-26
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-25
|
|
|
|
|
- Bump release
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-20
|
|
|
|
|
- Bootstrap build
|
|
|
|
|
- Non-bootstrap build
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-24
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-23
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 0:1.1.3-22
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
|
|
* Thu Jun 25 2020 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.3-21
|
|
|
|
|
- Fix compilation with Java 11.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-20
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-19
|
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-19
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-18
|
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Aug 03 2018 Michael Simacek <msimacek@redhat.com> - 0:1.1.3-17
|
|
|
|
|
- Correct license to Saxpath
|
|
|
|
|
|