--- rpms/smeserver-user-webspace/contribs8/smeserver-user-webspace.spec 2013/11/23 22:49:34 1.3 +++ rpms/smeserver-user-webspace/contribs8/smeserver-user-webspace.spec 2013/11/23 23:20:29 1.4 @@ -25,7 +25,8 @@ BuildRequires: e-smith-devtools - moved spec dirty work on action to real actions - added skel folders - added two events and link to actions in the proper events - +- precleaning spec + * Sun Oct 27 2013 Jean-Philippe Pialasse 0.1-6.sme - initial import for sme8 @@ -63,7 +64,7 @@ rm root/etc/e-smith/templates/etc/httpd/ %patch2 -p1 %patch3 -p1 %patch4 -p1 - +perl createlinks %build @@ -79,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT %pre %preun %post -if [ $1 = 1 ] ; then +#if [ $1 = 1 ] ; then # enable_user_webspace() { # echo 'You now have the option to enable user web directories.' @@ -139,10 +140,10 @@ if [ $1 = 1 ] ; then # } # enable_user_webspace -fi +#fi %postun -if [ $1 = 0 ] ; then +#if [ $1 = 0 ] ; then # /sbin/e-smith/config delete UserPublicWeb # /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf # service httpd-e-smith restart @@ -164,7 +165,7 @@ if [ $1 = 0 ] ; then # fi # done # -fi +#fi %files -f %{name}-%{version}-filelist %defattr(-,root,root)