From c5311034eac4e95549f209fcb64dc504c9788b49 Mon Sep 17 00:00:00 2001 From: gbenson Date: Tue, 21 Jun 2005 15:12:36 +0000 Subject: [PATCH] Remove classes from the tarball --- .cvsignore | 2 +- java_cup.spec | 14 +++++++++----- sources | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.cvsignore b/.cvsignore index 44a0505..52d4805 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,4 +1,4 @@ -java_cup_v10k.tar.gz +java_cup_v10k-RHCLEAN.tar.bz2 java_cup-0.10 noarch *.src.rpm diff --git a/java_cup.spec b/java_cup.spec index cff1bb3..9a8ffa9 100644 --- a/java_cup.spec +++ b/java_cup.spec @@ -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 1:0.10-0.k.1jpp_3fc +- Remove classes from the tarball. + * Thu Nov 4 2004 Gary Benson 1:0.10-0.k.1jpp_2fc - Build into Fedora. diff --git a/sources b/sources index c6d5f81..eb926d5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8b11edfec13c590ea443d0f0ae0da479 java_cup_v10k.tar.gz +61ce88d145f2e22e53b90e3d8d85fb63 java_cup_v10k-RHCLEAN.tar.bz2