[Trac-tickets] Re: [The Trac Project] #163: RPM package

The Trac Project noreply at edgewall.com
Wed Mar 2 19:08:18 EST 2005


#163: RPM package
---------------------+------------------------------------------------------
       Id:  163      |      Status:  new                     
Component:  general  |    Modified:  Wed Mar  2 19:08:16 2005
 Severity:  normal   |   Milestone:  0.9                     
 Priority:  high     |     Version:  devel                   
    Owner:           |    Reporter:  daniel                  
---------------------+------------------------------------------------------
Comment (by Mark Rowe <edgewall.com at bdash.net.nz>):

 The following patch should resolve the problem, but it relies on a private
 distutils API.  The API in question hasn't changed in the 5 years since it
 was added, so it is relatively safe:

 {{{
 Index: setup.py
 ===================================================================
 --- setup.py    (revision 1301)
 +++ setup.py    (working copy)
 @@ -179,6 +179,7 @@
          for distro in rpm_distros.keys():
              r = generic_bdist_rpm(self.dist, distro)
              r.initialize_options()
 +            self.dist._set_command_options(r,
 self.dist.command_options['bdist_rpm'])
              r.finalize_options()
              r.run()
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/163>
The Trac Project <>


More information about the Trac-Tickets mailing list