# Note: Source was modified a lot. Specifically turning off the build parts for internal chpax. %define debug_package %{nil} Summary: paxtest Name: paxtest Version: 0.9.9 Release: 1%{?dist} License: GPLv2 Group: Applications/System Source0: http://www.grsecurity.net/~spender/paxtest-0.9.9.tgz Patch0: paxtest-lib64.patch URL: http://pax.grsecurity.net/ Buildroot: %{_tmppath}/%{name}-buildroot # This gets around the build routine that tries to build pax. THis fails on i386 normally #BuildRequires: /sbin/chpax BuildRequires: gradm %description Paxtest %prep %setup -q #%patch0 -p0 %build make linux RUNDIR=%{_libexecdir}/paxtest %install rm -rf $RPM_BUILD_ROOT make -f Makefile.psm install \ DESTDIR=$RPM_BUILD_ROOT \ BINDIR=%{_bindir} \ RUNDIR=%{_libexecdir}/paxtest \ LIBDIR=%{_libdir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README debian/changelog results %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libexecdir}/paxtest/* #%attr(755,root,root) %{_libdir}/*.so %changelog * Fri May 14 2010 Support - Update to 0.9.9 * Wed Oct 21 2009 Scott R. Shinn - Update to 0.9.7-pre6 * Tue Jul 22 2008 Scott R. Shinn - initial release