[libreoffice/f16] use official URL for released version

David Tardon dtardon at fedoraproject.org
Fri Nov 11 10:50:30 UTC 2011


commit 7b2c6094b92c6a286bf5c2eb6c30b70e0b32158a
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Nov 11 11:48:15 2011 +0100

    use official URL for released version

 libreoffice.spec |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index 6641c47..f2aa4b9 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -1,3 +1,4 @@
+%define libo_version 3.4.4
 # rhbz#715152 state vendor
 %if 0%{?rhel}
 %define vendoroption --with-vendor="Red Hat, Inc."
@@ -13,8 +14,8 @@
 %define langpacks 1
 # make it easier to download sources from pre-release site
 # http://dev-builds.libreoffice.org/pre-releases/src
-#%define source_url http://download.documentfoundation.org/libreoffice/src
-%define source_url http://dev-builds.libreoffice.org/pre-releases/src
+#%%define source_url http://dev-builds.libreoffice.org/pre-releases/src
+%define source_url http://download.documentfoundation.org/libreoffice/src/%{libo_version}
 
 %if %{langpacks}
 %define langpack_langs en-US af ar as bg bn ca cs cy da de dz el es et eu fa fi fr ga gl gu he hi hr hu it ja ko kn lt lv mai ml mr nb nl nn nr nso or pa-IN pl pt pt-BR ro ru sh si sk sl sr ss st sv ta te th tn tr ts uk ve xh zh-CN zh-TW zu
@@ -26,7 +27,7 @@
 Summary:        Free Software Productivity Suite
 Name:           libreoffice
 Epoch:          1
-Version:        3.4.4.2
+Version:        %{libo_version}.2
 Release:        1%{?dist}
 License:        LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and (CDDL or GPLv2) and Public Domain
 Group:          Applications/Productivity


More information about the scm-commits mailing list