From b574909a385b81efe82e6457b5d0a8467b90a6a269082eca2c25c21be43f34e0 Mon Sep 17 00:00:00 2001 From: Michal Vyskocil Date: Mon, 15 Nov 2010 10:09:12 +0000 Subject: [PATCH] - fix bnc#653551 - No license indicators in jsr-305 package * add license file with BSD license text as written on http://code.google.com/p/jsr-305/ OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsr-305?expand=0&rev=3 --- jsr-305.changes | 7 +++++++ jsr-305.spec | 7 ++++++- license | 10 ++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 license diff --git a/jsr-305.changes b/jsr-305.changes index 9509162..0060cde 100644 --- a/jsr-305.changes +++ b/jsr-305.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Nov 15 09:54:19 UTC 2010 - mvyskocil@suse.cz + +- fix bnc#653551 - No license indicators in jsr-305 package + * add license file with BSD license text + as written on http://code.google.com/p/jsr-305/ + ------------------------------------------------------------------- Wed Jun 3 14:58:27 CEST 2009 - mvyskocil@suse.cz diff --git a/jsr-305.spec b/jsr-305.spec index 8f236c0..c86733b 100644 --- a/jsr-305.spec +++ b/jsr-305.spec @@ -12,6 +12,9 @@ URL: http://code.google.com/p/jsr-305/ # tar cjf jsr-305-0.1.bz2 jsr-305-0.1 Source0: http://code.google.com/p/jsr-305/jsr-305-0.1.tar.bz2 Source1: jsr-305-ri-build.xml +# bnc#653551 +# The URL reffers to New BSD License - used == Bill Pugh, == 2008 +Source2: license Provides: jsr305 = %{version}-%{release} Requires: jpackage-utils BuildRequires: ant @@ -29,7 +32,7 @@ group: http://groups.google.com/group/jsr-305. %package javadoc Summary: Javadoc for %{name} -Group: Development/Documentation +Group: Documentation/HTML %description javadoc This project contains reference implementations, test cases, and other @@ -40,6 +43,7 @@ group: http://groups.google.com/group/jsr-305. %prep %setup -q %{__cp} -a %{SOURCE1} ri/build.xml +%{__cp} %{SOURCE2} . %build export OPT_JAR_LIST=: @@ -78,6 +82,7 @@ popd %files %defattr(0644,root,root,0755) +%doc license %{_javadir}/%{name}-%{version}.jar %{_javadir}/%{name}.jar %{_javadir}/jsr305-%{version}.jar diff --git a/license b/license new file mode 100644 index 0000000..62773ba --- /dev/null +++ b/license @@ -0,0 +1,10 @@ +Copyright (c) 2008, Bill Pugh +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +* Neither the name of the Bill Pugh nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.