|
|
@ -1,13 +1,25 @@
|
|
|
|
|
|
|
|
%global revision 572a0baa91d1
|
|
|
|
|
|
|
|
|
|
|
|
Name: decentxml
|
|
|
|
Name: decentxml
|
|
|
|
Version: 1.4
|
|
|
|
Version: 1.4
|
|
|
|
Release: 19%{?dist}
|
|
|
|
Release: 27%{?dist}
|
|
|
|
Summary: XML parser optimized for round-tripping and code reuse
|
|
|
|
Summary: XML parser optimized for round-tripping and code reuse
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: http://code.google.com/p/%{name}
|
|
|
|
# Google Code has shut down.
|
|
|
|
|
|
|
|
# URL: http://code.google.com/p/decentxml
|
|
|
|
|
|
|
|
URL: https://bitbucket.org/digulla/%{name}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://decentxml.googlecode.com/files/decentxml-1.4-src.zip
|
|
|
|
# Google Code has shut down.
|
|
|
|
# for running w3c conformance test suite
|
|
|
|
# Source0: https://decentxml.googlecode.com/files/decentxml-1.4-src.zip
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# This version is equivalent to the last Google Code release, other than
|
|
|
|
|
|
|
|
# folder structure due to how Bitbucket makes zip archives:
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
# decentxml-1.4 -> digulla-decentxml-572a0baa91d1
|
|
|
|
|
|
|
|
Source0: https://bitbucket.org/digulla/%{name}/get/r%{version}.zip
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# For running w3c conformance test suite.
|
|
|
|
Source1: http://www.w3.org/XML/Test/xmlts20031210.zip
|
|
|
|
Source1: http://www.w3.org/XML/Test/xmlts20031210.zip
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: maven-local
|
|
|
@ -19,7 +31,7 @@ BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
XML parser optimized for round-tripping and code reuse with main
|
|
|
|
XML parser optimized for round-tripping and code reuse with main
|
|
|
|
features being:
|
|
|
|
features being:
|
|
|
|
* Allows 100% round-tripping, even for weird whitespace between
|
|
|
|
* Allows 100% round-tripping, even for weird white-space between
|
|
|
|
attributes in the start tag or in the end tag
|
|
|
|
attributes in the start tag or in the end tag
|
|
|
|
* Suitable for building editors and filters which want/need to
|
|
|
|
* Suitable for building editors and filters which want/need to
|
|
|
|
preserve the original file layout as much as possible
|
|
|
|
preserve the original file layout as much as possible
|
|
|
@ -34,9 +46,10 @@ Summary: API documentation for %{name}
|
|
|
|
This package contains the API documentation for %{name}.
|
|
|
|
This package contains the API documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q -n digulla-%{name}-%{revision}
|
|
|
|
# we are looking for xml conformance data one lever above so unzip
|
|
|
|
|
|
|
|
# here and symlink there
|
|
|
|
# We are looking for xml conformance data one level above so unzip
|
|
|
|
|
|
|
|
# here and symlink there.
|
|
|
|
unzip %{SOURCE1}
|
|
|
|
unzip %{SOURCE1}
|
|
|
|
ln -sf %{name}-%{version}/xmlconf ../xmlconf
|
|
|
|
ln -sf %{name}-%{version}/xmlconf ../xmlconf
|
|
|
|
sed -i -e "s|junit-dep|junit|g" pom.xml
|
|
|
|
sed -i -e "s|junit-dep|junit|g" pom.xml
|
|
|
@ -46,24 +59,53 @@ sed -i '/not_wf_sa_16[89] /d' src/test/java/de/pdark/decentxml/XMLConformanceTes
|
|
|
|
|
|
|
|
|
|
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
|
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# remove maven-compiler-plugin configuration that is broken with Java 11
|
|
|
|
|
|
|
|
%pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]/pom:configuration'
|
|
|
|
|
|
|
|
|
|
|
|
# Don't use deprecated "attached" goal of Maven Assembly Plugin, which
|
|
|
|
# Don't use deprecated "attached" goal of Maven Assembly Plugin, which
|
|
|
|
# was removed in version 3.0.0.
|
|
|
|
# was removed in version 3.0.0.
|
|
|
|
%pom_xpath_set "pom:plugin[pom:artifactId='maven-assembly-plugin']/pom:executions/pom:execution/pom:goals/pom:goal[text()='attached']" single
|
|
|
|
%pom_xpath_set "pom:plugin[pom:artifactId='maven-assembly-plugin']/pom:executions/pom:execution/pom:goals/pom:goal[text()='attached']" single
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%mvn_file : %{name}
|
|
|
|
%mvn_file : %{name}
|
|
|
|
%mvn_build
|
|
|
|
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%files -f .mfiles
|
|
|
|
%doc LICENSE README
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%doc README
|
|
|
|
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%doc LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-27
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-26
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-25
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-24
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1.4-23
|
|
|
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 04 2020 Fabio Valentini <decathorpe@gmail.com> - 1.4-22
|
|
|
|
|
|
|
|
- Override javac source and target versions to fix build with Java 11.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-21
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 12 2019 Alexander Scheel <ascheel@redhat.com> - 1.4-20
|
|
|
|
|
|
|
|
- Rebuilt and resurrected from orphaning for Eclipse
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-19
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|