Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

4 changed files with 62 additions and 15 deletions

View File

@ -1,2 +1,2 @@
5484b285d9ab50f0441a7c4662b6ebcae4d9d4ef SOURCES/decentxml-1.4-src.zip
833db29cc701ff05243dfe8802240eb5a7002d11 SOURCES/xmlts20031210.zip
ba728bfd166df00980ed2c3eed720f9557dfc68a r1.4.zip
833db29cc701ff05243dfe8802240eb5a7002d11 xmlts20031210.zip

7
.gitignore vendored
View File

@ -1,2 +1,5 @@
SOURCES/decentxml-1.4-src.zip
SOURCES/xmlts20031210.zip
/decentxml-*.tar.xz
/*.zip
/digulla-decentxml-*/
/results_*/
*.rpm

View File

@ -1,13 +1,25 @@
%global revision 572a0baa91d1
Name: decentxml
Version: 1.4
Release: 19%{?dist}
Release: 27%{?dist}
Summary: XML parser optimized for round-tripping and code reuse
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
Source0: https://decentxml.googlecode.com/files/decentxml-1.4-src.zip
# for running w3c conformance test suite
# Google Code has shut down.
# 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
BuildRequires: maven-local
@ -19,7 +31,7 @@ BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
%description
XML parser optimized for round-tripping and code reuse with main
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
* Suitable for building editors and filters which want/need to
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}.
%prep
%setup -q
# we are looking for xml conformance data one lever above so unzip
# here and symlink there
%setup -q -n digulla-%{name}-%{revision}
# We are looking for xml conformance data one level above so unzip
# here and symlink there.
unzip %{SOURCE1}
ln -sf %{name}-%{version}/xmlconf ../xmlconf
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
# 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
# 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
%build
%mvn_file : %{name}
%mvn_build
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
%install
%mvn_install
%files -f .mfiles
%doc LICENSE README
%license LICENSE
%doc README
%files javadoc -f .mfiles-javadoc
%doc LICENSE
%license LICENSE
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (r1.4.zip) = a3f048528dbb0a78b1f943900e52a597a8b0e145f231b85ad21e6fdab468475a5a95fe72c567bf217acf958aebd90d8d399af60c8e910f6432ed03c890fbfc30
SHA512 (xmlts20031210.zip) = 128705b32e885c17323a337ec03508f684f1ae1b35860fd38a14a1a6ccb591afdb2f4d311a04202c6d60b2d7f96a4099b6adcf85e9879d545b1fe58d4951a1fc