[velocity-tools] introduce license macro
gil
gil at fedoraproject.org
Fri Feb 13 17:50:10 UTC 2015
commit 7df52b61f14ac30efa40bac7ce6b809dc77675ff
Author: gil <puntogil at libero.it>
Date: Fri Feb 13 18:49:56 2015 +0100
introduce license macro
velocity-tools.spec | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/velocity-tools.spec b/velocity-tools.spec
index 983333f..25ff6d4 100644
--- a/velocity-tools.spec
+++ b/velocity-tools.spec
@@ -1,6 +1,6 @@
Name: velocity-tools
Version: 2.0
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Collection of useful tools for Velocity template engine
License: ASL 2.0
Url: http://velocity.apache.org/tools/releases/2.0/
@@ -10,8 +10,6 @@ Patch1: %{name}-%{version}-dont_copy_test_lib.patch
# servlet 3.0 support thanks to mizdebsk
Patch2: %{name}-%{version}-servlet.patch
-BuildRequires: java-devel
-
BuildRequires: mvn(commons-beanutils:commons-beanutils)
BuildRequires: mvn(commons-chain:commons-chain)
BuildRequires: mvn(commons-collections:commons-collections)
@@ -46,7 +44,7 @@ BuildRequires: maven-local
BuildRequires: maven-resources-plugin
# required by resources-plugin
BuildRequires: mvn(org.apache.maven.shared:maven-filtering)
-BuildRequires: mvn(org.apache.maven.shared:maven-shared-components)
+BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:)
BuildArch: noarch
@@ -99,12 +97,16 @@ sed -i 's/\r//' LICENSE NOTICE WHY_THREE_JARS.txt
%mvn_install
%files -f .mfiles
-%doc CONTRIBUTORS LICENSE NOTICE README.txt STATUS WHY_THREE_JARS.txt
+%doc CONTRIBUTORS README.txt STATUS WHY_THREE_JARS.txt
+%license LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
-%doc LICENSE NOTICE
+%license LICENSE NOTICE
%changelog
+* Fri Feb 13 2015 gil cattaneo <puntogil at libero.it> 2.0-10
+- introduce license macro
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list