- Obsolete javadoc to bootstrap using gcj

OBS-URL: https://build.opensuse.org/package/show/Java:packages/relaxngDatatype?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal 2017-06-09 10:35:17 +00:00 committed by Git OBS Bridge
parent e37ee4e87a
commit 108a40d804
2 changed files with 7 additions and 17 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 9 10:36:56 UTC 2017 - tchvatal@suse.com
- Obsolete javadoc to bootstrap using gcj
-------------------------------------------------------------------
Fri Jul 11 14:48:26 UTC 2014 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package relaxngDatatype
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,6 +27,7 @@ Source0: relaxngDatatype-1.0.tar.bz2
BuildRequires: ant
BuildRequires: java-devel
BuildRequires: javapackages-tools
Obsoletes: %{name}-javadoc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@ -35,15 +36,6 @@ RELAX NG is a public space for test cases and other ancillary software
related to the construction of the RELAX NG language and its
implementations.
%package javadoc
Summary: RELAX NG Datatype API
Group: Development/Languages/Java
%description javadoc
RELAX NG is a public space for test cases and other ancillary software
related to the construction of the RELAX NG language and its
implementations.
%prep
%setup -q
# wrong end of line necoding
@ -56,17 +48,10 @@ ant -Dbuild.sysclasspath=only -Dant.build.javac.source=1.4 -Dant.build.javac.tar
install -Dpm 644 %{name}.jar \
%{buildroot}%{_javadir}/%{name}-%{version}.jar
ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
#
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr doc/* %{buildroot}%{_javadocdir}/%{name}
%files
%defattr(-,root,root,-)
%doc copying.txt
%{_javadir}/*.jar
%files javadoc
%defattr(-,root,root,-)
%doc %{_javadocdir}/%{name}
%changelog