[ https://issues.apache.org/jira/browse/THRIFT-2309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell closed THRIFT-2309. -------------------------------- Resolution: Fixed Assignee: Nevo Hed patch did not apply cleanly to trunk, fixed issues and committed, thanks for the patch > Ruby (gem) & PHP RPM subpackages > -------------------------------- > > Key: THRIFT-2309 > URL: https://issues.apache.org/jira/browse/THRIFT-2309 > Project: Thrift > Issue Type: Improvement > Components: Build Process, PHP - Library, Ruby - Library > Affects Versions: 0.9.1 > Environment: RHEL, Centos, Fedora, ... > Reporter: Nevo Hed > Assignee: Nevo Hed > Priority: Minor > Fix For: 0.9.2 > > Attachments: x.patch > > > While a thrift gem is currently provided, many prefer to install gems that > are encapsulated in an RPM. This provides deployment consistency with other > components of their system. > Also noticed that a full rpmbuild run (where php is installed on the build > machine) would break as it will attempt to install the php files into the > system itself (rather than the build-root, requiring elevated permissions) > Detailed list - > Support packaging ruby RPM (as a rubygem) > + Following convention for packaging gems as RPMs > by naming the subpackage as rubygem-thrift > https://fedoraproject.org/wiki/Packaging:Ruby?rd=Packaging/Ruby#RubyGems > + Includes one obsoletes statement but various builders may have used > different names for previously built ruby lib RPMs, so more may > need to be added. > + Set a local GEM_HOME during build/install stages so that the gems > installed during the build will be tossed and no root access will > be required for the build > + Set RUBYLIB to first search the local (./lib/rb) path to prevent > conflicts with other versions of thrift that may be installed on > the build machine. > Support for packaging php RPM > + New sub-backage to house the results of "make install" of lib/php > + Set PHP_PREFIX in configure to be in the build root -- This message was sent by Atlassian JIRA (v6.1.5#6160)