Upstream makefiles only enable -fPIC for shared libs, but on x86_64
its needed for static libs as well when combined with dynamic linking
(otherwise building eg OVS fails with relocation R_X86_64_32 errors)
Ciuld arch-conditionalize it but then this only builds for x86_64 atm...
- Move static libraries to -devel, there's no point in having them
in a "runtime" package anyway
- Add dpdk-static = %{version}-%{release} provide to -devel
- Have the main package always own the private library directory though
Upstream has an option to build a combined library but it'll clash
with symbol/library versioning once it lands. Use a linker script
instead of an actual ELF DSO to side-step the issue.
GROUP() is used instead of INPUT() to avoid the need for manual
ordering of the umphteen libraries.
(yes, Fedora recommendation is misguided wrt this: %global has unwanted
side-effects when used blindly for "everything", greetings from your
friendly former rpm maintainer)
- Drop unused destdir macro from the spec while at it
- Use EXTRA_CFLAGS to include standard Fedora compiler flags in build
- Set CONFIG_RTE_MACHINE=default to build for least-common-denominator machines
- Turn-off build of librte_acl, since it does not build on default machines
- Turn-off build of physical device PMDs that require kernel support
- Clean-up the install rules to match current packaging
- Correct changelog versions 1.0.7 -> 1.7.0
- Remove ix86 from ExclusiveArch -- it does not build with above changes