Remove classes from the tarball
This commit is contained in:
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.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user