Fridrich Strba 2019-02-06 09:10:55 +00:00 committed by Git OBS Bridge
parent 34bf239362
commit 3fcec9c424

View File

@ -3,7 +3,6 @@
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2005, JPackage Project # Copyright (c) 2000-2005, JPackage Project
# All rights reserved.
# #
# 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,11 +21,10 @@ Name: javacc
Version: 7.0.4 Version: 7.0.4
Release: 0 Release: 0
Summary: A Parser and Scanner Generator for Java Summary: A Parser and Scanner Generator for Java
License: BSD License: BSD-3-Clause
Group: Development/Libraries/Java Group: Development/Libraries/Java
URL: http://javacc.org URL: http://javacc.org
Source0: https://github.com/javacc/javacc/archive/%{version}.tar.gz Source0: https://github.com/javacc/javacc/archive/%{version}.tar.gz
BuildRequires: ant BuildRequires: ant
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: javacc BuildRequires: javacc
@ -34,7 +32,6 @@ BuildRequires: javapackages-local
# 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
BuildArch: noarch BuildArch: noarch
%description %description
@ -48,7 +45,7 @@ with JavaCC), actions, debugging, etc.
%package manual %package manual
Summary: Manual for %{name} Summary: Manual for %{name}
Group: Development/Libraries/Java Group: Documentation/Other
%description manual %description manual
Manual for %{name}. Manual for %{name}.
@ -63,13 +60,13 @@ Examples for %{name}.
%package javadoc %package javadoc
Summary: Javadoc for %{name} Summary: Javadoc for %{name}
Group: Development/Libraries/Java Group: Documentation/HTML
%description javadoc %description javadoc
This package contains the API documentation for %{name}. This package contains the API documentation for %{name}.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q
find ./examples -type f -exec sed -i 's/\r//' {} \; find ./examples -type f -exec sed -i 's/\r//' {} \;
@ -82,7 +79,7 @@ ant \
jar javadoc jar javadoc
# The pom dependencies are also wrong # The pom dependencies are also wrong
%mvn_artifact --skip-dependencies pom.xml target/javacc-%{version}.jar %{mvn_artifact} --skip-dependencies pom.xml target/javacc-%{version}.jar
%install %install
# jar # jar