name = paxtest
version = 0.9.9
-release = 2
+release = 4
groups = Security/Tools
url = http://pax.grsecurity.org/
build
build
- make -f Makefile.psm RUNDIR=/usr/lib/paxtest \
+ make -f Makefile.psm RUNDIR=%{libdir}/paxtest \
%{PARALLELISMFLAGS}
end
install
make -f Makefile.psm install DESTDIR=%{BUILDROOT} \
- RUNDIR=/usr/lib/paxtest BINDIR=/usr/bin
+ RUNDIR=%{libdir}/paxtest BINDIR=%{bindir}
end
- export PKG_REQUIRES_FILTER = shlibtest
+ # Ignore errors on extract-debuginfo, because this
+ # package contains wrong/broken/unoptimized files by
+ # intention.
+ debuginfo_options = || :
end
quality-agent
whitelist_execstack
- /usr/lib/paxtest
+ %{libdir}/paxtest
end
end
packages
package %{name}
+ filter_requires
+ shlibtest
+ end
+ end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
end