From ba007e2a5eeca460a4637e20c584cd6042d6cadd Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Jan 29 2018 08:21:35 +0000 Subject: Cleanup spec file --- diff --git a/apache-commons-lang3.spec b/apache-commons-lang3.spec index 1369160..c969778 100644 --- a/apache-commons-lang3.spec +++ b/apache-commons-lang3.spec @@ -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 - 3.7-2 +- Cleanup spec file + * Thu Nov 09 2017 Michael Simacek - 3.7-1 - Update to upstream version 3.7