Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 9th, 2007, 12:15 AM
bwooster47@gmail.com
Guest
 
Posts: n/a
Default Extend distutils bdist_rpm to support %config?

Is there any way to get the functionality of the %config RPM directive
using python distutils?

http://www.rpm.org/max-rpm/s1-rpm-in...irectives.html

%config /etc/foonly

This will save the current file as fooonly.rpmsave if the file is
different from the one in the package, so users can prevent their
changes from being lost.

I looked at the distutils/command/bdist_rpm.py, it supports creation
of the %files keyword, but I did not see anything about %config,
presumably because distutils does not support that "config file
install" concept of RPM? Is there any other way to get this done using
distutils, for a setup.py that installs a python script (not a module)?

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles