Manage the %config() case in spec files
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 15 May 2014 09:44:04 +0000 (11:44 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 15 May 2014 09:44:04 +0000 (11:44 +0200)
commit868986adb2fdde3136df354b245d4e2b5d28c507
treea6c7b556bdcdcc88816e153b4cf98cecff8b277e
parent7f142d9d423ca56b5ba42da7e04f541f894d7fe8
Manage the %config() case in spec files

When the %config() macro was encountered in the packaging section of a
spec file, the file wasn't added to the package in the recipe. Also when
more than one macro was found before a file in the packaging section the
file would not be added (usually a %attr() and a %config() macro). This
patch correct both those issues.

Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
tools/spec2yocto.py