Summary: SELinux policy compiler
-Summary(pl.UTF-8): Kompilator polityki SELinux
+Summary(pl.UTF-8): Kompilator polityki SELinux
Name: checkpolicy
-Version: 1.34.0
+Version: 3.6
Release: 1
License: GPL v2
Group: Development
-Source0: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
-# Source0-md5: e19bb29db50955fbae60c4cdb569c658
+#Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases
+Source0: https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: ae3c281bc0dc43e8a9b335821580eaaa
+URL: https://github.com/SELinuxProject/selinux/wiki
BuildRequires: bison
BuildRequires: flex
-BuildRequires: libselinux-devel
+BuildRequires: libselinux-devel >= 3.6
# it uses libsepol symbols not exported in shared library
-BuildRequires: libsepol-static >= 1.14
+BuildRequires: libsepol-static >= 3.6
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Security-enhanced Linux is a patch of the Linux kernel and a number
-of utilities with enhanced security functionality designed to add
+Security-enhanced Linux is a patch of the Linux kernel and a number of
+utilities with enhanced security functionality designed to add
mandatory access controls to Linux. The Security-enhanced Linux kernel
contains new architectural components originally developed to improve
the security of the Flask operating system. These architectural
%build
%{__make} \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags} -pipe" \
+ CFLAGS="%{rpmcflags} %{rpmcppflags} -pipe" \
YACC="bison -y" \
LIBDIR=%{_libdir}
%files
%defattr(644,root,root,755)
-%doc ChangeLog
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man8/*
+%attr(755,root,root) %{_bindir}/checkmodule
+%attr(755,root,root) %{_bindir}/checkpolicy
+%{_mandir}/man8/checkmodule.8*
+%{_mandir}/man8/checkpolicy.8*