Skip to content

Instantly share code, notes, and snippets.

@yankcrime
Created July 3, 2018 13:15
Show Gist options
  • Save yankcrime/1a48c744f6b809417abee0868973aac0 to your computer and use it in GitHub Desktop.
Save yankcrime/1a48c744f6b809417abee0868973aac0 to your computer and use it in GitHub Desktop.

Craft file selinux.spec with:

Summary: Dummy package for selinux-policy-base
Name: selinux-policy-base
Version: 0
Release: 0
License: Public
Group:  System Environment/Base
Provides: selinux-policy-base
%description
SElinux base policies
%files

Need rpm-build package installing, and then:

rpmbuild -bb selinux.spec

Followed by:

rpm -ivh /root/rpmbuild/RPMS/x86_64/selinux-policy-base-0-0.x86_64.rpm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment