rpms/openoffice.org/F-7 openoffice.org.spec,1.1195,1.1196
Caolan McNamara (caolanm)
fedora-extras-commits at redhat.com
Tue Oct 16 07:25:13 UTC 2007
Author: caolanm
Update of /cvs/pkgs/rpms/openoffice.org/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13517
Modified Files:
openoffice.org.spec
Log Message:
Resolves: rhbz#333201 dangling symlinks
Index: openoffice.org.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/F-7/openoffice.org.spec,v
retrieving revision 1.1195
retrieving revision 1.1196
diff -u -r1.1195 -r1.1196
--- openoffice.org.spec 12 Oct 2007 06:28:25 -0000 1.1195
+++ openoffice.org.spec 16 Oct 2007 07:24:40 -0000 1.1196
@@ -1,6 +1,6 @@
%define oootag OOG680
%define ooomilestone 6
-%define rh_rpm_release 1
+%define rh_rpm_release 2
# undef to get english only and no-langpacks for a faster smoketest build
%define langpacks 1
@@ -1487,6 +1487,13 @@
"mv \$1 \`echo \$1 | sed s/officeorg$ICONPRODUCTVERSION/officeorg/\`" -- {} \;
find . -name "openoffice.org$LONGICONPRODUCTVERSION*" -exec bash -c \
"mv \$1 \`echo \$1 | sed s/.org$LONGICONPRODUCTVERSION/.org/\`" -- {} \;
+find . -type l -print -exec ls -lag '{}' \; | gawk '{q="'\''" ; file=$0 ; \
+ getline; \
+ split($0, ls, " -> "); \
+ link=ls[2]; \
+ gsub(ENVIRON["ICONPRODUCTVERSION"], "", link) ; \
+ if ( link != ls[2] ) system("rm " q file q"; ln -s "q link q" "q file q); \
+ }'
sed -i -e s/openofficeorg$ICONPRODUCTVERSION/openofficeorg/g \
./mime-info/openoffice.org.keys
sed -i -e s/openoffice.org$LONGICONPRODUCTVERSION/openoffice.org/g \
@@ -2751,6 +2758,9 @@
%{instdir}/share/registry/modules/org/openoffice/Office/Scripting/Scripting-python.xcu
%changelog
+* Tue Oct 16 2007 Caolan McNamara <caolanm at redhat.com> - 1:2.3.0-6.2
+- Resolves: rhbz#333201 dangling symlinks
+
* Wed Oct 10 2007 Caolan McNamara <caolanm at redhat.com> - 1:2.3.0-6.1
- bump to 2.3.0
- Resolves: rhbz#286221 allow custom printing commands
More information about the fedora-extras-commits
mailing list