mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 11:19:32 +03:00
Build farm integration to ensure BuildRequires are correct
This commit is contained in:
parent
31b2e0b070
commit
07114bdee9
@ -74,14 +74,14 @@
|
||||
|
||||
# The kernel version should only be appended to a binary RPM.
|
||||
# When building a source RPM it must be kernel version agnostic.
|
||||
%if %{?build_src_rpm:1}0
|
||||
%if %{defined build_src_rpm}
|
||||
%define release @SPL_META_RELEASE@
|
||||
%else
|
||||
%define release @SPL_META_RELEASE@_%(echo %{kverpkg} | %{__sed} -e 's/-/_/g')
|
||||
%endif
|
||||
|
||||
%if 0%{?require_kver:1}
|
||||
%define buildrequires %{kdevpkg}=%{kverpkg}
|
||||
%if %{defined require_kver}
|
||||
%define buildrequires %{kdevpkg}=%{require_kver}
|
||||
%else
|
||||
%define buildrequires %{kdevpkg}
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user