git.annexia.org
/
whenjobs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
902e1e9
)
Add prelink blacklist to specfile.
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 22 Feb 2012 11:22:37 +0000
(11:22 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 22 Feb 2012 11:22:37 +0000
(11:22 +0000)
whenjobs.spec.in
patch
|
blob
|
history
diff --git
a/whenjobs.spec.in
b/whenjobs.spec.in
index
70b85fb
..
22ad6de
100644
(file)
--- 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 <<EOF >$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