INTEGRATION: CWS nativefixer6 (1.13.8); FILE MERGED
2005/04/12 06:36:29 obr 1.13.8.2: moved /usr/bin/soffice link to desktop integration packages 2005/04/06 13:16:42 obr 1.13.8.1: #i46317# make ln not deference the target if exits
This commit is contained in:
parent
df20a603da
commit
23096de736
1 changed files with 3 additions and 1 deletions
|
@ -4,6 +4,7 @@ Version: 2.0
|
|||
Release: 1
|
||||
Group: Office
|
||||
License: LGPL, SISSL
|
||||
Vendor: OpenOffice.org
|
||||
AutoReqProv: no
|
||||
Requires: openofficeorg-core01, redhat-release
|
||||
%define _unpackaged_files_terminate_build 0
|
||||
|
@ -16,7 +17,7 @@ cat > /tmp/install.$$ << EOF
|
|||
while [ "\$TARGET" == "" ]
|
||||
do
|
||||
sleep 2
|
||||
TARGET=\`rpm -q --qf '%{INSTALLPREFIX}' openofficeorg-core01 2>&1\` && ln -sf \$TARGET /etc/%PREFIX
|
||||
TARGET=\`rpm -q --qf '%{INSTALLPREFIX}' openofficeorg-core01 2>&1\` && ln -snf \$TARGET /etc/%PREFIX
|
||||
# some rpm versions do not wait for the shared lock
|
||||
echo \$TARGET | grep '/var/lib/rpm' && TARGET=""
|
||||
done
|
||||
|
@ -183,6 +184,7 @@ then
|
|||
fi
|
||||
|
||||
%files
|
||||
%attr(0755,root,root) /usr/bin/soffice
|
||||
%attr(0755,root,root) %verify(not size md5) /usr/bin/%PREFIX
|
||||
%attr(0755,root,root) /usr/bin/%PREFIX-printeradmin
|
||||
%defattr(0644, root, root)
|
||||
|
|
Loading…
Reference in a new issue