From: Richard W.M. Jones Date: Wed, 22 Feb 2012 11:22:37 +0000 (+0000) Subject: Add prelink blacklist to specfile. X-Git-Tag: 0.0.1~2 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=5fd395fada4321c9ac71a8af7d9a445b8171ed82;p=whenjobs.git Add prelink blacklist to specfile. --- diff --git a/whenjobs.spec.in b/whenjobs.spec.in index 70b85fb..22ad6de 100644 --- a/whenjobs.spec.in +++ b/whenjobs.spec.in @@ -54,6 +54,13 @@ rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install +# Add a prelink blacklist. +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/prelink.conf.d +cat <$RPM_BUILD_ROOT/%{_sysconfdir}/prelink.conf.d/%{name}.conf +-b %{_bindir}/whenjobs +-b %{_sbindir}/whenjobsd +EOF + %clean rm -rf $RPM_BUILD_ROOT @@ -62,6 +69,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING README +%{_sysconfdir}/prelink.conf.d/%{name}.conf %{_bindir}/whenjobs %{_sbindir}/whenjobsd %{_libdir}/whenjobs/pa_when.cmo