1
0
Fridrich Strba 2017-11-30 14:40:30 +00:00 committed by Git OBS Bridge
parent 5b336073f7
commit c475e34d16
6 changed files with 47 additions and 32 deletions

30
copying.txt Normal file
View File

@ -0,0 +1,30 @@
Copyright (c) 2001, Thai Open Source Software Center Ltd, Sun Microsystems.
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 names of the copyright holders 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 REGENTS 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.

View File

@ -1,22 +0,0 @@
Index: relaxngDatatype-1.0/build.xml
===================================================================
--- relaxngDatatype-1.0.orig/build.xml
+++ relaxngDatatype-1.0/build.xml
@@ -32,7 +32,7 @@ Implementation-Vendor: relaxng.sourcefor
</jar>
<!-- generate javadoc documentation -->
- <mkdir dir="doc"/>
+ <!-- <mkdir dir="doc"/>
<javadoc locale="en_US"
packagenames="org.relaxng.datatype.*"
sourcepath="src"
@@ -41,7 +41,7 @@ Implementation-Vendor: relaxng.sourcefor
public="yes"
author="yes"
>
- </javadoc>
+ </javadoc>-->
<!-- creates distribution package -->
<zip zipfile="relaxngDatatype-${version}.zip">

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b624d8c52a7cc61c73e3ef18943f21233f9e2128a5bc2d4e4f272d08308a7f14
size 25396

BIN
relaxngDatatype-2011.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Nov 30 14:39:03 UTC 2017 - fstrba@suse.com
- Update to version 2011.1
- Removed patch:
* no-javadoc.patch
+ not needed
-------------------------------------------------------------------
Sun Sep 10 07:09:02 UTC 2017 - fstrba@suse.com

View File

@ -17,14 +17,15 @@
Name: relaxngDatatype
Version: 1.0
Version: 2011.1
Release: 0
Summary: RELAX NG Datatype API
License: BSD-3-Clause
Group: Development/Languages/Java
Url: https://sourceforge.net/projects/relaxng
Source0: relaxngDatatype-1.0.tar.bz2
Patch0: no-javadoc.patch
Source0: https://github.com/java-schema-utilities/relaxng-datatype-java/archive/relaxngDatatype-%{version}.tar.gz
# License is not available in the tarball, this copy fetched from the tarball on the old sourceforge.net site
Source1: copying.txt
BuildRequires: ant
BuildRequires: java-devel
BuildRequires: javapackages-tools
@ -38,10 +39,8 @@ related to the construction of the RELAX NG language and its
implementations.
%prep
%setup -q
# wrong end of line necoding
sed -i -e 's/.$//' copying.txt
%patch0 -p1
%setup -q -n relaxng-datatype-java-relaxngDatatype-%{version}
cp -p %{SOURCE1} .
%build
ant \