Bug 764702 (GLUSTER-2970)
Summary: | RPM packaging does not comply with FHS and Fedora/RedHat Packaging Guidelines | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Joe Julian <joe> | ||||
Component: | build | Assignee: | Amar Tumballi <amarts> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Sachidananda Urs <sac> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | mainline | CC: | csaba, fharshav, gluster-bugs, vraman | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-07-24 17:56:23 UTC | Type: | --- | ||||
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: | 817967 | ||||||
Attachments: |
|
Description
Joe Julian
2011-05-31 19:11:59 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. 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 (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. 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) As the patches got in, can we close this bug? CHANGE: http://review.gluster.com/788 (Make volfile-save scriptlet follow .rpmsave convention.) merged in master by Vijay Bellur (vijay) 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) CHANGE: http://review.gluster.com/2785 (build: rpmbuild friendly changes) merged in master by Vijay Bellur (vijay) CHANGE: http://review.gluster.com/2788 (build: More rpmbuild friendly changes) merged in master by Vijay Bellur (vijay) Considering there are some patches in, I will mark it on QA. CHANGE: http://review.gluster.com/2797 (build: Changes to specfile for correctness and package relevance.) merged in master by Vijay Bellur (vijay) CHANGE: http://review.gluster.com/3009 (Save old volfiles in the RPM standard way.) merged in master by Vijay Bellur (vijay) *** Bug 764679 has been marked as a duplicate of this bug. *** CHANGE: http://review.gluster.com/3308 (build: Include protocol/server* shared libraries in the glusterfs-server rpm) merged in master by Anand Avati (avati) *** Bug 765409 has been marked as a duplicate of this bug. *** *** Bug 818839 has been marked as a duplicate of this bug. *** 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) |