package cleanup for unretirement

This commit is contained in:
Fabio Valentini 2019-12-13 14:12:14 +01:00
parent b48bc4078e
commit 5d5e001678
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

View File

@ -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 <decathorpe@gmail.com> - 1.0.2-4
- Package cleanup for unretirement.
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 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 <david@gnsa.us> - 1.0-1
- Initial rpm build - spec modified from mageia's version of same