[opensuse-packaging] Looking for help and advice
Dear all, As I'm giving the last steps before start polishing the packaging on the packages required for Unity and Ayatana Indicators, I have some doubts regarding mono, gtk-sharp packaging and package splitting. This package, libappindicator[1] does provide an example for all the other cases where I need to act. Could anyone please take a look into it and check if it's properly splitted and make some advice on it for the bad things? From this example I should be able to workout all the other packages in the same condition, so I can start cleaning up and polishing. Also any interesting documentation on openSUSE mono packaging will be most welcome. [1] - https://build.opensuse.org/package/show?package=libappindicator&project=home:ketheriel:ayatana Thanks in advance, NM -- nelson marques nmo.marques@gmail.com -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, Jan 20, 2011 at 5:22 PM, Nelson Marques
Dear all,
As I'm giving the last steps before start polishing the packaging on the packages required for Unity and Ayatana Indicators, I have some doubts regarding mono, gtk-sharp packaging and package splitting.
This package, libappindicator[1] does provide an example for all the other cases where I need to act. Could anyone please take a look into it and check if it's properly splitted and make some advice on it for the bad things? From this example I should be able to workout all the other packages in the same condition, so I can start cleaning up and polishing.
Also any interesting documentation on openSUSE mono packaging will be most welcome.
[1] - https://build.opensuse.org/package/show?package=libappindicator&project=home:ketheriel:ayatana
Thanks in advance, NM
Nelson, I'm a novice packager myself, but your specfile looks as clean as any I've seen. One question, why do you need both: == %post -n %{name}%{soname} -p /sbin/ldconfig %postun -n %{name}%{soname} -p /sbin/ldconfig == Seems redundant, or a typo, but I've never had to use %post clause yet myself, so ... Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
<snip>
One question, why do you need both:
== %post -n %{name}%{soname} -p /sbin/ldconfig
%postun -n %{name}%{soname} -p /sbin/ldconfig ==
It's a library, when you install/uninstall a library you should run ldconfig (at least that's the reason I'm doing, either way rpmlint will warn you if you need it). NM -- nelson marques nmo.marques@gmail.com -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, 20 Jan 2011 17:39:15 -0500, Greg Freemyer
One question, why do you need both:
== %post -n %{name}%{soname} -p /sbin/ldconfig
%postun -n %{name}%{soname} -p /sbin/ldconfig ==
Seems redundant, or a typo, but I've never had to use %post clause yet myself, so ...
It's not :) ldconfig (at leaast in its main task) adds library locations to the cache for the dynamic loader and removes them if the libraries have been removed. That's why you want to run ldconfig after installation and uninstallation. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Greg Freemyer
-
Nelson Marques
-
Philipp Thomas