Quoting Mark Bidewell (2012-11-30 16:21:20) > On Fri, Nov 30, 2012 at 9:47 AM, Fernando Nasser <fnasser@xxxxxxxxxx> wrote: > > Hi, > > > > Why are you creating these directories in %post in the firs place? > > > > If you create them in %install (empty) and own them regularly in %file and > > do the same on > > the other packages that install thins on it, they will be properly removed > > when the last > > RPM that owns them go away. > > > > Regards, > > Fernando > > I was not aware of %install(empty) where can I find some documentation? rant: ugh, mixing top/bottom posting.... Anyway, what Fernando meant probably: --------- %install .... mkdir %{buildroot}/opt/companydirs ... %file ... %dif /opt/companydirs -------- Done... -- Stanislav Ochotnicky <sochotnicky@xxxxxxxxxx> Software Engineer - Base Operating Systems Brno PGP: 7B087241 Red Hat Inc. http://cz.redhat.com -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel