-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jonathan Gazeley
committed
Aug 2, 2016
1 parent
cc564c8
commit 7b1c4ab
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Name: semerge | ||
Version: 0.0.1 | ||
Release: 1 | ||
Summary: Merge SELinux policy files | ||
|
||
Group: Development/Tools | ||
License: Apache 2.0 | ||
URL: https://github.com/djjudas21/semerge | ||
Source0: %{name}-%{version}.tar.gz | ||
BuildArch: noarch | ||
|
||
Requires: perl | ||
Requires: perl(Getopt::Long) | ||
|
||
%description | ||
semerge accepts SELinux rulesets via STDIN (e.g. the output of audit2allow) and by reading an existing policy file. It merges, deduplicates and sorts the two inputs to produce an output policy which contains the contents of both sources. | ||
|
||
%prep | ||
%setup -q | ||
|
||
|
||
%install | ||
rm -rf "$RPM_BUILD_ROOT" | ||
mkdir -p $RPM_BUILD_ROOT/%{_bindir} | ||
install -m 755 semerge.pl $RPM_BUILD_ROOT/%{_bindir}/semerge | ||
|
||
%files | ||
%{_bindir}/semerge | ||
%doc | ||
|
||
%clean | ||
rm -rf $RPM_BUILD_ROOT | ||
|
||
|
||
%changelog | ||
|