New upstream release 1.5.0

Signed-off-by: Didik Supriadi <didiksupriadi41@fedoraproject.org>
This commit is contained in:
Didik Supriadi 2022-04-22 06:18:42 +07:00
parent 8c3ce5f467
commit 4f3f2c768d
3 changed files with 19 additions and 23 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/jaxb-dtd-parser-1.4.3.tar.gz /jaxb-dtd-parser-1.4.3.tar.gz
/jaxb-dtd-parser-1.4.5.tar.gz /jaxb-dtd-parser-1.4.5.tar.gz
/jaxb-dtd-parser-1.5.0.tar.gz

View File

@ -1,66 +1,61 @@
Name: jaxb-dtd-parser Name: jaxb-dtd-parser
Version: 1.4.5 Version: 1.5.0
Release: 3%{?dist} Release: 1%{?dist}
Summary: SAX-like API for parsing XML DTDs Summary: SAX-like API for parsing XML DTDs
License: BSD License: BSD
URL: https://github.com/eclipse-ee4j/jaxb-dtd-parser URL: https://github.com/eclipse-ee4j/jaxb-dtd-parser
BuildArch: noarch BuildArch: noarch
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: git
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin)
Provides: glassfish-dtd-parser = %{version}-%{release} Provides: glassfish-dtd-parser = %{version}-%{release}
%description %description
SAX-like API for parsing XML DTDs. SAX-like API for parsing XML DTDs.
%package javadoc %package javadoc
Summary: API documentation for %{name} Summary: API documentation for %{name}
%description javadoc %description javadoc
API documentation for %{name}. API documentation for %{name}.
%prep %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 # remove unnecessary dependency on parent POM
# org.eclipse.ee4j:project is not packaged and isn't needed # org.eclipse.ee4j:project is not packaged and isn't needed
%pom_remove_parent %pom_remove_parent
# remove unnecessary plugins # remove unnecessary plugins
%pom_remove_plugin :buildnumber-maven-plugin
%pom_remove_plugin :glassfish-copyright-maven-plugin %pom_remove_plugin :glassfish-copyright-maven-plugin
cd -
popd
%build %build
pushd dtd-parser cd dtd-parser
%mvn_build %mvn_build
popd cd -
%install %install
pushd dtd-parser cd dtd-parser
%mvn_install %mvn_install
popd cd -
%files -f dtd-parser/.mfiles %files -f dtd-parser/.mfiles
%license LICENSE.md NOTICE.md %license LICENSE.md NOTICE.md
%doc README.md %doc README.md
%files javadoc -f dtd-parser/.mfiles-javadoc %files javadoc -f dtd-parser/.mfiles-javadoc
%license LICENSE.md NOTICE.md %license LICENSE.md NOTICE.md
%changelog %changelog
* Mon Apr 11 2022 Didik Supriadi <didiksupriadi41@fedoraproject.org> - 1.5.0-1
- New upstream release 1.5.0
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.4.5-3 * Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.4.5-3
- Rebuilt for java-17-openjdk as system jdk - Rebuilt for java-17-openjdk as system jdk

View File

@ -1 +1 @@
SHA512 (jaxb-dtd-parser-1.4.5.tar.gz) = 9b07f6f8e4860b85f2c89d660fabc1f1ec755f313423f47fd4617fb174f4ee6613dc38923fb2fd6aa768c23d54891ebe1e8fe1a1e422115fb0836a48ddfe1ce5 SHA512 (jaxb-dtd-parser-1.5.0.tar.gz) = 5a609c6535bc538014830d933172fc280127c631bd480d5b62dce606657e18f2904feb84fd4f20af0ba72699e75c580d101e7da26182b0e752dc90d70716b831