diff --git a/xml-maven-plugin.spec b/xml-maven-plugin.spec index 32e4496..922a182 100644 --- a/xml-maven-plugin.spec +++ b/xml-maven-plugin.spec @@ -1,10 +1,13 @@ -Name: xml-maven-plugin -Version: 1.0.2 -Release: 3%{?dist} -Summary: Maven XML Plugin -License: ASL 2.0 -URL: http://www.mojohaus.org/xml-maven-plugin/ -Source0: http://repo2.maven.org/maven2/org/codehaus/mojo/xml-maven-plugin/%{version}/xml-maven-plugin-%{version}-source-release.zip +Name: xml-maven-plugin +Summary: Maven XML Plugin +Version: 1.0.2 +Release: 4%{?dist} +License: ASL 2.0 + +URL: https://www.mojohaus.org/xml-maven-plugin/ +Source0: https://repo1.maven.org/maven2/org/codehaus/mojo/%{name}/%{version}/%{name}-%{version}-source-release.zip + +BuildArch: noarch BuildRequires: maven-local BuildRequires: mvn(org.apache.maven:maven-core) @@ -18,17 +21,17 @@ BuildRequires: mvn(org.codehaus.plexus:plexus-resources) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) BuildRequires: mvn(xml-resolver:xml-resolver) -BuildArch: noarch - %description A plugin for various XML related tasks like validation and transformation. + %package javadoc Summary: Javadocs for %{name} %description javadoc This package contains the API documentation for %{name}. + %prep %setup -q @@ -40,19 +43,26 @@ done # Add the version sed -i 's|stylesheet |stylesheet version="1.0" |' src/it/it8/src/main/xsl/it8.xsl + %build %mvn_build -f + %install %mvn_install + %files -f .mfiles -%doc LICENSE.txt NOTICE.txt +%license LICENSE.txt NOTICE.txt %files javadoc -f .mfiles-javadoc -%doc LICENSE.txt NOTICE.txt +%license LICENSE.txt NOTICE.txt + %changelog +* Thu Dec 12 2019 Fabio Valentini - 1.0.2-4 +- Package cleanup for unretirement. + * Sun Feb 03 2019 Fedora Release Engineering - 1.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild @@ -121,3 +131,4 @@ sed -i 's|stylesheet |stylesheet version="1.0" |' src/it/it8/src/main/xsl/it8.x * Mon Jan 16 2012 David Nalley - 1.0-1 - Initial rpm build - spec modified from mageia's version of same +