Re: macrofied kernel.spec

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

 



On Wed, Aug 01, 2007 at 02:15:15PM -0400, Dave Jones wrote:
<snip>
> 
> Do -debuginfo packages for variants get produced automatically?
> 
> I'm assuming yes based on this part of the macro..
> 
>  > +%if %{with_debuginfo}\
>  > +%ifnarch noarch\
>  > +%{expand:%%files %{?2:%{2}-}debuginfo}\
>  > +%defattr(-,root,root)\
>  > +%if "%{elf_image_install_path}" != ""\
>  > +%{debuginfodir}/%{elf_image_install_path}/*-%{KVERREL}%{?2}.debug\
>  > +%endif\
>  > +%{debuginfodir}/lib/modules/%{KVERREL}%{?2}\
>  > +%{debuginfodir}/usr/src/kernels/%{KVERREL}%{?2:-%{2}}-%{_target_cpu}\
>  > +%{?-a:%{debuginfodir}%{-a*}.debug}\
>  > +%endif\
>  > +%endif\
>  > +%endif\
> 
> but for some reason, it doesn't sit right in my head.
> 
> I've no real fundamental objection to this, but don't leave the country
> or have any accidents for a while after it goes in :-)
> Just as when Jarod did the versioning overhaul, if something goes awry,
> you'd probably be able to figure out the problem quicker than those
> getting up to speed on what you've done so far.

Having been through the (painful) process of transforming the 2.6.20
FC-6 kernel spec into a kernel-xen spec recently, I liked the change
to have less duplicated information through the spec file.

The macro expansion syntax of RPM is ugly, but I would prefer that than
having a big spec file with lots of duplicated info.

If Roland hide, leave the country, or something like this, I offer myself
to help on this if something goes wrong.  :)

-- 
Eduardo

Attachment: pgpsCRHC8tGn1.pgp
Description: PGP signature

_______________________________________________
Fedora-kernel-list mailing list
Fedora-kernel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-kernel-list

[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux