#4 Add additional requires for flatpak-selinux (#1732132).
Closed 4 years ago by amigadave. Opened 4 years ago by tjzabel.
rpms/ tjzabel/flatpak fix/selinux-anaconda  into  master

file modified
+11 -1
@@ -3,7 +3,7 @@ 

  

  Name:           flatpak

  Version:        1.4.2

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        Application deployment framework for desktop apps

  

  License:        LGPLv2+
@@ -97,6 +97,13 @@ 

  Requires(post): selinux-policy >= %{_selinux_policy_version}

  Requires(post): selinux-policy-base >= %{_selinux_policy_version}

  Requires(post): policycoreutils

+ %if 0%{?rhel} == 7

+ Requires(post): policycoreutils-python

+ %else

+ Requires(post): policycoreutils-python-utils

+ %endif

+ Requires(pre):  libselinux-utils

+ Requires(post): libselinux-utils

  Requires(postun): policycoreutils

  

  %description selinux
@@ -263,6 +270,9 @@ 

  

  

  %changelog

+ * Mon Jul 22 2019 Tim Zabel <tjzabel21@gmail.com> - 1.4.2-3

+ - SELinux needs additional Requires (#1732132)

+ 

  * Tue Jul 09 2019 Kalev Lember <klember@redhat.com> - 1.4.2-2

  - Backport a patch that fixes a fairly large memory leak in gnome-software

  

When building flatpak through anaconda kickstarts, flatpak-selinux fails on POSTIN. Snapd had a similar problem, and these additional Requires should fix the issue.

rebased onto 479cb375c004a3254621088489e4f84a1d3071e1

4 years ago

If you're doing a version bump, then you need to reset Release back to 1%{?dist}

This changelog entry is missing information about the version bump, and the version-release needs to be fixed in the entry.

rebased onto 5a3c8693d6b7fbd8adb30336f330a1176e695ad8

4 years ago

@ngompa woops! Thanks for the catch

You still need to add a line about fixing the selinux subpackage...

Updating to 1.4.3 isn't associated with this bug report either...

@tjzabel Your commit message also doesn't match the changelog entry...

@tjzabel Also, where is flatpak v1.4.3 coming from? I don't see it here? https://github.com/flatpak/flatpak/releases

rebased onto 54b89d6

4 years ago

@ngompa Reverted back to just a Release bump, and matched commit with changelog.

Pull-Request has been closed by amigadave

4 years ago