Remove classes and jarfiles from the tarball

This commit is contained in:
gbenson 2005-06-22 09:11:11 +00:00
parent 8501d08b03
commit 9f8bd7d95a
3 changed files with 12 additions and 8 deletions

View File

@ -1,4 +1,4 @@
junit3.8.1.zip junit3.8.1-RHCLEAN.zip
junit3.8.1 junit3.8.1
noarch noarch
*.src.rpm *.src.rpm

View File

@ -1,6 +1,6 @@
%define name junit %define name junit
%define version 3.8.1 %define version 3.8.1
%define release 3jpp_4fc %define release 3jpp_5fc
%define section free %define section free
Name: %{name} Name: %{name}
@ -11,9 +11,7 @@ Summary: Java regression test package
License: IBM Public License License: IBM Public License
Url: http://www.junit.org/ Url: http://www.junit.org/
Group: Development/Testing Group: Development/Testing
#Vendor: JPackage Project Source: junit3.8.1-RHCLEAN.zip
#Distribution: JPackage
Source: http://osdn.dl.sourceforge.net/junit/junit3.8.1.zip
BuildRequires: ant BuildRequires: ant
BuildRequires: jpackage-utils >= 0:1.5 BuildRequires: jpackage-utils >= 0:1.5
BuildRequires: coreutils BuildRequires: coreutils
@ -50,9 +48,12 @@ Demonstrations and samples for %{name}.
%prep %prep
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%setup -n %{name}%{version} %setup -q -n %{name}%{version}
# extract sources # extract sources
jar xvf src.jar jar xf src.jar
# clean binary files
find . -name "*.jar" -exec rm -f {} \;
find . -name "*.class" -exec rm -f {} \;
%build %build
ant dist ant dist
@ -103,6 +104,9 @@ fi
%{_datadir}/%{name}/* %{_datadir}/%{name}/*
%changelog %changelog
* Wed Jun 22 2005 Gary Benson <gbenson@redhat.com> 0:3.8.1-3jpp_5fc
- Remove classes and jarfiles from the tarball.
* Tue Jan 11 2005 Gary Benson <gbenson@redhat.com> 0:3.8.1-3jpp_4fc * Tue Jan 11 2005 Gary Benson <gbenson@redhat.com> 0:3.8.1-3jpp_4fc
- Reenable building of classes that require javax.swing (#130006). - Reenable building of classes that require javax.swing (#130006).
- Sync with RHAPS. - Sync with RHAPS.

View File

@ -1 +1 @@
5110326e4b7f7497dfa60ede4b626751 junit3.8.1.zip da35d7c6c38a728c473579af7d4f35e7 junit3.8.1-RHCLEAN.zip