diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-03-03 13:59:34 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-03-03 13:59:34 +0100 |
commit | c1f8861c12e2f66592330a2926db840ede16ea8f (patch) | |
tree | 52fca51bf2558ccddcb64e7b8954a9a06473739f /sysui/desktop | |
parent | fa878018dec1ce9fd3589066128d0647d3664465 (diff) |
fixes for renaming LOdev builds to LibreOfficeDev
Follow-up to 16826147188bd78d67b97863226f903cc24add71 .
Diffstat (limited to 'sysui/desktop')
-rwxr-xr-x | sysui/desktop/freedesktop/freedesktop-menus.spec | 2 | ||||
-rwxr-xr-x | sysui/desktop/mandriva/mandriva-menus.spec | 2 | ||||
-rwxr-xr-x | sysui/desktop/share/create_tree.sh | 4 | ||||
-rwxr-xr-x | sysui/desktop/suse/suse-menus.spec | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/sysui/desktop/freedesktop/freedesktop-menus.spec b/sysui/desktop/freedesktop/freedesktop-menus.spec index 329693d6ae00..76fd7a7767eb 100755 --- a/sysui/desktop/freedesktop/freedesktop-menus.spec +++ b/sysui/desktop/freedesktop/freedesktop-menus.spec @@ -389,7 +389,7 @@ done # glibc breaks rpm unless rpm is build with internal glob-matching (issue 49374) # https://bugzilla.redhat.com/beta/show_bug.cgi?id=134362 %defattr(-, root, root) -%if "%unixfilename" != "libreoffice%productversion" && "%unixfilename" != "lodev%productversion" +%if "%unixfilename" != "libreoffice%productversion" && "%unixfilename" != "libreofficedev%productversion" # compat symlinks %attr(0755,root,root) /opt/%unixfilename %endif diff --git a/sysui/desktop/mandriva/mandriva-menus.spec b/sysui/desktop/mandriva/mandriva-menus.spec index 00afc1a27dd1..aff28fd357cb 100755 --- a/sysui/desktop/mandriva/mandriva-menus.spec +++ b/sysui/desktop/mandriva/mandriva-menus.spec @@ -334,7 +334,7 @@ fi %files -%if "%unixfilename" != "libreoffice%productversion" && "%unixfilename" != "lodev%productversion" +%if "%unixfilename" != "libreoffice%productversion" && "%unixfilename" != "libreofficedev%productversion" # compat symlinks %attr(0755,root,root) /opt/%unixfilename %attr(0755,root,root) /usr/bin/libreoffice%productversion diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh index ef9f32a33452..b7cc385b4c13 100755 --- a/sysui/desktop/share/create_tree.sh +++ b/sysui/desktop/share/create_tree.sh @@ -70,7 +70,7 @@ ln -sf "${office_root}/program/soffice" "${DESTDIR}/usr/bin/${PREFIX}" cp printeradmin.sh "${DESTDIR}/usr/bin/${PREFIX}-printeradmin" chmod 0755 "${DESTDIR}/usr/bin/${PREFIX}-printeradmin" -if test "${PREFIX}" != libreoffice${PRODUCTVERSION} -a "${PREFIX}" != lodev${PRODUCTVERSION} ; then +if test "${PREFIX}" != libreoffice${PRODUCTVERSION} -a "${PREFIX}" != libreofficedev${PRODUCTVERSION} ; then # compat symlinks mkdir -p "${DESTDIR}${office_prefix}" ln -sf libreoffice${PRODUCTVERSION} "${DESTDIR}${office_root}" @@ -78,7 +78,7 @@ if test "${PREFIX}" != libreoffice${PRODUCTVERSION} -a "${PREFIX}" != lodev${PRO ln -sf /usr/bin/${PREFIX}-printeradmin "${DESTDIR}/usr/bin/libreoffice${PRODUCTVERSION}-printeradmin" fi -test "${PREFIX}" = lodev${PRODUCTVERSION} && mime_def_file="lodev${PRODUCTVERSION}.xml" || mime_def_file="libreoffice${PRODUCTVERSION}.xml" +test "${PREFIX}" = libreofficedev${PRODUCTVERSION} && mime_def_file="libreofficedev${PRODUCTVERSION}.xml" || mime_def_file="libreoffice${PRODUCTVERSION}.xml" mkdir -p "${DESTDIR}/usr/share/mime/packages" cp openoffice.org.xml "${DESTDIR}/usr/share/mime/packages/$mime_def_file" chmod 0644 "${DESTDIR}/usr/share/mime/packages/$mime_def_file" diff --git a/sysui/desktop/suse/suse-menus.spec b/sysui/desktop/suse/suse-menus.spec index b00e966b290b..ec950e654864 100755 --- a/sysui/desktop/suse/suse-menus.spec +++ b/sysui/desktop/suse/suse-menus.spec @@ -355,7 +355,7 @@ for themedir in /opt/gnome/share/icons/gnome /opt/gnome/share/icons/hicolor /opt done %files -%if "%unixfilename" != "libreoffice%productversion" && "%unixfilename" != "lodev%productversion" +%if "%unixfilename" != "libreoffice%productversion" && "%unixfilename" != "libreofficedev%productversion" # compat symlinks %attr(0755,root,root) /opt/%unixfilename %attr(0755,root,root) /usr/bin/libreoffice%productversion |