Bug 764702 (GLUSTER-2970) - RPM packaging does not comply with FHS and Fedora/RedHat Packaging Guidelines
Summary: RPM packaging does not comply with FHS and Fedora/RedHat Packaging Guidelines
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2970
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact: Sachidananda Urs
URL:
Whiteboard:
: GLUSTER-2947 GLUSTER-3677 818839 (view as bug list)
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2011-05-31 22:10 UTC by Joe Julian
Modified: 2013-12-19 00:06 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:56:23 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)
Spec file being used for post-3.1.5qa1 git tree. (18.40 KB, text/x-rpm-spec)
2011-05-31 19:11 UTC, Joe Julian
no flags Details

Description Joe Julian 2011-05-31 19:11:59 UTC
Created attachment 503

Comment 1 Joe Julian 2011-05-31 22:10:58 UTC
I understand your reasoning for wanting to put things in version directories under opt, but this doesn't comply with FHS and Fedora/RedHat packaging guidelines.

Attached is the spec file I'm using for building my yum repo with some tweaks made to Jon's fedora rawhide package (the source rpm with the patches is available at http://joejulian.name/yumrepo/testing/redhat/5/SRPMS/ ) . 

To install the rpm to your opt tree you could simply install with 
 rpm -i --relocate /=/opt/gluster/$VERSION glusterfs-$VERSION.rpm
which should satisfy your debugging requirements.

Comment 2 Amar Tumballi 2011-10-25 03:54:02 UTC
Joe,

Are we complaint with FHS (Fedora/Red Hat) way of building RPMs now, in release-3.2/master branch? If yes, I would like to close this bug. Let me know if you have tried with these two branches.

Regards,
Amar

Comment 3 Harshavardhana 2011-11-07 20:46:39 UTC
(In reply to comment #2)
> Joe,
> 
We are not, but Joe maintains a different repository for that. Joe can you please re-attach your specification file from 3.2.4 build, lets get it pushed in.

Comment 4 Anand Avati 2011-11-24 07:31:00 UTC
CHANGE: http://review.gluster.com/704 (Releases will now require changing the source url in configure.ac) merged in release-3.1 by Anand Avati (avati)

Comment 5 Amar Tumballi 2011-12-20 06:37:32 UTC
As the patches got in, can we close this bug?

Comment 6 Anand Avati 2012-01-27 12:09:59 UTC
CHANGE: http://review.gluster.com/788 (Make volfile-save scriptlet follow .rpmsave convention.) merged in master by Vijay Bellur (vijay)

Comment 7 Anand Avati 2012-02-19 09:34:44 UTC
CHANGE: http://review.gluster.com/701 (Merged in the fedora spec file to bring glusterfs into compliance with FSH and Redhat/Fedora requirements. Created a single spec that works for both 3.1 and 3.2 versions.) merged in master by Vijay Bellur (vijay)

Comment 8 Anand Avati 2012-02-21 12:16:42 UTC
CHANGE: http://review.gluster.com/2785 (build: rpmbuild friendly changes) merged in master by Vijay Bellur (vijay)

Comment 9 Anand Avati 2012-02-21 18:23:28 UTC
CHANGE: http://review.gluster.com/2788 (build: More rpmbuild friendly changes) merged in master by Vijay Bellur (vijay)

Comment 10 Amar Tumballi 2012-02-22 02:21:04 UTC
Considering there are some patches in, I will mark it on QA.

Comment 11 Anand Avati 2012-02-23 07:18:10 UTC
CHANGE: http://review.gluster.com/2797 (build: Changes to specfile for correctness and package relevance.) merged in master by Vijay Bellur (vijay)

Comment 12 Anand Avati 2012-03-29 14:46:19 UTC
CHANGE: http://review.gluster.com/3009 (Save old volfiles in the RPM standard way.) merged in master by Vijay Bellur (vijay)

Comment 13 Csaba Henk 2012-04-18 11:00:17 UTC
*** Bug 764679 has been marked as a duplicate of this bug. ***

Comment 14 Anand Avati 2012-05-10 22:18:44 UTC
CHANGE: http://review.gluster.com/3308 (build: Include protocol/server* shared libraries in the glusterfs-server rpm) merged in master by Anand Avati (avati)

Comment 15 Joe Julian 2012-05-27 17:42:41 UTC
*** Bug 765409 has been marked as a duplicate of this bug. ***

Comment 16 Joe Julian 2012-05-27 17:57:20 UTC
*** Bug 818839 has been marked as a duplicate of this bug. ***

Comment 17 Vijay Bellur 2013-02-07 21:13:27 UTC
CHANGE: http://review.gluster.org/702 (Merged in the fedora spec file to bring glusterfs into compliance with FSH and Redhat/Fedora requirements. Created a single spec that works for both 3.1 and 3.2 versions.) merged in release-3.2 by Anand Avati (avati)


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