Commit Graph

26 Commits

Author SHA1 Message Date
Dennis Gilmore
7c2b8051e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 04:21:54 +00:00
Neil Horman
08e6bfe50b Resolves: bz1208922 2015-04-08 13:06:44 -04:00
Panu Matilainen
b6f873410a Always build with -fPIC
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...
2015-01-28 14:16:52 +02:00
Panu Matilainen
95f7100692 Doh, bogus dates + remember to bump the actual release too 2015-01-28 11:34:22 +02:00
Panu Matilainen
ae10511010 Add a spec option to build as shared libraries, default to static for now 2015-01-28 11:28:50 +02:00
Panu Matilainen
38bb65f078 Comply to Fedora static package policies
- 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
2015-01-28 11:19:25 +02:00
Panu Matilainen
27aaece3a8 Add a spec option to build a combined library
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.
2015-01-28 09:58:09 +02:00
Panu Matilainen
ec727d4980 Drop now unnecessary debug flags patch.
Rpm %optflags always include -g, and as the optflags are getting passed
to the build since commit fe6107da05, this
is no longer needed.
2015-01-28 09:51:39 +02:00
Panu Matilainen
4821395c6a - Avoid variable expansion in the spec here-documents during build 2015-01-28 09:43:17 +02:00
Panu Matilainen
a29f6a5c1c - Arrange for RTE_SDK environment + directory layout expected by DPDK apps
- Drop config from main package, it shouldn't be needed at runtime
2015-01-27 13:36:01 +02:00
Panu Matilainen
a5cd001107 - Avoid unnecessary use of %global, lazy expansion is normally better.
(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
2015-01-27 13:12:49 +02:00
Panu Matilainen
35685e0998 - Drop unnecessary kernel-devel BR, we are not building kernel modules 2015-01-27 11:10:36 +02:00
Panu Matilainen
3ef7e4235b - Clean up summaries and descriptions. The ones copied from upstream
spec talk about kernel modules and other yadda that we will not
  include.
2015-01-27 11:06:53 +02:00
Panu Matilainen
6490c5afe3 - Avoid unnecessary %exclude by not copying unpackaged content to buildroot,
%exclude can have side-effects when used like this.
2015-01-27 10:43:00 +02:00
Panu Matilainen
8cefbac7ec - Force sane mode on the headers 2015-01-27 10:35:59 +02:00
Panu Matilainen
e78dfa8543 - Copy the headers instead of broken symlinks into -devel package 2015-01-27 10:35:41 +02:00
Peter Robinson
52b0853653 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 09:40:50 +00:00
John W. Linville
fe6107da05 Several changes to better comply with packaging guidelines...
- 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
2014-07-21 10:02:39 -04:00
Neil Horman
ec5bc3b8bf Updating dpdk to official 1.7.0 release 2014-07-10 15:52:18 -04:00
Neil Horman
bde8fdab7e Fixing up release numbering 2014-07-03 07:45:28 -04:00
Neil Horman
7a1c5e6a86 Fixing some build issues (debuginfo empty, 32 bit build missing) 2014-07-01 11:09:58 -04:00
Neil Horman
0199132fc5 Fix doc package dependency 2014-06-11 07:01:39 -04:00
Neil Horman
25e15fa854 Fixed doc package arch dependency 2014-06-09 12:50:30 -04:00
Neil Horman
fe88d522a3 Fix verbose build and debuginfo missing source issue 2014-06-09 12:07:22 -04:00
Neil Horman
851bae4c15 Initial commit 2014-06-06 17:00:32 -04:00
Fedora Release Engineering
723b55a28f Initial setup of the repo 2014-06-06 19:46:27 +00:00