Remove jarfiles and zipfiles from the tarball

This commit is contained in:
gbenson 2005-06-08 17:00:36 +00:00
parent b7d15928c6
commit 591948a087
3 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
bsf-src-2.3.0.tar.gz bsf-src-2.3.0-RHCLEAN.tar.bz2
bsf-2.3.0 bsf-2.3.0
noarch noarch
*.src.rpm *.src.rpm

View File

@ -11,7 +11,7 @@ Summary: Bean Scripting Framework
License: Apache License License: Apache License
Url: http://jakarta.apache.org/bsf/ Url: http://jakarta.apache.org/bsf/
Group: Development/Libraries/Java Group: Development/Libraries/Java
Source0: http://jakarta.apache.org/builds/jakarta-%{name}/dev/v%{version}/src/%{name}-src-%{version}.tar.gz Source0: %{name}-src-%{version}-RHCLEAN.tar.bz2
Patch1: bsf-javac.patch Patch1: bsf-javac.patch
BuildRequires: ant BuildRequires: ant
BuildRequires: servletapi5 BuildRequires: servletapi5
@ -58,6 +58,7 @@ rm -rf $RPM_BUILD_ROOT
%patch1 -p1 %patch1 -p1
# remove all binary libs # remove all binary libs
find . -name "*.jar" -exec rm -f {} \; find . -name "*.jar" -exec rm -f {} \;
find . -name "*.zip" -exec rm -f {} \;
rmdir $RPM_BUILD_DIR/bsf rmdir $RPM_BUILD_DIR/bsf
%build %build
@ -110,6 +111,9 @@ fi
%ghost %{_javadocdir}/%{name} %ghost %{_javadocdir}/%{name}
%changelog %changelog
* Wed Jun 8 2005 Gary Benson <gbenson@redhat.com>
- Remove jarfiles and zipfiles from the tarball.
* Thu Jun 2 2005 Gary Benson <gbenson@redhat.com> * Thu Jun 2 2005 Gary Benson <gbenson@redhat.com>
- Build without Jython or Rhino for now. - Build without Jython or Rhino for now.
- Build with servletapi5. - Build with servletapi5.

View File

@ -1 +1 @@
78bae3747ca5734bb7554eed6868b7da bsf-src-2.3.0.tar.gz 312b60dbc9b570f8c93ccfea49de8940 bsf-src-2.3.0-RHCLEAN.tar.bz2