]> git.pld-linux.org Git - packages/checkpolicy.git/blobdiff - checkpolicy.spec
up to 3.6
[packages/checkpolicy.git] / checkpolicy.spec
index 9dae8087636bba50f4e22c9bab5198c5980a3649..6bd6d6d6e978417d7cf2b6c6e9530a0425040265 100644 (file)
@@ -1,22 +1,24 @@
 Summary:       SELinux policy compiler
 Summary(pl.UTF-8):     Kompilator polityki SELinux
 Name:          checkpolicy
-Version:       2.0.12
+Version:       3.6
 Release:       1
 License:       GPL v2
 Group:         Development
-Source0:       http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
-# Source0-md5: f2c3932f089342af0374671a0899960e
+#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 >= 2.0
+BuildRequires: libselinux-devel >= 3.6
 # it uses libsepol symbols not exported in shared library
-BuildRequires: libsepol-static >= 2.0
+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
@@ -50,7 +52,7 @@ wymagany do zbudowania polityki.
 %build
 %{__make} \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} -pipe" \
+       CFLAGS="%{rpmcflags} %{rpmcppflags} -pipe" \
        YACC="bison -y" \
        LIBDIR=%{_libdir}
 
@@ -65,6 +67,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %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*
This page took 0.051785 seconds and 4 git commands to generate.