[apache-commons-ognl] introduce license macro
gil
gil at fedoraproject.org
Thu Jan 29 12:15:49 UTC 2015
commit 5422c65c6e6c344b3178c452546b14302fad6826
Author: gil <puntogil at libero.it>
Date: Thu Jan 29 13:15:37 2015 +0100
introduce license macro
apache-commons-ognl.spec | 30 ++++++++++++++----------------
1 files changed, 14 insertions(+), 16 deletions(-)
---
diff --git a/apache-commons-ognl.spec b/apache-commons-ognl.spec
index 9948862..85bd8e5 100644
--- a/apache-commons-ognl.spec
+++ b/apache-commons-ognl.spec
@@ -1,20 +1,16 @@
%global short_name commons-ognl
-Name: apache-%{short_name}
-Version: 3.0.2
-Release: 8.20120313svn1102435%{?dist}
-Summary: Object Graph Navigation Library
-
-Group: Development/Libraries
-License: ASL 2.0
-URL: http://commons.apache.org/ognl/
+Name: apache-%{short_name}
+Version: 3.0.2
+Release: 9.20120313svn1102435%{?dist}
+Summary: Object Graph Navigation Library
+License: ASL 2.0
+URL: http://commons.apache.org/ognl/
# svn export -r1102435 http://svn.apache.org/repos/asf/commons/proper/ognl/trunk/ apache-commons-ognl-3.0.2
# tar caf apache-commons-ognl-3.0.2.tar.xz apache-commons-ognl-3.0.2
-Source0: %{name}-%{version}.tar.xz
-BuildArch: noarch
-
-BuildRequires: java-devel
-BuildRequires: jpackage-utils
+Source0: %{name}-%{version}.tar.xz
+BuildArch: noarch
+
BuildRequires: maven-local
BuildRequires: javassist
BuildRequires: jna
@@ -26,7 +22,6 @@ and lambda expressions.
%package javadoc
Summary: API documentation for %{name}
-Group: Documentation
%description javadoc
This package contains the API documentation for %{name}.
@@ -53,12 +48,15 @@ rm -r src/test/java/org/apache/commons/ognl/test/ArithmeticAndLogicalOperatorsTe
%mvn_install
%files -f .mfiles
-%doc LICENSE.txt NOTICE.txt
+%license LICENSE.txt NOTICE.txt
%files javadoc -f .mfiles-javadoc
-%doc LICENSE.txt NOTICE.txt
+%license LICENSE.txt NOTICE.txt
%changelog
+* Thu Jan 29 2015 gil cattaneo <puntogil at libero.it> 3.0.2-9.20120313svn1102435
+- introduce license macro
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.2-8.20120313svn1102435
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list