Handling differences between EPEL and Fedora

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

 



All,

I'm in the process of building the dracut package that goes along with
cloud-utils. I need to install different files for Fedora vs. EPEL
(due to the different versions of dracut). How is this best handled?
Can I just key off of a macro in the spec file?

%if fedora  <-- What goes here?
  cp A B C
%else
  cp X Y C
%endif

Or do  I need to check for the dracut version somehow? If so, how can
this be accomplished at package build time?

Thanks
...Juerg
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud



[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]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux