Sync from SUSE:SLFO:Main xerces-j2 revision b4b21189ed264873596d70d169dd6ca5
This commit is contained in:
parent
a04e6c8d88
commit
8317947bae
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 30 12:23:31 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Simplify the spec file: remove old macros
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 20 14:48:04 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Use %patch -P N instead of deprecated %patchN.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 18 16:34:22 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
Fri Mar 18 16:34:22 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xerces-j2
|
# spec file for package xerces-j2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# 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
|
||||||
@ -39,17 +39,16 @@ BuildRequires: ant
|
|||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local >= 6
|
||||||
BuildRequires: xalan-j2 >= 2.7.1
|
BuildRequires: xalan-j2 >= 2.7.1
|
||||||
BuildRequires: xml-commons-apis >= 1.4.01
|
BuildRequires: xml-commons-apis >= 1.4.01
|
||||||
BuildRequires: xml-commons-resolver >= 1.2
|
BuildRequires: xml-commons-resolver >= 1.2
|
||||||
#!BuildIgnore: xerces-j2 osgi(org.apache.xerces) jaxp_parser_impl
|
#!BuildIgnore: jaxp_parser_impl
|
||||||
|
#!BuildIgnore: osgi(org.apache.xerces)
|
||||||
|
#!BuildIgnore: xerces-j2
|
||||||
# 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
|
||||||
Requires: xalan-j2 >= 2.7.1
|
|
||||||
Requires: xml-commons-apis >= 1.4.01
|
|
||||||
Requires: xml-commons-resolver >= 1.2
|
|
||||||
Provides: %{name}-scripts = %{version}-%{release}
|
Provides: %{name}-scripts = %{version}-%{release}
|
||||||
Provides: jaxp_parser_impl = 1.4
|
Provides: jaxp_parser_impl = 1.4
|
||||||
Obsoletes: %{name}-scripts < %{version}-%{release}
|
Obsoletes: %{name}-scripts < %{version}-%{release}
|
||||||
@ -88,8 +87,8 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
find "(" -name "*.class" -o -name "*.jar" ")" -delete
|
find "(" -name "*.class" -o -name "*.jar" ")" -delete
|
||||||
find -type f -exec dos2unix {} \;
|
find -type f -exec dos2unix {} \;
|
||||||
|
|
||||||
%patch0 -p1
|
%patch -P 0 -p1
|
||||||
%patch1
|
%patch -P 1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p tools
|
mkdir -p tools
|
||||||
@ -113,7 +112,7 @@ install -pm 644 build/xercesImpl.jar %{buildroot}%{_javadir}/%{name}.jar
|
|||||||
|
|
||||||
# pom
|
# pom
|
||||||
install -dm 755 %{buildroot}%{_mavenpomdir}
|
install -dm 755 %{buildroot}%{_mavenpomdir}
|
||||||
install -pm 644 %{SOURCE5} %{buildroot}%{_mavenpomdir}/%{name}.pom
|
%{mvn_install_pom} %{SOURCE5} %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||||
%add_maven_depmap %{name}.pom %{name}.jar -a xerces:xerces,xerces:xmlParserAPIs,apache:xerces-j2
|
%add_maven_depmap %{name}.pom %{name}.jar -a xerces:xerces,xerces:xmlParserAPIs,apache:xerces-j2
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
@ -148,18 +147,12 @@ update-alternatives --remove jaxp_parser_impl %{_javadir}/%{name}.jar >/dev/null
|
|||||||
# it deletes the link, set it up again
|
# it deletes the link, set it up again
|
||||||
ln -sf %{name}.jar %{_javadir}/jaxp_parser_impl.jar
|
ln -sf %{name}.jar %{_javadir}/jaxp_parser_impl.jar
|
||||||
|
|
||||||
%files
|
%files -f .mfiles
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc NOTICE README
|
%doc NOTICE README
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_javadir}/*
|
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_mavenpomdir}/*
|
%{_javadir}/jaxp_parser_impl.jar
|
||||||
%if %{defined _maven_repository}
|
|
||||||
%{_mavendepmapfragdir}/%{name}
|
|
||||||
%else
|
|
||||||
%{_datadir}/maven-metadata/%{name}.xml*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user