Commit Graph

35 Commits

Author SHA1 Message Date
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
Miro Hrončok
80ff43b09b Rebuilt for Python 3.9 2020-05-26 03:48:47 +02:00
Honggang Li
6a20625ce6 Rebase to upstream release v29.0
Signed-off-by: Honggang Li <honli@redhat.com>
2020-04-13 09:18:33 -04:00
Honggang Li
55352ca3c5 Rebase to upstream release v28.0
Signed-off-by: Honggang Li <honli@redhat.com>
2020-02-12 23:54:42 -05:00
Fedora Release Engineering
f34aa2d5d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 17:25:22 +00:00
Orion Poplawski
a54e53587c Fix typo in requires 2020-01-19 17:57:55 -07:00
Honggang Li
01859f5a93 Backport some spec improvement from upstream
Signed-off-by: Honggang Li <honli@redhat.com>
2020-01-19 07:33:54 -05:00
Honggang Li
f0a64cacc2 Rebase to upstream release v27.0
Signed-off-by: Honggang Li <honli@redhat.com>
2019-12-12 20:48:45 -05:00
Honggang Li
b631ce4665 Rebase to upstream release v26.1
Signed-off-by: Honggang Li <honli@redhat.com>
2019-11-28 08:23:54 -05:00
Fedora Release Engineering
3a4bfd17e7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 18:19:34 +00:00
Fedora Release Engineering
7513e57ebd - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 11:10:55 +00:00
Björn Esser
2d68a824b9
Append curdir to CMake invokation. (#1668512) 2019-01-23 09:33:08 +01:00
Igor Gnatenko
735c145cc3
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:50 +01:00
Jarod Wilson
156687cf3d Long overdue update to upstream v20.1 stable release
Signed-off-by: Jarod Wilson <jarod@redhat.com>
2018-10-19 13:50:14 -04:00
Fedora Release Engineering
fe35fa8f3f - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 03:26:26 +00:00
Iryna Shcherbina
f8c8e625d1 Update Python 2 dependency declarations to new packaging standards 2018-03-18 16:37:35 +01:00
Orion Poplawski
ba9abd5730 Fix changelog date 2018-02-06 20:33:03 -07:00
Orion Poplawski
cb5b6a4023 Build for s390/x
Fix changelog
2018-02-06 12:10:42 -07:00
Patrick Uiterwijk
0c4eb0a0bd Fix escaped macro
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-02-06 20:01:04 +01:00
Doug Ledford
2c2e63a506 redhat/spec: Don't try to package unbuilt files
On architectures without coherent DMA semantics, rdma-core automatically
turns off those providers that have a hard requirement on coherent PCI
DMA.  We need to conditionalize our files and such to compensate for the
missing files.

Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-02-04 14:59:03 -05:00
Doug Ledford
978c40db8f spec: Drop the old sysv initscript files
We aren't building for the old SysV initscripts package any more, so
drop the ifup-ib/ifdown-ib scripts that only work when the initscripts
package is installed.  This keeps us in line with changes going into the
rdma-core-17 package release.

Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-02-04 14:40:39 -05:00
Doug Ledford
c97992e600 Update to rdma-core-16.2
Major spec changes to accommodate the update from 14 to 16.2.

Many of the rdma-core provided services are not done via udev on demand
loading.

Configuration file layout has changed.

Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-02-04 14:04:29 -05:00
Jarod Wilson
82bec3fb8c rdma-core: use systemd_requires, own srp_daemon directory
Signed-off-by: Jarod Wilson <jarod@redhat.com>
2017-08-09 16:18:58 -04:00
Jarod Wilson
c016866231 rdma-core: revert ppc64le hack, handle libusnic_verbs
- Revert work-around for ppc64le library issues
- Add Obsoletes/Provides for libusnic_verbs

Signed-off-by: Jarod Wilson <jarod@redhat.com>
2017-08-01 09:42:35 -04:00
Fedora Release Engineering
29dd510f84 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 12:59:59 +00:00
Jarod Wilson
5ba3533a7d hack-alert: work around ib_acme not working on ppc64le
This probably warrants filing a separate ppc64le bug to get tracked down
and fixed.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
2017-07-25 13:44:20 -04:00
Jarod Wilson
5e81046dd0 Restore systemd-units Requires, systemd_requires no workie
Signed-off-by: Jarod Wilson <jarod@redhat.com>
2017-07-25 11:53:25 -04:00
Jarod Wilson
f458a9d99c rdma-core: update to upstream v14 release
Signed-off-by: Jarod Wilson <jarod@redhat.com>
2017-07-25 11:40:23 -04:00
Fedora Release Engineering
7ee4923ba3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:35:41 +00:00
Jarod Wilson
e0297f9703 rdma-core: Update to upstream final v12 release
Signed-off-by: Jarod Wilson <jarod@redhat.com>
2017-01-30 14:22:34 -05:00
Jarod Wilson
d968ae64cd rdma-core: initial import into Fedora package database
Signed-off-by: Jarod Wilson <jarod@redhat.com>
2017-01-25 13:23:03 -05:00