[Erp5-report] r37564 lucas - /erp5/trunk/utils/rpmgen/templates/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Aug 5 17:27:26 CEST 2010
Author: lucas
Date: Thu Aug 5 17:27:26 2010
New Revision: 37564
URL: http://svn.erp5.org?rev=37564&view=rev
Log:
Sorry, it already have a %pre.
Modified:
erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-mandriva2010.spec.in
Modified: erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-mandriva2010.spec.in
URL: http://svn.erp5.org/erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-mandriva2010.spec.in?rev=37564&r1=37563&r2=37564&view=diff
==============================================================================
--- erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-mandriva2010.spec.in [utf8] (original)
+++ erp5/trunk/utils/rpmgen/templates/tiolive-application-buildout-mandriva2010.spec.in [utf8] Thu Aug 5 17:27:26 2010
@@ -31,6 +31,9 @@ BuildRoot: /opt/rpmbuild/%{fullname}-%{r
%pre
%_pre_useradd %{erp5user} %{installdir} /bin/false
+if [ -d %{install_dir}/eggs/elementtree-1.2.7_20070827_preview-py2.4.egg ]; then
+ %{__rm} -rf %{install_dir}/eggs/elementtree-1.2.7_20070827_preview-py2.4.egg
+fi
%build
mkdir -p %{installdir}
@@ -67,7 +70,3 @@ chown erp5 server.key
%clean
%{__rm} -rf %{buildroot} %{installdir}
-%pre
-if [ -d %{install_dir}/eggs/elementtree-1.2.7_20070827_preview-py2.4.egg ]; then
- %{__rm} -rf %{install_dir}/eggs/elementtree-1.2.7_20070827_preview-py2.4.egg
-fi
More information about the Erp5-report
mailing list