Remove classes and tarballs from the tarball too
This commit is contained in:
parent
3f4a20cc14
commit
81d39e4c12
8
bsf.spec
8
bsf.spec
@ -1,6 +1,6 @@
|
||||
%define name bsf
|
||||
%define version 2.3.0
|
||||
%define release 6jpp_1fc
|
||||
%define release 6jpp_2fc
|
||||
%define section free
|
||||
|
||||
Name: %{name}
|
||||
@ -53,12 +53,13 @@ Group: Development/Documentation
|
||||
Javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
# remove all binary libs
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
find . -name "*.zip" -exec rm -f {} \;
|
||||
find . -name "*.class" -exec rm -f {} \;
|
||||
find . -name "*.tar.gz" -exec rm -f {} \;
|
||||
rmdir $RPM_BUILD_DIR/bsf
|
||||
|
||||
%build
|
||||
@ -111,6 +112,9 @@ fi
|
||||
%ghost %{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Jun 21 2005 Gary Benson <gbenson@redhat.com> 0:2.3.0-6jpp_2fc
|
||||
- Remove classes and tarballs from the tarball too.
|
||||
|
||||
* Wed Jun 15 2005 Gary Benson <gbenson@redhat.com> 0:2.3.0-6jpp_1fc
|
||||
- Build into Fedora.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user