OSCAR Port to CentOS-6.2 step 4

I've just modified apitest for el6.
The only issue with el6 is that python-2.6 includes element-tree by default.
The we need a conditional build-require in the spec file.
I've also updated build.cfg (oscar/packages/apitest)

See attachments.

Regards,

--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
Index: packages/apitest/SRPMS/apitest.cfg
===================================================================
--- packages/apitest/SRPMS/apitest.cfg	(révision 9443)
+++ packages/apitest/SRPMS/apitest.cfg	(copie de travail)
@@ -1 +1 @@
-source = wget, http://www.csm.ornl.gov/srt/downloads/oscar/apitest-1.0.0-12.2.src.rpm
+source = wget, http://www.csm.ornl.gov/srt/downloads/oscar/apitest-1.0.0-12.3.src.rpm
Index: packages/apitest/SRPMS/build.cfg
===================================================================
--- packages/apitest/SRPMS/build.cfg	(révision 9443)
+++ packages/apitest/SRPMS/build.cfg	(copie de travail)
@@ -9,12 +9,19 @@
 requires: apitest:python-twisted
 apitest --target noarch
 
-[rhel:*:*]
+[rhel:3|4|5:*]
 requires: python-devel
+requires: python-elementtree
 python-twisted-1.3.0
 requires: apitest:python-twisted
 apitest --target noarch
 
+[rhel:6:*]
+requires: python-devel
+python-twisted-1.3.0
+requires: apitest:python-twisted
+apitest --target noarch
+
 [fc:*:*]
 requires: python-devel
 requires: python-twisted

Attachment: apitest-1.0.0.spec
Description: apitest-1.0.0.spec

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to