On Tue, Jun 08, 2010 at 10:24:20PM +0200, Cristian Morales Vega wrote:
2010/6/8 Peter Czanik
: Hello,
As part of /var/run preparations, I rewrote my package (syslog-ng) to use %ghost for the /var/run/syslog-ng directory. It works nicely with factory, but fails badly for openSUSE 11.2.
The spec file is at: https://build.opensuse.org/package/view_file?file=syslog-ng.spec&package=syslog-ng&project=home%3Aczanik%3Abranches%3ABase%3ASystem
And the build logs for 11.2 are available at: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=syslog-ng&project=home%3Aczanik%3Abranches%3ABase%3ASystem&repository=openSUSE_11.2
Are there any suggestions how to work around this problem? I'd also like to provide packages for 11.2 later on...
It's because in pre-4.8.0 versions of rpm ghost files needed to exist. You can just touch it (http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html)
If it's supposed to be a directory, do not touch a file but create a directory. M. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org