Bug 1273706

Summary: build: package release in NVR should only be integral
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Milind Changire <mchangir>
Component: relengAssignee: Milind Changire <mchangir>
Status: CLOSED ERRATA QA Contact: Bhaskarakiran <byarlaga>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: asrivast, byarlaga, mzywusko, nlevinki, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.5-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-01 05:43:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1260783    

Description Milind Changire 2015-10-21 05:29:33 UTC
Description of problem:
Upstream glusterfs.spec.in has been changed to prepend a 0. to the release number.
This is not acceptable for the downstream release.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
Downstream release numbering in hte NVR should only be integral
eg. 3.1.2-3
and not 3.1.2-0.3


Additional info:
The glusterfs.spec.in needs to be changed only for downstream.

Comment 3 Milind Changire 2015-10-28 06:36:26 UTC
Release not being integral is not the only problem with the downstream spec file.
Bala brought up the issue of missing DOWNSTREAM ONLY patches.
This BZ is now being used to apply and address patching of downstream glusterfs.spec.in with downstream only patches.

DOWNSTREAM ONLY patches are as follows and need to be applied in the mentioned sequence:
1. build: remove ghost directory entries
   https://code.engineering.redhat.com/gerrit/#/c/60133/

2. build: add RHGS specific changes
   https://code.engineering.redhat.com/gerrit/#/c/60134/
  
3. secalert: remove setuid bit for fusermount-glusterfs
   https://code.engineering.redhat.com/gerrit/#/c/60135/
  
4. build: packaging corrections for RHEL-5
   https://code.engineering.redhat.com/gerrit/#/c/60136/
  
5. build: introduce security hardening flags in gluster
   https://code.engineering.redhat.com/gerrit/#/c/60137/
  
6. spec: fix/add pre-transaction scripts for geo-rep and cli packages
   https://code.engineering.redhat.com/gerrit/#/c/60138/
  
7. rpm: glusterfs-devel for client-builds should not depend on -server
   https://code.engineering.redhat.com/gerrit/#/c/60139/
  
8. build: add pretrans check
   https://code.engineering.redhat.com/gerrit/#/c/60140/
  
9, build: exclude libgfdb.pc conditionally
   https://code.engineering.redhat.com/gerrit/#/c/60141/

Comment 4 Bhaskarakiran 2015-11-02 06:42:25 UTC
This is fixed.

Comment 6 errata-xmlrpc 2016-03-01 05:43:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0193.html