Compare commits
No commits in common. "c8-beta-stream-201801" and "c8-stream-201902" have entirely different histories.
c8-beta-st
...
c8-stream-
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: java_cup
|
Name: java_cup
|
||||||
Version: 0.11b
|
Version: 0.11b
|
||||||
Release: 8%{?dist}
|
Release: 10%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: LALR parser generator for Java
|
Summary: LALR parser generator for Java
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -22,9 +22,7 @@ Patch0: %{name}-build.patch
|
|||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: jflex
|
BuildRequires: jflex
|
||||||
%if ! %{with_bootstrap}
|
|
||||||
BuildRequires: java_cup >= 1:0.11a
|
BuildRequires: java_cup >= 1:0.11a
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -46,23 +44,21 @@ Documentation for java_cup.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -b .build
|
%patch0 -b .build
|
||||||
|
|
||||||
|
sed -i '/<javac/s/1.5/1.6/g' build.xml
|
||||||
|
|
||||||
# remove all binary files
|
# remove all binary files
|
||||||
find -name "*.class" -delete
|
find -name "*.class" -delete
|
||||||
|
|
||||||
%mvn_file ':{*}' @1
|
%mvn_file ':{*}' @1
|
||||||
|
|
||||||
%if ! %{with_bootstrap}
|
|
||||||
# remove prebuilt JFlex
|
# remove prebuilt JFlex
|
||||||
rm -rf java_cup-%{version}/bin/JFlex.jar
|
rm -rf java_cup-%{version}/bin/JFlex.jar
|
||||||
|
|
||||||
# remove prebuilt java_cup, if not bootstrapping
|
# remove prebuilt java_cup, if not bootstrapping
|
||||||
rm -rf java_cup-%{version}/bin/java-cup-11.jar
|
rm -rf java_cup-%{version}/bin/java-cup-11.jar
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if ! %{with_bootstrap}
|
|
||||||
export CLASSPATH=$(build-classpath java_cup java_cup-runtime jflex)
|
export CLASSPATH=$(build-classpath java_cup java_cup-runtime jflex)
|
||||||
%endif
|
|
||||||
|
|
||||||
ant -Dcupversion=20150326 -Dsvnversion=65
|
ant -Dcupversion=20150326 -Dsvnversion=65
|
||||||
find -name parser.cup -delete
|
find -name parser.cup -delete
|
||||||
@ -90,6 +86,12 @@ jar ufm dist/java-cup-%{pkg_version}-runtime.jar %{SOURCE4}
|
|||||||
%license licence.txt
|
%license licence.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.11b-10
|
||||||
|
- Mass rebuild for javapackages-tools 201902
|
||||||
|
|
||||||
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:0.11b-9
|
||||||
|
- Mass rebuild for javapackages-tools 201901
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.11b-8
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.11b-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user