(file) Return to tog-pegasus.spec CVS log (file) (dir) Up to [Pegasus] / pegasus / rpm

Diff for /pegasus/rpm/tog-pegasus.spec between version 1.104 and 1.106

version 1.104, 2007/10/01 20:15:24 version 1.106, 2007/10/05 18:46:43
Line 295 
Line 295 
 if [ $1 -eq 2 ]; then if [ $1 -eq 2 ]; then
     rm -f %PEGASUS_LOCAL_DOMAIN_SOCKET_PATH;     rm -f %PEGASUS_LOCAL_DOMAIN_SOCKET_PATH;
     rm -f %PEGASUS_CIMSERVER_START_FILE;     rm -f %PEGASUS_CIMSERVER_START_FILE;
     rm -f %CIMSERVER_LOCK_FILE;      rm -f %PEGASUS_CIMSERVER_START_LOCK_FILE;
 fi fi
 # #
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-pre.spec
Line 397 
Line 397 
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-preun.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-preun.spec
  
 %preun devel %preun devel
   # Check if the SDK has been setup
   if [ -f /usr/share/Pegasus/samples/SDKIsSetup ]; then
      make --directory /usr/share/Pegasus/samples -s unsetupSDK
      if [ $? != 0 ]; then
         echo "++++++++++++++++++++++++++++++++++++++++++++++" >&2
         echo "ERROR: Failed to deregister sample providers." >&2
         echo "To remove the SDK rpm without deregistering" >&2
         echo "the sample providers, first remove file" >&2
         echo "/usr/share/Pegasus/samples/SDKIsSetup," >&2
         echo "then remove SDK rpm." >&2
         echo "++++++++++++++++++++++++++++++++++++++++++++++" >&2
         exit 1
      fi
   fi
 make --directory /usr/share/Pegasus/samples -s clean make --directory /usr/share/Pegasus/samples -s clean
  
 %if %{PEGASUS_BUILD_TEST_RPM} %if %{PEGASUS_BUILD_TEST_RPM}


Legend:
Removed from v.1.104  
changed lines
  Added in v.1.106

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2