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 name bsf
|
||||||
%define version 2.3.0
|
%define version 2.3.0
|
||||||
%define release 6jpp_1fc
|
%define release 6jpp_2fc
|
||||||
%define section free
|
%define section free
|
||||||
|
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
@ -53,12 +53,13 @@ Group: Development/Documentation
|
|||||||
Javadoc for %{name}.
|
Javadoc for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
%setup -q
|
%setup -q
|
||||||
%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 {} \;
|
find . -name "*.zip" -exec rm -f {} \;
|
||||||
|
find . -name "*.class" -exec rm -f {} \;
|
||||||
|
find . -name "*.tar.gz" -exec rm -f {} \;
|
||||||
rmdir $RPM_BUILD_DIR/bsf
|
rmdir $RPM_BUILD_DIR/bsf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -111,6 +112,9 @@ fi
|
|||||||
%ghost %{_javadocdir}/%{name}
|
%ghost %{_javadocdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 15 2005 Gary Benson <gbenson@redhat.com> 0:2.3.0-6jpp_1fc
|
||||||
- Build into Fedora.
|
- Build into Fedora.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user