forked from pool/xml-commons-resolver
Compare commits
10 Commits
a6c071713e
...
f1b86af4d5
Author | SHA256 | Date | |
---|---|---|---|
f1b86af4d5 | |||
fb9daaa1b7 | |||
00dad0fa6e | |||
638af3c6cd | |||
9400eb1134 | |||
70439696fd | |||
3686d1936c | |||
|
bb311a64d8 | ||
ba13c8e0ec | |||
819d402317 |
@@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 20 14:32:33 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Use %patch -P N instead of deprecated %patchN.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 18 16:29:44 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Build with source/target levels 8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 8 11:32:53 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Do not depend on the parent pom since we are not building using
|
||||||
|
Maven.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 1 16:33:40 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- BuildIgnore xml-apis and xml-resolver, since this does not
|
||||||
|
strictly require them for build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 1 12:59:05 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- BuildIgnore xerces-j2 to break cycle of OSGi requires
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 13 10:52:02 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
Thu Dec 13 10:52:02 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xml-commons-resolver
|
# spec file for package xml-commons-resolver
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -23,7 +23,7 @@ Release: 0
|
|||||||
Summary: Resolver subproject of xml-commons
|
Summary: Resolver subproject of xml-commons
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
URL: http://xerces.apache.org/xml-commons/components/resolver/
|
URL: https://xerces.apache.org/xml-commons/components/resolver/
|
||||||
Source0: http://www.apache.org/dist/xerces/xml-commons/%{name}-%{version}.tar.gz
|
Source0: http://www.apache.org/dist/xerces/xml-commons/%{name}-%{version}.tar.gz
|
||||||
Source5: %{name}-pom.xml
|
Source5: %{name}-pom.xml
|
||||||
Source6: %{name}-resolver.1
|
Source6: %{name}-resolver.1
|
||||||
@@ -33,11 +33,12 @@ Source10: %{name}-CatalogManager.properties
|
|||||||
Patch0: %{name}-1.2-crosslink.patch
|
Patch0: %{name}-1.2-crosslink.patch
|
||||||
Patch1: %{name}-1.2-osgi.patch
|
Patch1: %{name}-1.2-osgi.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: apache-parent
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local >= 6
|
||||||
Requires: apache-parent
|
#!BuildIgnore: xerces-j2
|
||||||
|
#!BuildIgnore: xml-apis
|
||||||
|
#!BuildIgnore: xml-resolver
|
||||||
# Explicit javapackages-tools requires since scripts use
|
# Explicit javapackages-tools requires since scripts use
|
||||||
# /usr/share/java-utils/java-functions
|
# /usr/share/java-utils/java-functions
|
||||||
Requires: javapackages-tools
|
Requires: javapackages-tools
|
||||||
@@ -67,16 +68,20 @@ Javadoc for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch -P 0 -p1
|
||||||
%patch1 -p1
|
%patch -P 1 -p1
|
||||||
|
|
||||||
|
cp %{SOURCE5} pom.xml
|
||||||
|
|
||||||
# remove all binary libs and prebuilt javadocs
|
# remove all binary libs and prebuilt javadocs
|
||||||
find . -name "*.jar" -delete
|
find . -name "*.jar" -delete
|
||||||
rm -rf docs
|
rm -rf docs
|
||||||
sed -i 's/\r//' KEYS LICENSE.resolver.txt NOTICE-resolver.txt
|
sed -i 's/\r//' KEYS LICENSE.resolver.txt NOTICE-resolver.txt
|
||||||
|
|
||||||
|
%pom_remove_parent .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{ant} -f resolver.xml -Dant.build.javac.source=6 -Dant.build.javac.target=6 jar javadocs
|
%{ant} -f resolver.xml -Dant.build.javac.source=8 -Dant.build.javac.target=8 jar javadocs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jar
|
# jar
|
||||||
@@ -90,7 +95,7 @@ popd
|
|||||||
|
|
||||||
# pom
|
# pom
|
||||||
install -d -m 0755 %{buildroot}%{_mavenpomdir}
|
install -d -m 0755 %{buildroot}%{_mavenpomdir}
|
||||||
install -pm 644 %{SOURCE5} %{buildroot}%{_mavenpomdir}/%{name}.pom
|
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||||
%add_maven_depmap %{name}.pom %{name}.jar
|
%add_maven_depmap %{name}.pom %{name}.jar
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
@@ -114,7 +119,7 @@ install -p -m 644 %{SOURCE8} %{buildroot}%{_mandir}/man1/xml-xread.1
|
|||||||
install -d -m 755 %{buildroot}%{resolverdir}
|
install -d -m 755 %{buildroot}%{resolverdir}
|
||||||
install -m 0644 %{SOURCE10} %{buildroot}%{resolverdir}/CatalogManager.properties
|
install -m 0644 %{SOURCE10} %{buildroot}%{resolverdir}/CatalogManager.properties
|
||||||
|
|
||||||
%files
|
%files -f .mfiles
|
||||||
%license LICENSE.resolver.txt
|
%license LICENSE.resolver.txt
|
||||||
%doc KEYS NOTICE-resolver.txt
|
%doc KEYS NOTICE-resolver.txt
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
@@ -122,12 +127,6 @@ install -m 0644 %{SOURCE10} %{buildroot}%{resolverdir}/CatalogManager.properties
|
|||||||
%config(noreplace) %{resolverdir}/*
|
%config(noreplace) %{resolverdir}/*
|
||||||
%dir %{resolverdir}
|
%dir %{resolverdir}
|
||||||
%{_javadir}/*
|
%{_javadir}/*
|
||||||
%{_mavenpomdir}/*
|
|
||||||
%if %{defined _maven_repository}
|
|
||||||
%{_mavendepmapfragdir}/%{name}
|
|
||||||
%else
|
|
||||||
%{_datadir}/maven-metadata/%{name}.xml*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%license LICENSE.resolver.txt
|
%license LICENSE.resolver.txt
|
||||||
|
Reference in New Issue
Block a user