Hi, I want to create a file in /var/log when my package is installed. How can this be specified in the spec file for the package?
Regards,. Saurabh
On Tuesday 2012-12-25 07:24, Saurabh Sood wrote:
Hi, I want to create a file in /var/log when my package is installed. How can this be specified in the spec file for the package?
Name it in the %files section?
No, if you name it in %file, it has to be delivered as part of the RPM.
Instead, check out the %ghost directive.
On 12/26/2012 11:59 PM, Jan Engelhardt wrote:
On Tuesday 2012-12-25 07:24, Saurabh Sood wrote:
Hi, I want to create a file in /var/log when my package is installed. How can this be specified in the spec file for the package?
Name it in the %files section?
buildservice@lists.opensuse.org