There is a reason we have find-jar and friends
This commit is contained in:
parent
d19d49b6a9
commit
9b7a9006ed
@ -4,7 +4,7 @@
|
||||
Summary: Fast Scanner Generator
|
||||
Name: jflex
|
||||
Version: 1.6.1
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
License: BSD
|
||||
URL: http://jflex.de/
|
||||
BuildArch: noarch
|
||||
@ -61,7 +61,7 @@ This package provides %{summary}.
|
||||
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-surefire-plugin']/pom:configuration" "<argLine>-Xss16384k</argLine>"
|
||||
|
||||
%build
|
||||
java -jar %{_javadir}/java_cup.jar -parser LexParse -interface -destdir src/main/java src/main/cup/LexParse.cup
|
||||
java -jar $(find-jar java_cup) -parser LexParse -interface -destdir src/main/java src/main/cup/LexParse.cup
|
||||
jflex -d src/main/java/jflex --skel src/main/jflex/skeleton.nested src/main/jflex/LexScan.flex
|
||||
%mvn_build
|
||||
|
||||
@ -113,6 +113,9 @@ install -p -m 644 lib/jflex-mode.elc %{buildroot}%{_emacs_sitelispdir}/%{name}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 2 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6.1-8
|
||||
- Don't hardcode java_cup JAR path
|
||||
|
||||
* Wed May 31 2017 Michael Simacek <msimacek@redhat.com> - 1.6.1-7
|
||||
- Replace absolute path with a macro
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user