[packages/util-vserver] - fix too many sed rules on ix86
baggins
baggins at pld-linux.org
Sat Dec 28 18:04:57 CET 2013
commit 6a366eb6226778a23b843dc1a00f7920d7822931
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Dec 28 18:04:41 2013 +0100
- fix too many sed rules on ix86
util-vserver.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/util-vserver.spec b/util-vserver.spec
index 1129bbb..c666713 100644
--- a/util-vserver.spec
+++ b/util-vserver.spec
@@ -512,6 +512,12 @@ install -d $RPM_BUILD_ROOT{/vservers/.pkg,/etc/{sysconfig,rc.d/init.d,cron.d}} \
%endif
DESTDIR=$RPM_BUILD_ROOT
+%ifarch %{ix86}
+# fix breakage caused by too many substitiutions on x86
+%{__sed} -i -e 's|%{_datadir}/%{name}/sigexec|%{_libdir}/%{name}/sigexec|g' \
+ $RPM_BUILD_ROOT%{_libdir}/%{name}/vshelper
+%endif
+
# our libcgroup uses per subsystem mount
touch $RPM_BUILD_ROOT%{_sysconfdir}/vservers/.defaults/cgroup/per-ss
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/util-vserver.git/commitdiff/6a366eb6226778a23b843dc1a00f7920d7822931
More information about the pld-cvs-commit
mailing list