Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

2 changed files with 18 additions and 18 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Tue Sep 24 10:35:09 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use SOURCE_DATE_EPOCH for reproducible builds
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 20 13:07:44 UTC 2022 - Fridrich Strba <fstrba@suse.com> Sun Mar 20 13:07:44 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package wsdl4j # spec file for package wsdl4j
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2022 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
@ -22,16 +22,19 @@ Release: 0
Summary: Web Services Description Language Toolkit for Java Summary: Web Services Description Language Toolkit for Java
License: IPL-1.0 License: IPL-1.0
Group: Development/Libraries/Java Group: Development/Libraries/Java
URL: https://sourceforge.net/projects/wsdl4j URL: http://sourceforge.net/projects/wsdl4j
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.zip Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.zip
Source1: %{name}-MANIFEST.MF Source1: %{name}-MANIFEST.MF
Source2: https://repo1.maven.org/maven2/wsdl4j/wsdl4j/%{version}/wsdl4j-%{version}.pom Source2: http://repo1.maven.org/maven2/wsdl4j/wsdl4j/%{version}/wsdl4j-%{version}.pom
BuildRequires: ant-junit BuildRequires: ant-junit
BuildRequires: javapackages-local >= 6 BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: unzip BuildRequires: unzip
BuildRequires: xml-apis BuildRequires: xml-commons-apis
BuildRequires: zip
Requires: java Requires: java
Requires: jaxp_parser_impl Requires: jaxp_parser_impl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%description %description
@ -61,11 +64,11 @@ ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 compile javadocs
%install %install
# inject OSGi manifests # inject OSGi manifests
jar --update --verbose \ mkdir -p META-INF
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0} cp -p %{SOURCE1} META-INF/MANIFEST.MF
--date="$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)" \ touch META-INF/MANIFEST.MF
%endif zip -u build/lib/%{name}.jar META-INF/MANIFEST.MF
--file=build/lib/%{name}.jar --manifest=%{SOURCE1}
# jars # jars
install -d -m 0755 %{buildroot}%{_javadir} install -d -m 0755 %{buildroot}%{_javadir}
install -m 644 build/lib/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar install -m 644 build/lib/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar
@ -73,7 +76,7 @@ install -m 644 build/lib/qname.jar %{buildroot}%{_javadir}/qname.jar
# POMs # POMs
install -d -m 0755 %{buildroot}%{_mavenpomdir} install -d -m 0755 %{buildroot}%{_mavenpomdir}
%{mvn_install_pom} %{SOURCE2} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom install -p -m 0644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a axis:axis-%{name} %add_maven_depmap JPP-%{name}.pom %{name}.jar -a axis:axis-%{name}
# javadoc # javadoc
@ -84,9 +87,11 @@ install -d -m 755 %{buildroot}%{_javadir}/javax.wsdl/
ln -sf ../%{name}.jar %{buildroot}%{_javadir}/javax.wsdl/ ln -sf ../%{name}.jar %{buildroot}%{_javadir}/javax.wsdl/
ln -sf ../qname.jar %{buildroot}%{_javadir}/javax.wsdl/ ln -sf ../qname.jar %{buildroot}%{_javadir}/javax.wsdl/
%files -f .mfiles %files
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%license license.html %doc license.html
%{_mavenpomdir}/JPP-%{name}.pom
%{_datadir}/maven-metadata/%{name}.xml*
%{_javadir}/* %{_javadir}/*
%files javadoc %files javadoc