Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=507089





--- Comment #5 from Christoph Wickert <fed...@christoph-wickert.de>  2009-07-16 
19:27:11 EDT ---
One more thing: The rm -rf in %preun is not nice and causes an rpmlint warning.
We should let the package own the file, then rpm will remove it:

%install
...
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run

...
touch $RPM_BUILD_ROOT%{_localstatedir}/run/powerevents

%files
...
%ghost(missingok) %{_localstatedir}/run/powerevents

IMO this is the best solution, but we don't have a guideline for files in
/var/run. On my machine half of the files is owned by a package, the others are
not. I think I should ask packaging committee about this and/or write a
proposal.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@redhat.com
http://www.redhat.com/mailman/listinfo/fedora-package-review

Reply via email to