forked from pool/javacc-maven-plugin
Compare commits
10 Commits
1fe024e9d8
...
9430d0d578
Author | SHA256 | Date | |
---|---|---|---|
9430d0d578 | |||
86aa3f2481 | |||
65e8024db2 | |||
e5d0805f4d | |||
b7ef60d7b3 | |||
47d97773a8 | |||
5b6e22e633 | |||
53e27db854 | |||
d2ef80896e | |||
4daf9c8c7b |
24
javacc-maven-plugin.changes
Normal file
24
javacc-maven-plugin.changes
Normal file
@@ -0,0 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 10:45:39 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 25 09:36:52 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Remove dependency on maven2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 12:22:49 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with java source and target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 6 12:08:41 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Avoid name repetition in summary.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 14:53:34 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Initial packaging of javacc-maven-plugin 2.6
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package javacc-maven-plugin
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +19,7 @@
|
||||
Name: javacc-maven-plugin
|
||||
Version: 2.6
|
||||
Release: 0
|
||||
Summary: JavaCC Maven Plugin
|
||||
Summary: Maven Plugin for processing JavaCC grammar files
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Java
|
||||
URL: http://mojo.codehaus.org/javacc-maven-plugin/
|
||||
@@ -29,6 +29,7 @@ Source0: javacc-maven-plugin-2.6.tar.bz2
|
||||
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
Patch0: javacc-maven-plugin-pom.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(net.java.dev.javacc:javacc)
|
||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-sink-api)
|
||||
@@ -36,9 +37,9 @@ BuildRequires: mvn(org.apache.maven.doxia:doxia-site-renderer)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-api)
|
||||
BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-impl)
|
||||
BuildRequires: mvn(org.apache.maven:maven-core)
|
||||
BuildRequires: mvn(org.apache.maven:maven-model)
|
||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||
BuildRequires: mvn(org.apache.maven:maven-project)
|
||||
BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
BuildArch: noarch
|
||||
@@ -55,11 +56,19 @@ API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -b .sav
|
||||
%patch -P 0 -b .sav
|
||||
cp -p %{SOURCE1} .
|
||||
|
||||
# migrate to maven 3
|
||||
%pom_xpath_set pom:prerequisites/pom:maven 3.8.6
|
||||
%pom_change_dep :maven-project :maven-core
|
||||
|
||||
%build
|
||||
%{mvn_build} -f -- -Dsource=6
|
||||
%{mvn_build} -f -- \
|
||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||
-Dmaven.compiler.release=8 \
|
||||
%endif
|
||||
-Dsource=8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
Reference in New Issue
Block a user