Cleanup spec file

This commit is contained in:
Mikolaj Izdebski 2018-01-29 09:21:35 +01:00
parent e52137ac88
commit ba007e2a5e

View File

@ -1,12 +1,13 @@
Name: apache-commons-lang3
Version: 3.7
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Provides a host of helper utilities for the java.lang API
License: ASL 2.0
URL: http://commons.apache.org/lang
Source0: http://archive.apache.org/dist/commons/lang/source/commons-lang3-%{version}-src.tar.gz
BuildArch: noarch
Source0: http://archive.apache.org/dist/commons/lang/source/commons-lang3-%{version}-src.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
@ -28,14 +29,10 @@ therefore created differently named artifact and jar files. This is
the new version, while apache-commons-lang is the compatibility
package.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
%{summary}.
%{?javadoc_package}
%prep
%setup -q -n commons-lang3-%{version}-src
%autosetup -n commons-lang3-%{version}-src
%mvn_file : %{name} commons-lang3
@ -57,10 +54,10 @@ rm src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
%license LICENSE.txt NOTICE.txt
%doc RELEASE-NOTES.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt NOTICE.txt
%changelog
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.7-2
- Cleanup spec file
* Thu Nov 09 2017 Michael Simacek <msimacek@redhat.com> - 3.7-1
- Update to upstream version 3.7