On Fri, Nov 30, 2012 at 10:54 PM, Adam Williamson <awilliam@xxxxxxxxxx> wrote:
On Fri, 2012-11-30 at 17:24 +0100, Nicolas Mailhot wrote:Or for bonus points, the app itself ought to create the directories in
> Le Ven 30 novembre 2012 15:11, Mark Bidewell a écrit :
> > I have been working on packaging software into RPMs for my company. These
> > RPMs create directories in %post into which dependent RPMs install
> > components.
>
> You need to create those directories in %install and have your package own
> them in %files, and have dependant rpms depend on your package then
> everything will work fine
the first place, if they're associated with the app. Packages should
only create directories for stuff that's added as part of the package,
not part of the software per se - say, you're including a convenience
script which is not upstream, or moving the icons around, or something.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Here is the setup we have.
1) An RPM which creates a raw JBoss install
2) An RPM which sets up a specialized server config (based on the default config from 1) with common configuration
3) RPMs containing WARs (and configuration).
The reason we encounter the CentOS 5 bug is that the when the RPM in 2 uninstalls, it removes the server config and with it the WARs from 3. Is there a better way?
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel