Remove systemd dependency for flatpak builds
This commit is contained in:
parent
dd3512c7d2
commit
28ad10f97d
@ -17,9 +17,12 @@ BuildRequires: make
|
||||
BuildRequires: libtool openssl-devel gettext-devel autoconf automake
|
||||
BuildRequires: systemd
|
||||
Requires(pre): shadow-utils
|
||||
# remove systemd dependency for flatpak builds
|
||||
%if ! 0%{?flatpak}
|
||||
Requires(post): systemd-units
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
%endif
|
||||
Requires: %{name}-lib%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user