(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.42 and 1.47

version 1.42, 2005/04/03 05:54:00 version 1.47, 2005/04/14 20:19:45
Line 84 
Line 84 
 %ifarch ppc %ifarch ppc
 %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU
 %else %else
 %ifarch ppc64  %ifarch ppc64 pseries
 %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU
 %else %else
 %ifarch s390 %ifarch s390
Line 130 
Line 130 
  
 %build %build
  
   %ifarch s390 s390x zseries
   export PEGASUS_EXTRA_C_FLAGS="$PEGASUS_EXTRA_C_FLAGS -fsigned-char"
   %endif
   
 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-build.spec
 export PEGASUS_ROOT=%PEGASUS_RPM_ROOT export PEGASUS_ROOT=%PEGASUS_RPM_ROOT
 export PEGASUS_HOME=%PEGASUS_RPM_HOME export PEGASUS_HOME=%PEGASUS_RPM_HOME
Line 273 
Line 277 
        chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE        chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE
    fi    fi
  
      /usr/lib/lsb/install_initd /etc/init.d/tog-pegasus
   
    echo " To start Pegasus manually:"    echo " To start Pegasus manually:"
    echo " /etc/init.d/tog-pegasus start"    echo " /etc/init.d/tog-pegasus start"
    echo " Stop it:"    echo " Stop it:"
Line 288 
Line 294 
    isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"`    isRunning=`ps -el | grep cimserver | grep -v "grep cimserver"`
    if [ "$isRunning" ]; then    if [ "$isRunning" ]; then
       /opt/tog-pegasus/sbin/cimserver -s       /opt/tog-pegasus/sbin/cimserver -s
    fi  
    [ -f /var/opt/tog-pegasus/cimserver_current.conf ] &&  rm /var/opt/tog-pegasus/cimserver_current.conf;    [ -f /var/opt/tog-pegasus/cimserver_current.conf ] &&  rm /var/opt/tog-pegasus/cimserver_current.conf;
    [ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG;    [ -f %PEGASUS_INSTALL_LOG ] && rm %PEGASUS_INSTALL_LOG;
      [ -d /var/opt/tog-pegasus/repository ] && rm -rf /var/opt/tog-pegasus/repository;
      rm -f /var/run/tog-pegasus/socket/cimxml.socket;
      fi
    # Delete the Link to the rc.* Startup Directories    # Delete the Link to the rc.* Startup Directories
    /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus;    /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus;
 fi fi
  
   %preun sdk
   make --directory /opt/tog-pegasus/samples -s clean
   
   %preun test
   make --directory /opt/tog-pegasus/test -s unsetupTEST
   [ -d /var/opt/tog-pegasus/testrepository ] &&  rm -rf /var/opt/tog-pegasus/testrepository;
   
 %postun %postun
 if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
    [ -f %PEGASUS_PEM_DIR/key-2048.pem ] && rm %PEGASUS_PEM_DIR/key-2048.pem;    [ -f %PEGASUS_PEM_DIR/key-2048.pem ] && rm %PEGASUS_PEM_DIR/key-2048.pem;
Line 326 
Line 341 
  
 %dir %attr(555,root,root) /opt/tog-pegasus/mof/Pegasus %dir %attr(555,root,root) /opt/tog-pegasus/mof/Pegasus
  
 /var/opt/tog-pegasus/repository  %attr(-,root,root) /var/opt/tog-pegasus/repository
  
 %doc %attr(444,root,root) /opt/tog-pegasus/license.txt %doc %attr(444,root,root) /opt/tog-pegasus/license.txt
 %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man1/cimmof.1 %doc %attr(444,root,root) /opt/tog-pegasus/share/man/man1/cimmof.1
Line 711 
Line 726 
 %attr(555,root,root) /opt/tog-pegasus/test/bin/TestValue %attr(555,root,root) /opt/tog-pegasus/test/bin/TestValue
 %attr(555,root,root) /opt/tog-pegasus/test/bin/TracerTest %attr(555,root,root) /opt/tog-pegasus/test/bin/TracerTest
 %attr(555,root,root) /opt/tog-pegasus/test/bin/IPC %attr(555,root,root) /opt/tog-pegasus/test/bin/IPC
 %attr(555,root,root) /opt/tog-pegasus/test/bin/CompAssoc  
 %attr(555,root,root) /opt/tog-pegasus/test/bin/UserManagerTest  
 %attr(555,root,root) /opt/tog-pegasus/test/bin/TestClient %attr(555,root,root) /opt/tog-pegasus/test/bin/TestClient
 %attr(555,root,root) /opt/tog-pegasus/test/bin/OSTestClient %attr(555,root,root) /opt/tog-pegasus/test/bin/OSTestClient
 %attr(555,root,root) /opt/tog-pegasus/test/bin/InvokeMethod2 %attr(555,root,root) /opt/tog-pegasus/test/bin/InvokeMethod2
 %attr(444,root,root) /opt/tog-pegasus/test/Makefile %attr(444,root,root) /opt/tog-pegasus/test/Makefile
 /var/opt/tog-pegasus/testrepository  %attr(-,root,root) /var/opt/tog-pegasus/testrepository
  


Legend:
Removed from v.1.42  
changed lines
  Added in v.1.47

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2