Enable roundtriptest and samples module
This commit is contained in:
parent
3c6d46ce9f
commit
c387e1d1ee
56
jaxb-fi.spec
56
jaxb-fi.spec
@ -1,16 +1,15 @@
|
|||||||
Name: jaxb-fi
|
Name: jaxb-fi
|
||||||
Version: 1.2.18
|
Version: 1.2.18
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Implementation of the Fast Infoset Standard for Binary XML
|
Summary: Implementation of the Fast Infoset Standard for Binary XML
|
||||||
# jaxb-fi is licensed ASL 2.0 and EDL-1.0 (BSD)
|
# jaxb-fi is licensed ASL 2.0 and EDL-1.0 (BSD)
|
||||||
# bundled org.apache.xerces.util.XMLChar.java is licensed ASL 1.1
|
# bundled org.apache.xerces.util.XMLChar.java is licensed ASL 1.1
|
||||||
License: ASL 2.0 and BSD and ASL 1.1
|
License: ASL 2.0 and BSD and ASL 1.1
|
||||||
|
|
||||||
URL: https://github.com/eclipse-ee4j/jaxb-fi
|
URL: https://github.com/eclipse-ee4j/jaxb-fi
|
||||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(com.sun.xml.stream.buffer:streambuffer)
|
BuildRequires: mvn(com.sun.xml.stream.buffer:streambuffer)
|
||||||
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
|
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
|
||||||
@ -34,44 +33,71 @@ The Fast Infoset specification (ITU-T Rec. X.891 | ISO/IEC 24824-1)
|
|||||||
describes an open, standards-based "binary XML" format that is based on
|
describes an open, standards-based "binary XML" format that is based on
|
||||||
the XML Information Set.
|
the XML Information Set.
|
||||||
|
|
||||||
|
%package -n FastInfoset
|
||||||
|
Summary: FastInfoset
|
||||||
|
%description -n FastInfoset
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package -n FastInfosetRoundTripTests
|
||||||
|
Summary: FastInfoset Roundtrip Tests
|
||||||
|
%description -n FastInfosetRoundTripTests
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package -n FastInfosetSamples
|
||||||
|
Summary: FastInfoset Samples
|
||||||
|
%description -n FastInfosetSamples
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package -n FastInfosetUtilities
|
||||||
|
Summary: FastInfoset Utilities
|
||||||
|
%description -n FastInfosetUtilities
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
|
|
||||||
pushd code
|
pushd code
|
||||||
# remove unnecessary dependency on parent POM
|
# remove unnecessary dependency on parent POM
|
||||||
# org.eclipse.ee4j:project is not packaged and not required
|
# org.eclipse.ee4j:project is not packaged and not required
|
||||||
%pom_remove_parent
|
%pom_remove_parent
|
||||||
|
|
||||||
# disable unnecessary submodules
|
|
||||||
%pom_disable_module roundtrip-tests
|
|
||||||
%pom_disable_module samples
|
|
||||||
|
|
||||||
# disable unnecessary plugins
|
# disable unnecessary plugins
|
||||||
%pom_remove_plugin :buildnumber-maven-plugin
|
%pom_remove_plugin :buildnumber-maven-plugin
|
||||||
%pom_remove_plugin :glassfish-copyright-maven-plugin
|
%pom_remove_plugin :glassfish-copyright-maven-plugin
|
||||||
popd
|
|
||||||
|
|
||||||
|
# disable parent
|
||||||
|
%mvn_package :fastinfoset-project __noinstall
|
||||||
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd code
|
pushd code
|
||||||
# skip javadoc build due to https://github.com/fedora-java/xmvn/issues/58
|
%mvn_build -s -f -j -- -DbuildNumber=unknown -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
||||||
%mvn_build -f -j -- -DbuildNumber=unknown
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd code
|
pushd code
|
||||||
%mvn_install
|
%mvn_install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%files -n FastInfoset -f code/.mfiles-FastInfoset
|
||||||
%files -f code/.mfiles
|
|
||||||
%license LICENSE NOTICE.md
|
%license LICENSE NOTICE.md
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
|
%files -n FastInfosetRoundTripTests -f code/.mfiles-FastInfosetRoundTripTests
|
||||||
|
%license LICENSE NOTICE.md
|
||||||
|
|
||||||
|
%files -n FastInfosetSamples -f code/.mfiles-FastInfosetSamples
|
||||||
|
%license LICENSE NOTICE.md
|
||||||
|
|
||||||
|
%files -n FastInfosetUtilities -f code/.mfiles-FastInfosetUtilities
|
||||||
|
%license LICENSE NOTICE.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 29 2021 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.2.18-5
|
||||||
|
- Enable roundtrip-tests and samples module
|
||||||
|
- Enable singleton package
|
||||||
|
- Enable javadoc package
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.18-4
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.18-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user