Name: mxparser Version: 1.2.2 Release: 3%{?dist} Summary: Parser of xpp3_min 1.1.7 with merged changes of the Plexus fork License: xpp URL: https://github.com/x-stream/%{name} BuildArch: noarch Source0: %{url}/archive/v-%{version}/%{name}-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(xmlpull:xmlpull) %description MXParser is a fork of xpp3_min 1.1.7 containing only the parser with merged changes of the Plexus fork. It is an implementation of the XMLPULL V1 API (parser only). %{?javadoc_package} %prep %autosetup -n %{name}-v-%{version} %pom_remove_plugin :maven-changes-plugin . %pom_remove_plugin :maven-javadoc-plugin . %pom_remove_plugin :maven-source-plugin . %pom_xpath_set 'pom:project/pom:properties/pom:version.java.source' 1.8 %pom_xpath_set 'pom:project/pom:properties/pom:version.java.target' 1.8 %pom_xpath_set 'pom:project/pom:properties/pom:version.java.test.source' 1.8 %pom_xpath_set 'pom:project/pom:properties/pom:version.java.test.target' 1.8 %build %mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 %install %mvn_install %files -f .mfiles %license LICENSE.txt %doc README.md %changelog * Sat Feb 05 2022 Jiri Vanek - 1.2.2-3 - Rebuilt for java-17-openjdk as system jdk * Thu Jan 20 2022 Fedora Release Engineering - 1.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 05 2021 Didik Supriadi - 1.2.2-1 - Update to version 1.2.2 * Wed Sep 29 2021 Didik Supriadi - 1.2.1-1 - Initial package