This commit is contained in:
parent
34bf239362
commit
3fcec9c424
13
javacc.spec
13
javacc.spec
@ -3,7 +3,6 @@
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2000-2005, JPackage Project
|
||||
# All rights reserved.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -22,11 +21,10 @@ Name: javacc
|
||||
Version: 7.0.4
|
||||
Release: 0
|
||||
Summary: A Parser and Scanner Generator for Java
|
||||
License: BSD
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Java
|
||||
URL: http://javacc.org
|
||||
Source0: https://github.com/javacc/javacc/archive/%{version}.tar.gz
|
||||
|
||||
BuildRequires: ant
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: javacc
|
||||
@ -34,7 +32,6 @@ BuildRequires: javapackages-local
|
||||
# Explicit javapackages-tools requires since scripts use
|
||||
# /usr/share/java-utils/java-functions
|
||||
Requires: javapackages-tools
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -48,7 +45,7 @@ with JavaCC), actions, debugging, etc.
|
||||
|
||||
%package manual
|
||||
Summary: Manual for %{name}
|
||||
Group: Development/Libraries/Java
|
||||
Group: Documentation/Other
|
||||
|
||||
%description manual
|
||||
Manual for %{name}.
|
||||
@ -63,13 +60,13 @@ Examples for %{name}.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Development/Libraries/Java
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%setup -q
|
||||
|
||||
find ./examples -type f -exec sed -i 's/\r//' {} \;
|
||||
|
||||
@ -82,7 +79,7 @@ ant \
|
||||
jar javadoc
|
||||
|
||||
# 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
|
||||
# jar
|
||||
|
Loading…
Reference in New Issue
Block a user