This commit is contained in:
parent
f7e2bf7db3
commit
5b66c1b3e1
@ -13,7 +13,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -25,13 +25,14 @@ Release: 0
|
|||||||
Summary: Apache Commons Codec Package
|
Summary: Apache Commons Codec Package
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Url: http://commons.apache.org/codec/
|
URL: http://commons.apache.org/codec/
|
||||||
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
||||||
Source4: MANIFEST.MF
|
Source4: MANIFEST.MF
|
||||||
# PATCH-FIX-OPENSUSE Avoid spurious timeout in BeiderMorse tests
|
# PATCH-FIX-OPENSUSE Avoid spurious timeout in BeiderMorse tests
|
||||||
Patch0: timeout.patch
|
Patch0: timeout.patch
|
||||||
BuildRequires: ant >= 1.7
|
BuildRequires: ant >= 1.7
|
||||||
BuildRequires: ant-junit >= 1.7
|
BuildRequires: ant-junit >= 1.7
|
||||||
|
BuildRequires: apache-commons-parent
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
@ -40,12 +41,12 @@ BuildRequires: javapackages-tools
|
|||||||
# this should be a dependency of openjdk itself
|
# this should be a dependency of openjdk itself
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
BuildRequires: mozilla-nss
|
BuildRequires: mozilla-nss
|
||||||
|
Requires: apache-commons-parent
|
||||||
Requires: java >= 1.8
|
Requires: java >= 1.8
|
||||||
Provides: jakarta-%{short_name} = %{version}
|
Provides: jakarta-%{short_name} = %{version}
|
||||||
Obsoletes: jakarta-%{short_name} < %{version}
|
Obsoletes: jakarta-%{short_name} < %{version}
|
||||||
Provides: %{short_name} = %{version}
|
Provides: %{short_name} = %{version}
|
||||||
Obsoletes: %{short_name} < %{version}
|
Obsoletes: %{short_name} < %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -128,7 +129,8 @@ ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%doc LICENSE.txt RELEASE-NOTES.txt
|
%license LICENSE.txt
|
||||||
|
%doc RELEASE-NOTES.txt
|
||||||
%{_javadir}/*.jar
|
%{_javadir}/*.jar
|
||||||
%{_mavenpomdir}/*
|
%{_mavenpomdir}/*
|
||||||
%if %{defined _maven_repository}
|
%if %{defined _maven_repository}
|
||||||
|
Loading…
Reference in New Issue
Block a user