| |
@@ -1,20 +1,21 @@
|
| |
+ %global srcname jaxb-dtd-parser
|
| |
+
|
| |
Name: glassfish-dtd-parser
|
| |
- Version: 1.2
|
| |
- Release: 0.20.20120120svn%{?dist}
|
| |
+ Version: 1.4
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Library for parsing XML DTDs
|
| |
License: CDDL-1.1 and GPLv2 with exceptions
|
| |
- Url: http://java.net/projects/dtd-parser
|
| |
- # svn export https://svn.java.net/svn/dtd-parser~svn/trunk/dtd-parser glassfish-dtd-parser-1.2-SNAPSHOT
|
| |
- # find glassfish-dtd-parser-1.2-SNAPSHOT/ -name '*.jar' -delete
|
| |
- # tar czf glassfish-dtd-parser-1.2-SNAPSHOT-src-svn.tar.gz glassfish-dtd-parser-1.2-SNAPSHOT
|
| |
- Source0: %{name}-%{version}-SNAPSHOT-src-svn.tar.gz
|
| |
- BuildRequires: bsf
|
| |
- BuildRequires: maven-local
|
| |
- BuildRequires: maven-enforcer-plugin
|
| |
- BuildRequires: sonatype-oss-parent
|
| |
+
|
| |
+ # NOTE: The new upstream repository under the Eclipse EE4J umbrella is here:
|
| |
+ # https://github.com/eclipse-ee4j/jaxb-dtd-parser
|
| |
+ URL: https://github.com/javaee/%{srcname}
|
| |
+ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
| |
|
| |
BuildArch: noarch
|
| |
|
| |
+ BuildRequires: maven-local
|
| |
+ BuildRequires: mvn(net.java:jvnet-parent:pom:)
|
| |
+
|
| |
%description
|
| |
Library for parsing XML DTDs.
|
| |
|
| |
@@ -25,23 +26,32 @@
|
| |
This package contains javadoc for %{name}.
|
| |
|
| |
%prep
|
| |
- %setup -q -n %{name}-%{version}-SNAPSHOT
|
| |
+ %setup -q -n %{srcname}-%{version}
|
| |
|
| |
- %build
|
| |
+ # builds fail if this file is present
|
| |
+ rm dtd-parser/src/module-info.java
|
| |
|
| |
+ %build
|
| |
+ pushd dtd-parser
|
| |
%mvn_file :dtd-parser %{name}
|
| |
%mvn_build
|
| |
+ popd
|
| |
|
| |
%install
|
| |
+ pushd dtd-parser
|
| |
%mvn_install
|
| |
+ popd
|
| |
|
| |
- %files -f .mfiles
|
| |
- %license LICENSE.txt
|
| |
+ %files -f dtd-parser/.mfiles
|
| |
+ %license LICENSE
|
| |
|
| |
- %files javadoc -f .mfiles-javadoc
|
| |
- %license LICENSE.txt
|
| |
+ %files javadoc -f dtd-parser/.mfiles-javadoc
|
| |
+ %license LICENSE
|
| |
|
| |
%changelog
|
| |
+ * Fri Oct 18 2019 Fabio Valentini <decathorpe@gmail.com> - 1.4-1
|
| |
+ - Update to version 1.4.
|
| |
+
|
| |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-0.20.20120120svn
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
| |
|
| |
module-info.java
file :smirk:Test rebuilds of recursively dependent packages were done in COPR:
https://copr.fedorainfracloud.org/coprs/decathorpe/glassfish-dtd-parser-1.4-pr/monitor/
These build failures are already present in rawhide and not caused by this update:
The one other dependency (glassfish-jaxb) built fine, though it does not run the test suite during its build ...