[CentOS-devel] CentOS comps duplicates and cleanup

Tuomo Soini tis at foobar.fi
Fri Sep 19 14:01:53 UTC 2014


CentOS comps files have duplicate entries.

On fedora documentation there is example how to clean up comps file:

http://fedoraproject.org/wiki/How_to_use_and_edit_comps.xml_for_package_groups#How_to_edit_comps

comps-cleanup.xsl in comps-extras package is unfortunately not
complete and removes necessary <environment> tags.

There is a better version in fedora git:

https://git.fedorahosted.org/cgit/comps.git/tree/

But that introduces minor disorder of the fields in the file. I
attached here cleaned up version which produces correct alphabetic
order.

-- 
Tuomo Soini <tis at foobar.fi>
Foobar Linux services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comps-cleanup.xsl
Type: application/xml
Size: 9201 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140919/c4beb3dc/attachment.xsl>


More information about the CentOS-devel mailing list