[codemodel] introduce license macro
gil
gil at fedoraproject.org
Fri Feb 13 19:03:01 UTC 2015
commit a48d72a13eb664c1c2d3dfe8de7876ec4431a825
Author: gil <puntogil at libero.it>
Date: Fri Feb 13 20:02:47 2015 +0100
introduce license macro
codemodel.spec | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/codemodel.spec b/codemodel.spec
index 1bf1006..3df3d22 100644
--- a/codemodel.spec
+++ b/codemodel.spec
@@ -1,6 +1,6 @@
Name: codemodel
Version: 2.6
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: Java library for code generators
License: CDDL and GPLv2
URL: http://codemodel.java.net
@@ -16,7 +16,6 @@ BuildArch: noarch
BuildRequires: maven-local
BuildRequires: maven-enforcer-plugin
BuildRequires: maven-release-plugin
-BuildRequires: maven-surefire-provider-junit
BuildRequires: mvn(net.java:jvnet-parent:pom:)
BuildRequires: mvn(org.apache.ant:ant)
BuildRequires: mvn(junit:junit)
@@ -29,7 +28,7 @@ This project is a spin-off from the JAXB RI for its schema compiler
to generate Java source files.
%package javadoc
-Summary: Javadocs for %{name}
+Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
@@ -43,22 +42,26 @@ This package contains the API documentation for %{name}.
# Remove bundled jar files:
find . -name '*.jar' -print -delete
-%build
-
%mvn_file :%{name} %{name}
%mvn_file :%{name}-annotation-compiler %{name}-annotation-compiler
+
+%build
+
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
-%doc LICENSE.html
+%license LICENSE.html
%files javadoc -f .mfiles-javadoc
-%doc LICENSE.html
+%license LICENSE.html
%changelog
+* Fri Feb 13 2015 gil cattaneo <puntogil at libero.it> 2.6-16
+- introduce license macro
+
* Tue Jun 24 2014 Michael Simacek <msimacek at redhat.com> - 2.6-15
- Chnage jvnet-parent BR to jvnet-parent:pom
More information about the scm-commits
mailing list