From 5fd395fada4321c9ac71a8af7d9a445b8171ed82 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 22 Feb 2012 11:22:37 +0000 Subject: [PATCH] Add prelink blacklist to specfile. --- whenjobs.spec.in | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 1.8.3.1