From 28af746f064b2b31e9c5bcda6f4d64b3b0dfee119fa1a5c600fda60b8bee0d20 Mon Sep 17 00:00:00 2001 From: Michal Vyskocil Date: Mon, 8 Jul 2013 12:27:09 +0000 Subject: [PATCH] fix Group and License OBS-URL: https://build.opensuse.org/package/show/Java:packages/javapackages-tools?expand=0&rev=2 --- javapackages-tools.spec | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/javapackages-tools.spec b/javapackages-tools.spec index 09ab4c3..f16e965 100644 --- a/javapackages-tools.spec +++ b/javapackages-tools.spec @@ -1,10 +1,29 @@ +# +# spec file for package javapackages-tools +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + Name: javapackages-tools Version: 0.15.0 -Release: 1 +Release: 0 Summary: Macros and scripts for Java packaging support +License: BSD-3-Clause +Group: Development/Languages/Java -License: BSD -URL: https://fedorahosted.org/javapackages/ +Url: https://fedorahosted.org/javapackages/ Source0: https://fedorahosted.org/released/javapackages/javapackages-%{version}.tar.xz BuildArch: noarch @@ -22,6 +41,7 @@ This package provides macros and scripts to support Java packaging. %package -n maven-local Summary: Macros and scripts for Maven packaging support +Group: Requires: %{name} = %{version}-%{release} Requires: maven Requires: xmvn @@ -101,7 +121,6 @@ install -p -m 755 depmap.xml $RPM_BUILD_ROOT%{_mavendepmapfragdir}/%{name}-depma rm -f $RPM_BUILD_ROOT%{_bindir}/mvn-{local,rpmbuild} %endif - %files %doc LICENSE %dir %{_rpmconfigdir}/fileattrs @@ -123,5 +142,4 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/mvn-{local,rpmbuild} %{_bindir}/mvn-* %{_datadir}/xmvn/configuration*.xml - %changelog