SHA256
1
0
forked from pool/jing-trang

Accepting request 1073357 from Java:packages

Fetch sources using source service

OBS-URL: https://build.opensuse.org/request/show/1073357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jing-trang?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2023-03-24 14:15:45 +00:00 committed by Git OBS Bridge
commit ba9ffddbe5
6 changed files with 30 additions and 22 deletions

View File

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

View File

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

View File

@ -1,5 +1,17 @@
<services>
<service name="download_files" mode="disabled">
<param name="recompress">yes</param>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/relaxng/jing-trang.git</param>
<param name="revision">V20220510</param>
<param name="match-tag">V*</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">V(.*)</param>
<param name="exclude">lib/*.jar</param>
<param name="exclude">mod/datatype/src/main/org</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

BIN
jing-trang-20220510.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 20 18:55:39 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Fetch the sources using the source service and filter out stray
binaries and other files that we don't want to distribute because
of licensing.
-------------------------------------------------------------------
Sat Jan 21 15:21:58 UTC 2023 - Thomas Schraitle <thomas.schraitle@suse.com>

View File

@ -16,8 +16,6 @@
#
%global relaxng_hash 1fc8c8d337c2c75b6b15b281f2c69e86110e475f
#
Name: jing-trang
Version: 20220510
Release: 0
@ -25,10 +23,9 @@ Summary: Schema validation and conversion based on RELAX NG
License: BSD-3-Clause
Group: Productivity/Text/Utilities
URL: https://github.com/relaxng/%{name}
Source0: https://github.com/relaxng/%{name}/archive/V%{version}.tar.gz
Source1: https://github.com/relaxng/relaxng.org/archive/%{relaxng_hash}.zip
Source2: https://repo1.maven.org/maven2/org/relaxng/jing/%{version}/jing-%{version}.pom
Source3: https://repo1.maven.org/maven2/org/relaxng/trang/%{version}/trang-%{version}.pom
Source0: %{name}-%{version}.tar.xz
Source1: https://repo1.maven.org/maven2/org/relaxng/jing/%{version}/jing-%{version}.pom
Source2: https://repo1.maven.org/maven2/org/relaxng/trang/%{version}/trang-%{version}.pom
Source10: dtdinst.1
#
Patch0: 0000-Various-build-fixes.patch
@ -118,19 +115,14 @@ Requires: jpackage-utils
DTDinst is a program for converting XML DTDs into an XML instance format.
%prep
%setup -q -a 0
rmdir relaxng.org
unzip %{SOURCE1}
mv relaxng.org-%{relaxng_hash} relaxng.org
%setup -q
cp %{SOURCE2} jing.pom
cp %{SOURCE3} trang.pom
cp %{SOURCE1} jing.pom
cp %{SOURCE2} trang.pom
cp %{SOURCE10} .
mv gcj/{trang,jing}.1 .
rm -r gcj mod/datatype/src/main/org $(find . -name "*.jar")
%patch0 -p1
# %%patch1 -p1
%patch2 -p1
%patch3 -p1
rm -f \