Compare commits
9 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a04f58337f | ||
|
|
2adaacd1a3 | ||
|
|
4b0f3305b5 | ||
|
|
c071636ccc | ||
|
|
fb3dba61df | ||
|
|
e26586076d | ||
|
|
0997a426ce | ||
|
|
643428271a | ||
|
|
aea691368a |
2 changed files with 7 additions and 22 deletions
|
|
@ -2,6 +2,6 @@ summary: Run javapackages-specific tests
|
|||
discover:
|
||||
how: fmf
|
||||
url: https://gitlab.com/redhat/centos-stream/tests/javapackages.git
|
||||
ref: f42
|
||||
ref: f43
|
||||
execute:
|
||||
how: tmt
|
||||
|
|
|
|||
|
|
@ -16,9 +16,11 @@ Source2: %{name}-ext-MANIFEST.MF
|
|||
Source3: http://repo1.maven.org/maven2/xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom
|
||||
Source4: http://repo1.maven.org/maven2/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.pom
|
||||
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: ant
|
||||
BuildRequires: javapackages-local-openjdk25
|
||||
BuildRequires: ant-openjdk25
|
||||
BuildRequires: apache-parent
|
||||
# TODO Remove in Fedora 46
|
||||
Obsoletes: %{name}-javadoc < 1.4.01-59
|
||||
Provides: xml-commons = %{version}-%{release}
|
||||
|
||||
%description
|
||||
|
|
@ -26,18 +28,6 @@ xml-commons-apis is designed to organize and have common packaging for
|
|||
the various externally-defined standard interfaces for XML. This
|
||||
includes the DOM, SAX, and JAXP.
|
||||
|
||||
%package manual
|
||||
Summary: Manual for %{name}
|
||||
|
||||
%description manual
|
||||
%{summary}.
|
||||
|
||||
%package javadoc
|
||||
Summary: API documentation for %{name}
|
||||
|
||||
%description javadoc
|
||||
API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -C
|
||||
# Make sure upstream hasn't sneaked in any jars we don't know about
|
||||
|
|
@ -59,7 +49,7 @@ sed -i '/distributionManagement/,/\/distributionManagement/ {d}' *.pom
|
|||
%mvn_alias :xml-apis-ext xerces:dom3-xml-apis
|
||||
|
||||
%build
|
||||
%ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar javadoc
|
||||
%ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar
|
||||
|
||||
# inject OSGi manifests
|
||||
jar ufm build/xml-apis.jar %{SOURCE1}
|
||||
|
|
@ -69,7 +59,7 @@ jar ufm build/xml-apis-ext.jar %{SOURCE2}
|
|||
%mvn_artifact xml-apis-ext*.pom build/xml-apis-ext.jar
|
||||
|
||||
%install
|
||||
%mvn_install -J build/docs/javadoc
|
||||
%mvn_install
|
||||
|
||||
# prevent apis javadoc from being included in doc
|
||||
rm -rf build/docs/javadoc
|
||||
|
|
@ -80,10 +70,5 @@ rm -rf build/docs/javadoc
|
|||
%doc LICENSE.dom-software.txt LICENSE.sac.html
|
||||
%doc LICENSE.sax.txt README-sax README.sax.txt
|
||||
|
||||
%files manual
|
||||
%doc build/docs/*
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue