Remove classes from the tarball

f38
gbenson 20 years ago
parent 299828871d
commit c5311034ea

@ -1,4 +1,4 @@
java_cup_v10k.tar.gz
java_cup_v10k-RHCLEAN.tar.bz2
java_cup-0.10
noarch
*.src.rpm

@ -1,7 +1,7 @@
%define name java_cup
%define version 0.10
%define pkg_version v10k
%define release 0.k.1jpp_2fc
%define release 0.k.1jpp_3fc
%define section free
Name: %{name}
@ -11,15 +11,13 @@ Epoch: 1
Summary: Java source interpreter
License: BSD-style
Url: http://www.cs.princeton.edu/%7Eappel/modern/java/CUP/
Source0: http://www.cs.princeton.edu/%7Eappel/modern/java/CUP/java_cup_v10k.tar.gz
Source0: java_cup_v10k-RHCLEAN.tar.bz2
Source1: %{name}-build.xml
BuildRequires: ant
BuildRequires: jpackage-utils >= 0:1.5
Group: Development/Java
Buildarch: noarch
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
#Distribution: JPackage
#Vendor: JPackage Project
# RHEL3 and FC2
Obsoletes: cup <= 0:v10k
@ -41,9 +39,12 @@ Group: Development/Java
Documentation for java_cup.
%prep
%setup -c -n %{name}-%{version}
%setup -q -c -n %{name}-%{version}
install -m 644 %{SOURCE1} build.xml
# remove all binary files
find . -name "*.class" -exec rm -f {} \;
%build
ant
ant javadoc
@ -88,6 +89,9 @@ fi
%ghost %doc %{_javadocdir}/%{name}
%changelog
* Tue Jun 21 2005 Gary Benson <gbenson@redhat.com> 1:0.10-0.k.1jpp_3fc
- Remove classes from the tarball.
* Thu Nov 4 2004 Gary Benson <gbenson@redhat.com> 1:0.10-0.k.1jpp_2fc
- Build into Fedora.

@ -1 +1 @@
8b11edfec13c590ea443d0f0ae0da479 java_cup_v10k.tar.gz
61ce88d145f2e22e53b90e3d8d85fb63 java_cup_v10k-RHCLEAN.tar.bz2

Loading…
Cancel
Save