Re: Yum Package Remove Order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/02/2012 03:46 AM, Mark Bidewell wrote:
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:
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

Or for bonus points, the app itself ought to create the directories in
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?

The ancient rpm on CentOS 5 doesn't know how to order erasures, no amount of fiddling with dependencies can cure that. This also has little to do with Fedora development...

	- Panu -
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux