Skip to content

Commit

Permalink
cleanup to include earlier kernels (#344)
Browse files Browse the repository at this point in the history
* 1st changes

* Update dist/dattobd.spec

Co-authored-by: st-matskevich <62443731+st-matskevich@users.noreply.github.com>

---------

Co-authored-by: st-matskevich <62443731+st-matskevich@users.noreply.github.com>
  • Loading branch information
natalia-zelazna and st-matskevich committed Jan 16, 2024
1 parent 3487cc4 commit adf97a7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dist/dattobd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,13 @@ BuildRequires: gcc
BuildRequires: make
BuildRequires: rsync

%if 0%{?fedora} || 0%{?rhel}
BuildRequires: systemd-rpm-macros
%if 0%{?rhel} < 8
BuildRequires: systemd
%else
BuildRequires: systemd-rpm-macros
%{?systemd_requires}
%endif

# Some targets (like EL5) expect a buildroot definition
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Expand Down

0 comments on commit adf97a7

Please sign in to comment.