mizdebsk pushed to jetty-test-policy (master). "Cleanup spec file"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 14 04:06:25 UTC 2015


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


diff --git a/jetty-test-policy.spec b/jetty-test-policy.spec
index 9a6449c..f3e189a 100644
--- a/jetty-test-policy.spec
+++ b/jetty-test-policy.spec
@@ -1,24 +1,20 @@
 Name:           jetty-test-policy
 Version:        1.2
-Release:        12%{?dist}
+Release:        13%{?dist}
 Summary:        Jetty test policy files
 License:        ASL 2.0 or EPL
 URL:            http://www.eclipse.org/jetty/
 BuildArch:      noarch
 
 Source0:        http://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/%{name}-%{version}.tar.bz2
-# rpmlint config file (fedpkg lint will use this)
-#Source1:        .rpmlint
 Source2:        http://www.eclipse.org/legal/epl-v10.html
 Source3:        http://www.apache.org/licenses/LICENSE-2.0.txt
 
 Patch0:         0001-Sign-JAR-with-maven-jarsigner-plugin.patch
 
 BuildRequires:  maven-local
-BuildRequires:  jetty-toolchain
-BuildRequires:  maven-jar-plugin
-BuildRequires:  maven-jarsigner-plugin
-BuildRequires:  maven-surefire-provider-junit
+BuildRequires:  mvn(org.apache.maven.plugins:maven-jarsigner-plugin)
+BuildRequires:  mvn(org.eclipse.jetty.toolchain:jetty-toolchain:pom:)
 
 %description
 Jetty test policy files
@@ -27,8 +23,7 @@ Jetty test policy files
 Summary:        API documentation for %{name}
 
 %description    javadoc
-%{summary}.
-
+This package provides %{summary}.
 
 %prep
 %setup -q
@@ -42,12 +37,15 @@ cp -p %{SOURCE2} %{SOURCE3} .
 %mvn_install
 
 %files -f .mfiles
-%doc epl-v10.html LICENSE-2.0.txt
+%license epl-v10.html LICENSE-2.0.txt
 
 %files javadoc -f .mfiles-javadoc
-%doc epl-v10.html LICENSE-2.0.txt
+%license epl-v10.html LICENSE-2.0.txt
 
 %changelog
+* Tue Apr 14 2015 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.2-13
+- Cleanup spec file
+
 * Mon Aug 11 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.2-12
 - Sign JAR with maven-jarsigner-plugin
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/jetty-test-policy.git/commit/?h=master&id=17c5da7dffb93a74c0653add44554a3f9d16fb31


More information about the scm-commits mailing list