From 9f8bd7d95a876fde1307a3793fbab08cd4649ebb Mon Sep 17 00:00:00 2001 From: gbenson Date: Wed, 22 Jun 2005 09:11:11 +0000 Subject: [PATCH] Remove classes and jarfiles from the tarball --- .cvsignore | 2 +- junit.spec | 16 ++++++++++------ sources | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.cvsignore b/.cvsignore index 9a4dfbb..6bdd50d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,4 +1,4 @@ -junit3.8.1.zip +junit3.8.1-RHCLEAN.zip junit3.8.1 noarch *.src.rpm diff --git a/junit.spec b/junit.spec index a7c1c09..b69546f 100644 --- a/junit.spec +++ b/junit.spec @@ -1,6 +1,6 @@ %define name junit %define version 3.8.1 -%define release 3jpp_4fc +%define release 3jpp_5fc %define section free Name: %{name} @@ -11,9 +11,7 @@ Summary: Java regression test package License: IBM Public License Url: http://www.junit.org/ Group: Development/Testing -#Vendor: JPackage Project -#Distribution: JPackage -Source: http://osdn.dl.sourceforge.net/junit/junit3.8.1.zip +Source: junit3.8.1-RHCLEAN.zip BuildRequires: ant BuildRequires: jpackage-utils >= 0:1.5 BuildRequires: coreutils @@ -50,9 +48,12 @@ Demonstrations and samples for %{name}. %prep rm -rf $RPM_BUILD_ROOT -%setup -n %{name}%{version} +%setup -q -n %{name}%{version} # 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 ant dist @@ -103,6 +104,9 @@ fi %{_datadir}/%{name}/* %changelog +* Wed Jun 22 2005 Gary Benson 0:3.8.1-3jpp_5fc +- Remove classes and jarfiles from the tarball. + * Tue Jan 11 2005 Gary Benson 0:3.8.1-3jpp_4fc - Reenable building of classes that require javax.swing (#130006). - Sync with RHAPS. diff --git a/sources b/sources index 92e383f..d417d03 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5110326e4b7f7497dfa60ede4b626751 junit3.8.1.zip +da35d7c6c38a728c473579af7d4f35e7 junit3.8.1-RHCLEAN.zip