[devel] [PATCH] Fix build in isolated environment

Alexey I. Froloff raorn на altlinux.org
Ср Июл 6 13:29:19 UTC 2011


Signed-off-by: Alexey I. Froloff <raorn at altlinux.org>
---
 tjws.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tjws.spec b/tjws.spec
index 60b538a..ab48381 100644
--- a/tjws.spec
+++ b/tjws.spec
@@ -109,6 +109,9 @@ can be extracted through rpm2cpio.
 %{_bindir}/find -name "*.?ar" | %{_bindir}/xargs -t %{__rm}
 %patch0 -p0 -b .build
 
+find . -name '*.xml' -print0 |
+	xargs -r0 sed -i 's,http://7bee.j2ee.us/xml/DTD/,%_datadir/sgml/bee/,g' --
+
 %build
 %{_bindir}/bee
 
-- 
1.7.3.2



Подробная информация о списке рассылки Devel