Accepting request 672398 from home:jengelh:branches:Java:packages

- Fix double-shipping of documentation
- Avoid name repetition in summary (potential rpmlint warning

OBS-URL: https://build.opensuse.org/request/show/672398
OBS-URL: https://build.opensuse.org/package/show/Java:packages/jansi?expand=0&rev=2
This commit is contained in:
Fridrich Strba 2019-02-07 10:40:15 +00:00 committed by Git OBS Bridge
parent bf7a1b64f9
commit fba9808332
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 7 10:39:14 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Fix double-shipping of documentation
- Avoid name repetition in summary (potential rpmlint warning
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 4 12:33:24 UTC 2019 - Fridrich Strba <fstrba@suse.com> Mon Feb 4 12:33:24 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -19,7 +19,7 @@
Name: jansi Name: jansi
Version: 1.17.1 Version: 1.17.1
Release: 0 Release: 0
Summary: Jansi is a java library for generating and interpreting ANSI escape sequences Summary: Java library for generating and interpreting ANSI escape sequences
License: Apache-2.0 License: Apache-2.0
Group: Development/Libraries/Java Group: Development/Libraries/Java
URL: http://fusesource.github.io/jansi/ URL: http://fusesource.github.io/jansi/
@ -39,13 +39,14 @@ Requires: mvn(org.fusesource:fusesource-pom:pom:)
BuildArch: noarch BuildArch: noarch
%description %description
Jansi is a small java library that allows you to use ANSI escape sequences Jansi is a java library that allows you to use ANSI escape sequences
in your Java console applications. It implements ANSI support on platforms in your Java console applications. It implements ANSI support on platforms
which don't support it like Windows and provides graceful degradation for which don't support it, like Windows, and provides graceful degradation for
when output is being sent to output devices which cannot support ANSI sequences. when output is being sent to output devices which cannot support ANSI sequences.
%package javadoc %package javadoc
Summary: Javadocs for %{name} Summary: Javadocs for %{name}
Group: Documentation/HTML
%description javadoc %description javadoc
This package contains the API documentation for %{name}. This package contains the API documentation for %{name}.
@ -103,6 +104,5 @@ cp -pr jansi/target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%files javadoc %files javadoc
%{_javadocdir}/%{name} %{_javadocdir}/%{name}
%license license.txt
%changelog %changelog