SPECS (RPM): test.spec - test rpm/poldek caps

glen glen at pld-linux.org
Tue Jun 19 13:06:33 CEST 2007


Author: glen                         Date: Tue Jun 19 11:06:33 2007 GMT
Module: SPECS                         Tag: RPM
---- Log message:
- test rpm/poldek caps

---- Files affected:
SPECS:
   test.spec (1.16.4.66 -> 1.16.4.66.2.1) 

---- Diffs:

================================================================
Index: SPECS/test.spec
diff -u SPECS/test.spec:1.16.4.66 SPECS/test.spec:1.16.4.66.2.1
--- SPECS/test.spec:1.16.4.66	Tue Apr 10 23:56:56 2007
+++ SPECS/test.spec	Tue Jun 19 13:06:28 2007
@@ -1,15 +1,13 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.java
 Summary:	test package to run COMMAND like commands on builder :/
-Name:		test.foobar
-Version:	8.56
-Release:	0.6
+Name:		test
+Version:	8.57
+Release:	0.10
 License:	GPL
-Source0:	http://dl.sourceforge.net/junit/junit4.1.zip
-# Source0-md5:	e66d3e77c70b3297f2c6a12990fc3120
-Source1:	Test.java
 Group:		Applications/System
-BuildRequires:	rpm-javaprov
+Requires:	uname(release) >= 2.6.12
+Suggests:	uname(release) >= 2.6.12
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -17,26 +15,13 @@
 this package should be never installed.
 
 %prep
-%setup -q -n junit4.1
-cp %{SOURCE1} Test.java
-
-%build
-%javac Test.java
+%setup -qcT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%install
-rm -rf $RPM_BUILD_ROOT
-install -D junit-4.1.jar $RPM_BUILD_ROOT%{_javadir}/junit.jar
-install Test.class $RPM_BUILD_ROOT%{_javadir}
-install -D /bin/true $RPM_BUILD_ROOT%{_bindir}/untrue
-
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/untrue
-%{_javadir}/*.jar
-%{_javadir}/*.class
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -44,11 +29,6 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.16.4.66  2007/04/10 21:56:56  glen
-- BR: rpm-javaprov
-
-Revision 1.16.4.65  2007/04/10 21:24:21  glen
-- install one ELF binary too
+Revision 1.16.4.66.2.1  2007/06/19 11:06:28  glen
+- test rpm/poldek caps
 
-Revision 1.16.4.64  2007/04/10 21:06:24  glen
-- test java deps
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/test.spec?r1=1.16.4.66&r2=1.16.4.66.2.1&f=u



More information about the pld-cvs-commit mailing list