Bug 837406 - pulp platform will not build on rhel5 due to rpm spec issues
pulp platform will not build on rhel5 due to rpm spec issues
Status: CLOSED NOTABUG
Product: Pulp
Classification: Community
Component: rel-eng (Show other bugs)
2.0.6
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Jeff Ortel
Preethi Thomas
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-03 15:14 EDT by wes hayutin
Modified: 2012-07-16 13:39 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-07-16 13:39:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description wes hayutin 2012-07-03 15:14:58 EDT
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 15:25:43 EDT
pulp master.. commit 6432f97bc76fea223455635e88fe07285c118d6c
Comment 2 Jeff Ortel 2012-07-16 13:39:32 EDT
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.