Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ test/pkgs/repo
/test/pkgs/dnf-daemon-test.repo
*~
build/
/.idea/
8 changes: 6 additions & 2 deletions dnfdaemon.spec
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,18 @@ Summary: SELinux integration for dnfdaemon

Requires: %{name} = %{version}-%{release}

%if 0%{?fedora} >= 23 || 0%{?mageia} >= 6
%if 0%{?fedora} >= 23 || 0%{?mageia} >= 6 || 0%{?rhel} >= 9
Requires(post): policycoreutils-python-utils
Requires(postun): policycoreutils-python-utils
%else
%if 0%{?rhel} == 8
Requires(post): policycoreutils-python3
Requires(postun): policycoreutils-python3
%else
Requires(post): policycoreutils-python
Requires(postun): policycoreutils-python
%endif

%endif
# Use boolean weak reverse dependencies
# http://rpm.org/user_doc/dependencies.html#weak-dependencies
# http://rpm.org/user_doc/boolean_dependencies.html
Expand Down