<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE> [Mageia-dev] Ownership of /usr/share/man/XX, %find_lang --with-man </TITLE> <LINK REL="Index" HREF="index.html" > <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Ownership%20of%20/usr/share/man/XX%2C%0A%09%25find_lang%20--with-man&In-Reply-To=%3C4E21D1D9.2020902%40laposte.net%3E"> <META NAME="robots" CONTENT="index,nofollow"> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <LINK REL="Previous" HREF="006720.html"> <LINK REL="Next" HREF="006508.html"> </HEAD> <BODY BGCOLOR="#ffffff"> <H1>[Mageia-dev] Ownership of /usr/share/man/XX, %find_lang --with-man</H1> <B>andre999</B> <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Ownership%20of%20/usr/share/man/XX%2C%0A%09%25find_lang%20--with-man&In-Reply-To=%3C4E21D1D9.2020902%40laposte.net%3E" TITLE="[Mageia-dev] Ownership of /usr/share/man/XX, %find_lang --with-man">andr55 at laposte.net </A><BR> <I>Sat Jul 16 20:00:57 CEST 2011</I> <P><UL> <LI>Previous message: <A HREF="006720.html">[Mageia-dev] Ownership of /usr/share/man/XX, %find_lang --with-man </A></li> <LI>Next message: <A HREF="006508.html">[Mageia-dev] [101505] Revert rpm5 stuffs and sync with fedora </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#6787">[ date ]</a> <a href="thread.html#6787">[ thread ]</a> <a href="subject.html#6787">[ subject ]</a> <a href="author.html#6787">[ author ]</a> </LI> </UL> <HR> <!--beginarticle--> <PRE>Michael Scherer a écrit : ><i> </I>><i> Le samedi 09 juillet 2011 à 14:46 +0200, Samuel Verschelde a écrit : </I>>><i> I used the --with-man option of the %find_lang RPM macro, but noticed that it </I>>><i> adds all /usr/share/man/XX and /usr/share/man/XX/manX directories to the </I>>><i> package, which, it seems, is bad. </I>>><i> </I>>><i> Spturtle noticed that for example /usr/share/man/sr belongs to no other </I>>><i> package and prefers that it belongs to too much packages than to no package at </I>>><i> all. </I>>><i> </I>>><i> I looked at what fedora does, and it looks like they added all those </I>>><i> translated manpages dirs to the filesystem package ( see </I>>><i> <A HREF="http://sophie.zarb.org/explorer/usr/share/man/sr">http://sophie.zarb.org/explorer/usr/share/man/sr</A> and select fedora ) </I>>><i> It would solve the problem at hand and we could start cleaning wrong </I>>><i> ownerships, such as those : </I>>><i> <A HREF="http://sophie.zarb.org/explorer/usr/share/man/fr">http://sophie.zarb.org/explorer/usr/share/man/fr</A> (select mageia) </I>><i> </I>><i> Filesystem sound the logical place to put everything. </I>><i> The real problem is to find the canonical list of supported languages. </I> It seems to me that we should treat all languages the same. But not create directories/assign ownership for languages not on the user's system. So that would mean assigning ownership (to filesystem) when an arbitrary new language is added, or systematically denying ownership for all such directories. (If readily done, assigning to filesystem does sound better.) Either way I think the build system could play a role in this. And maybe rpmlint. Since I don't know how ownership is stored, nor how ownership is now assigned for such directories, I don't know how we would implement this. But it might be an idea, once we decide what to do (depending on what is workable), that we have a utility that will clean the users' package database, to conform to our new rules. Another 2 cents. -- André </PRE> <!--endarticle--> <HR> <P><UL> <!--threads--> <LI>Previous message: <A HREF="006720.html">[Mageia-dev] Ownership of /usr/share/man/XX, %find_lang --with-man </A></li> <LI>Next message: <A HREF="006508.html">[Mageia-dev] [101505] Revert rpm5 stuffs and sync with fedora </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#6787">[ date ]</a> <a href="thread.html#6787">[ thread ]</a> <a href="subject.html#6787">[ subject ]</a> <a href="author.html#6787">[ author ]</a> </LI> </UL> <hr> <a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev mailing list</a><br> </body></html>