Fix build on ELN
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
c2fe956bca
commit
58f2d6ee11
@ -9,7 +9,7 @@
|
||||
|
||||
Name: stratisd
|
||||
Version: 2.3.0
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Daemon that manages block devices to create filesystems
|
||||
|
||||
# 0BSD or MIT or ASL 2.0
|
||||
@ -28,7 +28,7 @@ Source1: %{name}-%{version}-vendor.tar.xz
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
%if 0%{?rhel}
|
||||
%if 0%{?rhel} && !0%{?eln}
|
||||
BuildRequires: rust-toolset
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: dbus-devel
|
||||
@ -51,7 +51,7 @@ Requires: clevis-luks >= 15
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%if 0%{?rhel}
|
||||
%if 0%{?rhel} && !0%{?eln}
|
||||
# Source1 is vendored dependencies
|
||||
%cargo_prep -V 1
|
||||
%else
|
||||
@ -113,6 +113,9 @@ install -Dpm0755 -t %{buildroot}%{_bindir} developer_tools/stratis_migrate_symli
|
||||
%{_udevrulesdir}/11-stratisd.rules
|
||||
|
||||
%changelog
|
||||
* Fri Jan 15 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.3.0-7
|
||||
- Fix build on ELN
|
||||
|
||||
* Fri Jan 15 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.3.0-6
|
||||
- Make package compatible without violating guidelines
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user