Mailinglist Archive: opensuse-packaging (156 mails)

< Previous Next >
Re: [opensuse-packaging] %ghost
  • From: Cristian Morales Vega <cmorve69@xxxxxxxx>
  • Date: Tue, 8 Jun 2010 22:24:20 +0200
  • Message-id: <AANLkTikcQGu0a_MhsytRR8n_A-p7bFd7eSPDAp4A91RE@xxxxxxxxxxxxxx>
2010/6/8 Peter Czanik <pczanik@xxxxxxxxxxxxxx>:
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)
Not sure about how
https://bugzilla.redhat.com/show_bug.cgi?id=495040#c2 was solved. I
suppose that requirement was there because of a good reason.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References