diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 6376321807..8785a77acf 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2007-04-17 Manuel Arostegui + + * specs/fedoracore5/pandora_server.spec: Added code to evaluate + the perl version using by the system. + 2007-04-11 Manuel Arostegui * conf/pandora_server.conf: Changed PATHS to adapt them to the diff --git a/pandora_server/specs/fedoracore5/pandora_server.spec b/pandora_server/specs/fedoracore5/pandora_server.spec index b3745e6343..1438281ac1 100755 --- a/pandora_server/specs/fedoracore5/pandora_server.spec +++ b/pandora_server/specs/fedoracore5/pandora_server.spec @@ -27,6 +27,9 @@ Pandora watchs your systems and applications, and allows to know the status of a %prep rm -rf $RPM_BUILD_ROOT +#Evaluate perl version: +perl_version=`rpm -q --queryformat='%{VERSION}' perl` + %setup -q -n pandora_server %build @@ -74,7 +77,7 @@ if [ -f $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/%{name}.spec ] ; fi %clean -rm -rf $RPM_BUILD_ROOT +#rm -rf $RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release} %post if [ "$1" = "0" ]; then