version 1.69, 2005/11/01 21:08:38
|
version 1.73, 2005/11/16 23:07:13
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} |
Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{srcRelease}.tar.gz | Source: ftp://www.opengroup.org/pegasus/tog-pegasus-%{version}-%{srcRelease}.tar.gz |
Requires: openssl >= 0.9.6 lsb >= 1.3 | Requires: openssl >= 0.9.6 lsb >= 1.3 |
|
Conflicts: openwbem |
Provides: tog-pegasus-cimserver | Provides: tog-pegasus-cimserver |
BuildRequires: openssl-devel >= 0.9.6 | BuildRequires: openssl-devel >= 0.9.6 |
BuildConflicts: tog-pegasus | BuildConflicts: tog-pegasus |
|
|
then | then |
if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]] | if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]] |
then | then |
rm -rf %PEGASUS_PREV_REPOSITORY_DIR |
mv %PEGASUS_PREV_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR`date '+%Y-%m-%d-%s.%N'`.rpmsave; |
fi | fi |
mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR | mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR |
mkdir %PEGASUS_REPOSITORY_DIR | mkdir %PEGASUS_REPOSITORY_DIR |
|
|
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec | # End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec |
| |
elif [ $1 -gt 1 ]; then | elif [ $1 -gt 1 ]; then |
|
if [ -d %PEGASUS_PREV_REPOSITORY_DIR ] |
|
then |
|
# Running Repository Upgrade utility |
|
%PEGASUS_SBIN_DIR/repupgrade 2>>%PEGASUS_INSTALL_LOG |
|
fi |
/sbin/service tog-pegasus condrestart | /sbin/service tog-pegasus condrestart |
:; | :; |
fi | fi |
|
|
%attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20R.mof | %attr(444,root,root) /opt/tog-pegasus/mof/Pegasus/PG_UnixProcess20R.mof |
| |
%config(noreplace) %attr(644,root,root) /var/opt/tog-pegasus/cimserver_planned.conf | %config(noreplace) %attr(644,root,root) /var/opt/tog-pegasus/cimserver_planned.conf |
%config %attr(500,root,root) /etc/init.d/tog-pegasus |
%config(noreplace) %attr(500,root,root) /etc/init.d/tog-pegasus |
%config %attr(444,root,root) %PAM_CONFIG_DIR/wbem |
%config(noreplace) %attr(444,root,root) %PAM_CONFIG_DIR/wbem |
| |
%attr(500,root,root) /opt/tog-pegasus/sbin/cimauth | %attr(500,root,root) /opt/tog-pegasus/sbin/cimauth |
%attr(500,root,root) /opt/tog-pegasus/sbin/cimconfig | %attr(500,root,root) /opt/tog-pegasus/sbin/cimconfig |