Change licence, reorganize subpackages

This commit is contained in:
Marian Koncek 2023-02-08 11:18:48 +01:00
parent 48b56a617e
commit b92e33fbd9

View File

@ -1,6 +1,6 @@
Name: jaxb-fi Name: jaxb-fi
Version: 2.1.0 Version: 2.1.0
Release: 2%{?dist} Release: 3%{?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
@ -14,14 +14,11 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch1: 0001-Port-to-jaxb-xsom-4.0.1.patch Patch1: 0001-Port-to-jaxb-xsom-4.0.1.patch
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: mvn(com.sun.xml.stream.buffer:streambuffer)
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
BuildRequires: mvn(junit:junit) BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.glassfish.jaxb:xsom)
%description %description
Fast Infoset Project, an Open Source implementation of the Fast Infoset Fast Infoset Project, an Open Source implementation of the Fast Infoset
@ -31,59 +28,44 @@ 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 %package tests
Summary: FastInfoset License: ASL 2.0 and BSD
%description -n FastInfoset
%{summary}.
%package -n FastInfosetRoundTripTests
Summary: FastInfoset Roundtrip Tests Summary: FastInfoset Roundtrip Tests
%description -n FastInfosetRoundTripTests %description tests
%{summary}.
%package -n FastInfosetSamples
Summary: FastInfoset Samples
%description -n FastInfosetSamples
%{summary}.
%package -n FastInfosetUtilities
Summary: FastInfoset Utilities
%description -n FastInfosetUtilities
%{summary}. %{summary}.
%prep %prep
%setup -q %setup -q
%patch1 -p1
%pom_remove_parent %pom_remove_parent
%pom_disable_module samples
%pom_disable_module utilities
%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
%pom_remove_plugin :maven-enforcer-plugin %pom_remove_plugin :maven-enforcer-plugin
%mvn_package :fastinfoset-project __noinstall %mvn_package :FastInfosetRoundTripTests tests
%build %build
# Javadoc fails: error: too many module declarations found # Javadoc fails: error: too many module declarations found
%mvn_build -s -j %mvn_build -j
%install %install
%mvn_install %mvn_install
%files -n FastInfoset -f .mfiles-FastInfoset %files -f .mfiles
%license LICENSE NOTICE.md %license LICENSE NOTICE.md
%doc README.md %doc README.md
%files -n FastInfosetRoundTripTests -f .mfiles-FastInfosetRoundTripTests %files tests -f .mfiles-tests
%license LICENSE NOTICE.md
%files -n FastInfosetSamples -f .mfiles-FastInfosetSamples
%license LICENSE NOTICE.md
%files -n FastInfosetUtilities -f .mfiles-FastInfosetUtilities
%license LICENSE NOTICE.md %license LICENSE NOTICE.md
%changelog %changelog
* Wed Feb 08 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.0-3
- Change licence, reorganize subpackages
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2 * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild