Bug 837406 - pulp platform will not build on rhel5 due to rpm spec issues
Summary: pulp platform will not build on rhel5 due to rpm spec issues
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: rel-eng
Version: 2.0.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jeff Ortel
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-03 19:14 UTC by wes hayutin
Modified: 2012-07-16 17:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-16 17:39:32 UTC
Embargoed:


Attachments (Terms of Use)

Description wes hayutin 2012-07-03 19:14:58 UTC
Description of problem:

[root@pulp-rhel5 platform]# rpm -q --qf %{name} --specfile /home/jenkins/workspace/pulp-dev-rhel5/platform/pulp.spec
error: Group field must be present in package: pulp-admin-client
error: query of specfile /home/jenkins/workspace/pulp-dev-rhel5/platform/pulp.spec failed, can't parse
[root@pulp-rhel5 platform]# 
[root@pulp-rhel5 platform]# 
[root@pulp-rhel5 platform]# rpm -q --qf %{name} --specfile /home/jenkins/workspace/pulp-dev-rhel5/platform/pulp.spec
error: Group field must be present in package: pulp-consumer-client
error: query of specfile /home/jenkins/workspace/pulp-dev-rhel5/platform/pulp.spec failed, can't parse
[root@pulp-rhel5 platform]# rpm -q --qf %{name} --specfile /home/jenkins/workspace/pulp-dev-rhel5/platform/pulp.spec
error: Group field must be present in package: pulp-agent
error: query of specfile /home/jenkins/workspace/pulp-dev-rhel5/platform/pulp.spec failed, can't parse
[root@pulp-rhel5 platform]# rpm -q --qf %{name} --specfile /home/jenkins/workspace/pulp-dev-rhel5/platform/pulp.spec


root@pulp-rhel5 platform]# git diff pulp.spec 
diff --git a/platform/pulp.spec b/platform/pulp.spec
index 2fec411..bf806e6 100644
--- a/platform/pulp.spec
+++ b/platform/pulp.spec
@@ -148,6 +148,7 @@ rm -rf %{buildroot}
 
 %package server
 Summary: The pulp platform server
+Group: Development/Languages
 Requires: python-%{name}-common = %{version}
 Requires: pymongo >= 1.9
 Requires: python-setuptools
@@ -171,6 +172,7 @@ Requires: mongodb-server
 Requires: qpid-cpp-server
 # RHEL5
 %if 0%{?rhel} == 5
+Group: Development/Languages
 Requires: m2crypto
 Requires: python-uuid
 Requires: python-ssl
@@ -294,6 +296,7 @@ for content, bind and system specific operations.
 
 %package admin-client
 Summary: Admin tool to administer the pulp server
+Group: Development/Languages
 Requires: python-%{name}-common = %{version}
 Requires: python-%{name}-bindings = %{version}
 Requires: python-%{name}-client-lib = %{version}
@@ -319,6 +322,7 @@ synching, and to kick off remote actions on consumers.
 
 %package consumer-client
 Summary: Consumer tool to administer the pulp consumer.
+Group: Development/Languages
 Requires: python-%{name}-common = %{version}
 Requires: python-%{name}-bindings = %{version}
 Requires: python-%{name}-client-lib = %{version}

Comment 1 wes hayutin 2012-07-03 19:25:43 UTC
pulp master.. commit 6432f97bc76fea223455635e88fe07285c118d6c

Comment 2 Jeff Ortel 2012-07-16 17:39:32 UTC
Added Group: to .specs for builtins, rpm-support, and product/* to support RHEL5.
Added BuildRoot to product/* meta-package to support RHEL5.
All packages building on RHEL5.


Note You need to log in before you can comment on or make changes to this bug.