Commit Graph

81 Commits

Author SHA1 Message Date
Kamal Heib
0a2923d5f8 Update to upstream release v50.0
Resolves: RHEL-23181, RHEL-24821, RHEL-22909, RHEL-28624

Signed-off-by: Kamal Heib <kheib@redhat.com>
2024-03-08 21:24:06 -05:00
Fedora Release Engineering
cea728427c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 14:53:59 +00:00
Fedora Release Engineering
14bfe9cb87 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 10:59:54 +00:00
Kamal Heib
08235295ea Avoid building pyverbs for fedora40
The pyverbs package requires an update to support Cython3, until this
happen upstream, avoid building the package for Fedora 40 or newer.

Signed-off-by: Kamal Heib <kheib@redhat.com>
2023-11-22 13:56:33 -05:00
Kamal Heib
56fe552797 Update to upstream release v48.0
Signed-off-by: Kamal Heib <kheib@redhat.com>
2023-09-26 12:41:47 -04:00
Yaakov Selkowitz
12abba8bed Pin Cython < 3 until fixed upstream
Cython 3 has broke compatibility with some code that previously built
successfully, in this case:

```
/builddir/build/BUILD/rdma-core-46.0/redhat-linux-build/pyverbs/device.c:14510:18: error: redefinition of '__Pyx_Enum_ibv_event_type_to_py'
14510 | static PyObject *__Pyx_Enum_ibv_event_type_to_py(enum ibv_event_type __pyx_v_c_val) {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/rdma-core-46.0/redhat-linux-build/pyverbs/device.c:10701:18: note: previous definition of '__Pyx_Enum_ibv_event_type_to_py' with type 'PyObject *(enum ibv_event_type)' {aka 'struct _object *(enum ibv_event_type)'}
10701 | static PyObject *__Pyx_Enum_ibv_event_type_to_py(enum ibv_event_type __pyx_v_c_val) {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2023-07-28 18:00:32 -04:00
Fedora Release Engineering
2550da856a Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 16:37:25 +00:00
Python Maint
b1a271aef7 Rebuilt for Python 3.12 2023-06-15 14:41:41 +02:00
Kamal Heib
67a28c9d6e Update to upstream release v46.0
Signed-off-by: Kamal Heib <kheib@redhat.com>
2023-05-24 11:23:54 -04:00
Michal Schmidt
37950d1c29 Update to upstream release v45.0
Drop the already merged patches.
Stop using the deprecated %patchN form in the spec.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
2023-05-11 09:53:18 +02:00
Michal Schmidt
b4f3a4cecd Convert to rpmautospec 2023-02-02 12:06:52 +01:00
Michal Schmidt
514221a914 Fix a couple of bugs found by covscan
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
2023-02-02 12:01:53 +01:00
Michal Schmidt
d24472bc16 Rebase to upstream v44.0
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
2023-02-01 09:37:58 +01:00
Fedora Release Engineering
c08d24b378 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 19:32:50 +00:00
Michal Schmidt
8150629e43 Rebase to upstream v41.0
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
2022-08-02 15:40:27 +02:00
Fedora Release Engineering
4252813d4a Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 00:35:06 +00:00
Python Maint
208af9691a Rebuilt for Python 3.11 2022-06-13 17:27:07 +02:00
Honggang Li
e43fb0fac1 Rebase to upstream release v39.0
Signed-off-by: Honggang Li <honli@redhat.com>
2022-02-06 08:11:30 -05:00
Fedora Release Engineering
a041f5c378 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 17:36:43 +00:00
Honggang Li
9d2f592f20 Update self obsolete tag
Resolves: bz1956631

Signed-off-by: Honggang Li <honli@redhat.com>
2022-01-14 08:11:09 -05:00
Honggang Li
2601470ddb Rebase to upstream release v38.1
Signed-off-by: Honggang Li <honli@redhat.com>
2022-01-06 19:41:43 -05:00
Honggang Li
ceaddb2b51 Rebase to upstream release v38.0
Signed-off-by: Honggang Li <honli@redhat.com>
2021-11-23 08:19:27 -05:00
Honggang Li
4dd9584043 Fix Systemd Scriptlets
Signed-off-by: Honggang Li <honli@redhat.com>
2021-09-26 07:43:16 -04:00
Honggang Li
fb5dc650a4 Rebase to upstream release v37.0
Signed-off-by: Honggang Li <honli@redhat.com>
2021-09-22 08:30:20 -04:00
Honggang Li
f342d778f5 rdma-core-devel should not require ibacm
https://github.com/linux-rdma/rdma-core/pull/1054

%{_libdir}/ibacm/libibacmp.so is a plugin for librdmacm dlopen.
It is not for library linking.

Resolves: bz2000123

Signed-off-by: Honggang Li <honli@redhat.com>
2021-09-06 21:43:37 -04:00
Fedora Release Engineering
f4c6894afb - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 11:15:02 +00:00
Honggang Li
50920cce69 Rebase to upstream release v36.0
Signed-off-by: Honggang Li <honli@redhat.com>
2021-07-14 05:53:21 -04:00
Python Maint
9427e12aeb Rebuilt for Python 3.10 2021-06-04 21:12:58 +02:00
Honggang Li
2ec1976740 Rebase to upstream release v35.0
Signed-off-by: Honggang Li <honli@redhat.com>
2021-05-10 05:25:54 -04:00
Pete Walter
462a006594 Fix libibverbs-core obsoletes when updating to F35
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1943375
2021-03-31 22:13:34 +01:00
Pete Walter
5fa6954dc2 Add self obsoletes to remove i686 multilib package when updating to F34
The i686 multilib package is gone in F34 so we need to obsolete it to
get clean upgrades.
2021-03-30 17:01:11 +01:00
Honggang Li
3145cfa39a RHEL9 will use prebuild doc
pandoc will be removed from RHEL9. That means we will have to use
prebuild doc.

Signed-off-by: Honggang Li <honli@redhat.com>
2021-03-08 20:37:18 -05:00
Honggang Li
8b300f2ddf Rebase to upstream release v34.0
Signed-off-by: Honggang Li <honli@redhat.com>
2021-03-03 00:37:19 -05:00
Zbigniew Jędrzejewski-Szmek
7dfde225ce Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:12:52 +01:00
Honggang Li
bd13c655b5 Disable HCA rename for ELN build
Signed-off-by: Honggang Li <honli@redhat.com>
2021-02-01 11:35:53 -05:00
Fedora Release Engineering
24e2a0fe66 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 15:07:45 +00:00
Honggang Li
6495ad1e5e Fix ELN build issue
The 'fedora' macro had been removed from RHEL9 ELN build.
We will have to use the 'rhel' macro for RHEL9 ELN build.

Signed-off-by: Honggang Li <honli@redhat.com>
2021-01-25 03:29:29 -05:00
Honggang Li
4e8f1a588f libibverbs obsoletes libibverbs-core for fedora-34
Signed-off-by: Honggang Li <honli@redhat.com>
2021-01-21 07:17:50 -05:00
Honggang Li
80eb5deac7 Rebase to upstream release v33.0
Signed-off-by: Honggang Li <honli@redhat.com>
2021-01-18 23:28:35 -05:00
honli
ef8db100db Remove base package dependency from all sub-package
Revert "Split out libibverbs to a core sub package for libpcap IB support to minimise deps for users that don't require IB support"

This reverts commit 59a8e2e0d0.

Resolves: bz1901086

Signed-off-by: Honggang Li <honli@redhat.com>
2021-01-18 20:51:28 -05:00
Honggang Li
f92c6170e7 Rebase to upstream release v32.0
Signed-off-by: Honggang Li <honli@redhat.com>
2020-11-02 04:34:23 -05:00
Peter Robinson
59a8e2e0d0 Split out libibverbs to a core sub package for libpcap IB support to minimise deps for users that don't require IB support 2020-09-15 00:26:18 +01:00
Honggang Li
486598b91c Rebase to upstream release v31.0
Signed-off-by: Honggang Li <honli@redhat.com>
2020-08-19 09:21:45 -04:00
Honggang Li
bb56407237 Update cmake options
Fedora 33 System-Wide Change proposal: CMake to do out-of-source builds

FC33 rpmbuild failed because of this system-wide change. Update cmake
options to fix this issue.

Signed-off-by: Honggang Li <honli@redhat.com>
2020-07-30 23:16:24 -04:00
Fedora Release Engineering
6ed3481498 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 05:34:43 +00:00
Stephen Gallagher
c166c357f6
Don't throw script errors when ordered before udev
Due to the way libdnf/libsolv resolves RPM installation order, it is
possible that this package will be installed before systemd-udev is
installed. If that happens, /sbin/udevadm is unavailable and an error
is thrown. However, it's safe to skip the call to /sbin/udevadm if
systemd-udev is not available yet. When that package is installed,
it runs the necessary actions itself.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-07-02 09:04:38 -04:00
Jeff Law
abad9da95a Disable LTO 2020-07-01 12:20:35 -06:00
Zbigniew Jędrzejewski-Szmek
5817d8b7bc Drop installation-time dependencies on dracut and kmod
rdma-core provides a plugin for dracut, but does not "use" dracut.

It seems that the dependencies on dracut and kmod were added because
of directory ownership
(https://bugzilla.redhat.com/show_bug.cgi?id=1404043#c8). Let's co-own
the directories instead. Pulling in such a big package as dracut along
with dependencies just for the directory is not very nice.

Dracut by itself is 1MB, and pulls in bash, coreutils, grep (which
means also libpcre), procps-ng, systemd, and a bunch of libraries.
2020-06-26 17:22:15 +02:00
Zbigniew Jędrzejewski-Szmek
daf98ffe95 Drop installation-time dependency on systemd
For rdma-core binary package, the dependency is really on systemd-udev
which provides udevadm. Since systemd can be installed without udev,
the dependency was not effective. But actually the dependency is not
needed at all, because the system will behave the same with and
without it. (If systemd-udev is installed later in the transaction,
the call to udevadm trigger is not necessary. If systemd-udev is
installed earlier in the transaction, the call to udevadm trigger will
succeed. And if if systemd-udev is not installed at all, it means that
there's no hardware support and udevadm doesn't need to be executed at
all.)

Similarly, %{systemd_requires} is not necessary for the systemd unit
scriptlets. See https://pagure.io/packaging-committee/c/46010f8b6ab077bf.
That commit also has a long explanation.

Also co-own the directory to avoid unowned directory warning.
2020-06-26 17:15:49 +02:00
Honggang Li
ae01c21307 Rebase to upstream release v30.0
Signed-off-by: Honggang Li <honli@redhat.com>
2020-06-15 21:33:49 -04:00