From 4f3f2c768d5d62bcdd092a6c5c756bcd25970354 Mon Sep 17 00:00:00 2001 From: Didik Supriadi Date: Fri, 22 Apr 2022 06:18:42 +0700 Subject: [PATCH] New upstream release 1.5.0 Signed-off-by: Didik Supriadi --- .gitignore | 1 + jaxb-dtd-parser.spec | 39 +++++++++++++++++---------------------- sources | 2 +- 3 files changed, 19 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 6c78ca7..b1cdc85 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /jaxb-dtd-parser-1.4.3.tar.gz /jaxb-dtd-parser-1.4.5.tar.gz +/jaxb-dtd-parser-1.5.0.tar.gz diff --git a/jaxb-dtd-parser.spec b/jaxb-dtd-parser.spec index 41ec442..d06e0f9 100644 --- a/jaxb-dtd-parser.spec +++ b/jaxb-dtd-parser.spec @@ -1,66 +1,61 @@ Name: jaxb-dtd-parser -Version: 1.4.5 -Release: 3%{?dist} +Version: 1.5.0 +Release: 1%{?dist} Summary: SAX-like API for parsing XML DTDs License: BSD URL: https://github.com/eclipse-ee4j/jaxb-dtd-parser BuildArch: noarch - Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz - +BuildRequires: git BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) - +BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin) Provides: glassfish-dtd-parser = %{version}-%{release} %description SAX-like API for parsing XML DTDs. - %package javadoc Summary: API documentation for %{name} - %description javadoc API documentation for %{name}. %prep -%autosetup +# -S: enable usage of git repo +%autosetup -S git +# delete precompiled jar and class files +find -type f '(' -iname '*.jar' -o -iname '*.class' ')' -print -delete -pushd dtd-parser +cd dtd-parser # remove unnecessary dependency on parent POM # org.eclipse.ee4j:project is not packaged and isn't needed %pom_remove_parent - # remove unnecessary plugins -%pom_remove_plugin :buildnumber-maven-plugin %pom_remove_plugin :glassfish-copyright-maven-plugin - -popd - +cd - %build -pushd dtd-parser +cd dtd-parser %mvn_build -popd - +cd - %install -pushd dtd-parser +cd dtd-parser %mvn_install -popd - +cd - %files -f dtd-parser/.mfiles %license LICENSE.md NOTICE.md %doc README.md - %files javadoc -f dtd-parser/.mfiles-javadoc %license LICENSE.md NOTICE.md - %changelog +* Mon Apr 11 2022 Didik Supriadi - 1.5.0-1 +- New upstream release 1.5.0 + * Sat Feb 05 2022 Jiri Vanek - 1.4.5-3 - Rebuilt for java-17-openjdk as system jdk diff --git a/sources b/sources index 3da39f5..bf7037a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jaxb-dtd-parser-1.4.5.tar.gz) = 9b07f6f8e4860b85f2c89d660fabc1f1ec755f313423f47fd4617fb174f4ee6613dc38923fb2fd6aa768c23d54891ebe1e8fe1a1e422115fb0836a48ddfe1ce5 +SHA512 (jaxb-dtd-parser-1.5.0.tar.gz) = 5a609c6535bc538014830d933172fc280127c631bd480d5b62dce606657e18f2904feb84fd4f20af0ba72699e75c580d101e7da26182b0e752dc90d70716b831