mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 03:19:35 +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.
|
# The kernel version should only be appended to a binary RPM.
|
||||||
# When building a source RPM it must be kernel version agnostic.
|
# 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@
|
%define release @SPL_META_RELEASE@
|
||||||
%else
|
%else
|
||||||
%define release @SPL_META_RELEASE@_%(echo %{kverpkg} | %{__sed} -e 's/-/_/g')
|
%define release @SPL_META_RELEASE@_%(echo %{kverpkg} | %{__sed} -e 's/-/_/g')
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?require_kver:1}
|
%if %{defined require_kver}
|
||||||
%define buildrequires %{kdevpkg}=%{kverpkg}
|
%define buildrequires %{kdevpkg}=%{require_kver}
|
||||||
%else
|
%else
|
||||||
%define buildrequires %{kdevpkg}
|
%define buildrequires %{kdevpkg}
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user