summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-05-22 12:50:53 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-05-22 12:52:43 -0500
commit6e614d9f9071ecccce376bb5d2a3859db7c23999 (patch)
treeb63e0eca074a72d3db33f579cf9065630e7008b8 /misc
parent6479f93f6c8ec3886c3c544c70b09a52780d3834 (diff)
downloadbcfg2-6e614d9f9071ecccce376bb5d2a3859db7c23999.tar.gz
bcfg2-6e614d9f9071ecccce376bb5d2a3859db7c23999.tar.bz2
bcfg2-6e614d9f9071ecccce376bb5d2a3859db7c23999.zip
bcfg2.spec: Copy build data instead of move
This fixes an issue building the rpm when /var/tmp is on another partition.
Diffstat (limited to 'misc')
-rw-r--r--misc/bcfg2.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec
index 75c6090a0..6ab512e1b 100644
--- a/misc/bcfg2.spec
+++ b/misc/bcfg2.spec
@@ -260,8 +260,8 @@ ln -s %{_initrddir}/bcfg2 %{buildroot}%{_sbindir}/rcbcfg2
ln -s %{_initrddir}/bcfg2-server %{buildroot}%{_sbindir}/rcbcfg2-server
%endif
-mv build/sphinx/html/* %{buildroot}%{_defaultdocdir}/bcfg2-doc-%{version}
-mv build/dtd %{buildroot}%{_defaultdocdir}/bcfg2-doc-%{version}/
+cp -r build/sphinx/html/* %{buildroot}%{_defaultdocdir}/bcfg2-doc-%{version}
+cp -r build/dtd %{buildroot}%{_defaultdocdir}/bcfg2-doc-%{version}/
%{__install} -d %{buildroot}%{apache_conf}/conf.d
%{__install} -m 644 misc/apache/bcfg2.conf %{buildroot}%{apache_conf}/conf.d/wsgi_bcfg2.conf