mizdebsk pushed to maven-source-plugin (master). "Cleanup spec file"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 14 03:34:18 UTC 2015


>From a1cc01a073c2d7d80ad53adccb2fcb394b9ae527 Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Tue, 14 Apr 2015 05:34:06 +0200
Subject: Cleanup spec file


diff --git a/maven-source-plugin.spec b/maven-source-plugin.spec
index d061603..4c69a35 100644
--- a/maven-source-plugin.spec
+++ b/maven-source-plugin.spec
@@ -1,59 +1,56 @@
 Name:           maven-source-plugin
 Version:        2.4
-Release:        1%{?dist}
-Summary:        Plugin creating source jar
-
-Group:          Development/Libraries
+Release:        2%{?dist}
+Summary:        Plugin creating source JAR
 License:        ASL 2.0
 URL:            http://maven.apache.org/plugins/maven-source-plugin/
+BuildArch:      noarch
+
 Source0:        http://repo1.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}/%{name}-%{version}-source-release.zip
 
-BuildArch: noarch
-
-BuildRequires: maven-local
-BuildRequires: java-devel >= 1:1.6.0
-BuildRequires: plexus-utils
-BuildRequires: ant
-BuildRequires: maven-compiler-plugin
-BuildRequires: maven-plugin-plugin
-BuildRequires: maven-resources-plugin
-BuildRequires: maven-surefire-plugin
-BuildRequires: maven-surefire-provider-junit
-BuildRequires: maven-jar-plugin
-BuildRequires: maven-javadoc-plugin
-BuildRequires: mvn(org.apache.maven.surefire:surefire-junit4)
+BuildRequires:  maven-local
+BuildRequires:  mvn(junit:junit)
+BuildRequires:  mvn(org.apache.maven:maven-archiver)
+BuildRequires:  mvn(org.apache.maven:maven-artifact)
+BuildRequires:  mvn(org.apache.maven:maven-model)
+BuildRequires:  mvn(org.apache.maven:maven-plugin-api)
+BuildRequires:  mvn(org.apache.maven:maven-project)
+BuildRequires:  mvn(org.apache.maven.plugins:maven-plugins:pom:)
+BuildRequires:  mvn(org.apache.maven.plugin-testing:maven-plugin-testing-harness)
+BuildRequires:  mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
+BuildRequires:  mvn(org.codehaus.plexus:plexus-archiver)
+BuildRequires:  mvn(org.codehaus.plexus:plexus-utils)
 
 %description
-The Maven 2 Source Plugin creates a JAR archive of the 
+The Maven Source Plugin creates a JAR archive of the 
 source files of the current project.
 
 %package javadoc
-Group:          Documentation
 Summary:        Javadoc for %{name}
 
 %description javadoc
 API documentation for %{name}.
 
-
 %prep
 %setup -q 
-sed -i -e "s|plexus-container-default|plexus-container|g" pom.xml
 
 %build
-%mvn_file  : %{name}
+%mvn_file : %{name}
 %mvn_build -f
 
 %install
 %mvn_install
 
-
 %files -f .mfiles
-%doc LICENSE NOTICE
+%license LICENSE NOTICE
 
 %files javadoc -f .mfiles-javadoc
-%doc LICENSE NOTICE
+%license LICENSE NOTICE
 
 %changelog
+* Tue Apr 14 2015 Mikolaj Izdebski <mizdebsk at redhat.com> - 2.4-2
+- Cleanup spec file
+
 * Mon Jan 19 2015 Michael Simacek <msimacek at redhat.com> - 2.4-1
 - Update to upstream version 2.4
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/maven-source-plugin.git/commit/?h=master&id=a1cc01a073c2d7d80ad53adccb2fcb394b9ae527


More information about the scm-commits mailing list