[maven-plugin-annotations/f18] Add versioned requirement on Java

Mikolaj Izdebski mizdebsk at fedoraproject.org
Wed Aug 15 16:30:40 UTC 2012


commit ee84746c4aca0d25337c9996d94f5db7ce394e80
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Wed Aug 15 18:26:40 2012 +0200

    Add versioned requirement on Java

 maven-plugin-annotations.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/maven-plugin-annotations.spec b/maven-plugin-annotations.spec
index 0cb8d7e..aa9d1d4 100644
--- a/maven-plugin-annotations.spec
+++ b/maven-plugin-annotations.spec
@@ -1,7 +1,7 @@
 # Not to be confused with maven-annotation-plugin from code.google!
 Name:           maven-plugin-annotations
 Version:        3.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Maven Plugin Java 5 Annotations
 
 Group:          Development/Libraries
@@ -11,11 +11,11 @@ Source0:        http://repo2.maven.org/maven2/org/apache/maven/plugin-tools/%{na
 Source1:        http://repo2.maven.org/maven2/org/apache/maven/plugin-tools/%{name}/%{version}/%{name}-%{version}.pom
 BuildArch:      noarch
 
-BuildRequires:  java-devel
+BuildRequires:  java-devel >= 1:1.6.0
 BuildRequires:  jpackage-utils
 BuildRequires:  maven
 
-Requires:       java
+Requires:       java >= 1:1.6.0
 Requires:       jpackage-utils
 Requires:       maven
 
@@ -68,5 +68,8 @@ cp -rp target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
 
 
 %changelog
+* Wed Aug 15 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.1-2
+- Add versioned requirement on Java
+
 * Mon Aug 13 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.1-1
 - Initial packaging


More information about the scm-commits mailing list