# Should contain .alphaX / .betaX, if this is pre-release (actually
# Should contain .alphaX / .betaX, if this is pre-release (actually
# pre-RC) version. The pre-release string is part of tarball file names,
# pre-RC) version. The pre-release string is part of tarball file names,
# so we need a way to define it easily at one place.
# so we need a way to define it easily at one place.
%define libo__prerelease beta1
%define libo_prerelease .beta2
%define libo_prerelease .%{?libo__prerelease}
# rhbz#715152 state vendor
# rhbz#715152 state vendor
%if 0%{?rhel}
%if 0%{?rhel}
%define vendoroption --with-vendor="Red Hat, Inc."
%define vendoroption --with-vendor="Red Hat, Inc."
@ -52,7 +51,7 @@ Summary: Free Software Productivity Suite
Name: libreoffice
Name: libreoffice
Epoch: 1
Epoch: 1
Version: %{libo_version}.0
Version: %{libo_version}.0
Release: 4%{?libo_prerelease}%{?dist}
Release: 5%{?libo_prerelease}%{?dist}
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 and CC0
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 and CC0