5.2.0-0.11.rc1

- needs a minimum version on sqlite build dependency (#1038617)
- fix build when doc macro not defined
This commit is contained in:
Rex Dieter 2013-12-05 10:40:40 -06:00
parent e8b08f3abf
commit fd41587e03

View File

@ -26,7 +26,7 @@
Summary: Qt5 - QtBase components Summary: Qt5 - QtBase components
Name: qt5-qtbase Name: qt5-qtbase
Version: 5.2.0 Version: 5.2.0
Release: 0.10.%{pre}%{?dist} Release: 0.11.%{pre}%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -106,6 +106,8 @@ BuildRequires: pkgconfig(openssl)
%if 0%{?fedora} || 0%{?rhel} > 6 %if 0%{?fedora} || 0%{?rhel} > 6
BuildRequires: pkgconfig(atspi-2) BuildRequires: pkgconfig(atspi-2)
BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(sqlite3) >= 3.7
%define sqlite -system-sqlite
%if 0%{?fedora} > 18 %if 0%{?fedora} > 18
BuildRequires: pkgconfig(harfbuzz) >= 0.9.19 BuildRequires: pkgconfig(harfbuzz) >= 0.9.19
%define harfbuzz -system-harfbuzz %define harfbuzz -system-harfbuzz
@ -119,7 +121,6 @@ BuildRequires: pkgconfig(xkbcommon)
BuildRequires: libicu-devel BuildRequires: libicu-devel
%define pcre -qt-pcre %define pcre -qt-pcre
%endif %endif
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(xcb) pkgconfig(xcb-icccm) pkgconfig(xcb-image) pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil) BuildRequires: pkgconfig(xcb) pkgconfig(xcb-icccm) pkgconfig(xcb-image) pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
BuildRequires: postgresql-devel BuildRequires: postgresql-devel
@ -139,16 +140,16 @@ Requires: pkgconfig(gl)
%description devel %description devel
%{summary}. %{summary}.
%if 0%{?docs}
%package doc %package doc
Summary: API documentation for %{name} Summary: API documentation for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%if 0%{?docs}
# for qhelpgenerator # for qhelpgenerator
BuildRequires: qt5-qttools-devel BuildRequires: qt5-qttools-devel
%endif
BuildArch: noarch BuildArch: noarch
%description doc %description doc
%{summary}. %{summary}.
%endif
%package static %package static
Summary: Static library files for %{name} Summary: Static library files for %{name}
@ -236,7 +237,10 @@ sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 $RPM_LD_FLAGS|" \
# move some bundled libs to ensure they're not accidentally used # move some bundled libs to ensure they're not accidentally used
pushd src/3rdparty pushd src/3rdparty
mkdir UNUSED mkdir UNUSED
mv freetype libjpeg libpng sqlite zlib xcb UNUSED/ mv freetype libjpeg libpng zlib xcb UNUSED/
%if "%{?sqlite}" == "-system-sqlite"
mv sqlite UNUSED/
%endif
popd popd
@ -281,7 +285,7 @@ popd
-system-libjpeg \ -system-libjpeg \
-system-libpng \ -system-libpng \
%{?pcre} \ %{?pcre} \
-system-sqlite \ %{?sqlite} \
-system-zlib -system-zlib
make %{?_smp_mflags} make %{?_smp_mflags}
@ -607,6 +611,10 @@ popd
%changelog %changelog
* Thu Dec 05 2013 Rex Dieter <rdieter@fedoraproject.org> - 5.2.0-0.11.rc1
- needs a minimum version on sqlite build dependency (#1038617)
- fix build when doc macro not defined
* Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1 * Mon Dec 02 2013 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-0.10.rc1
- 5.2.0-rc1 - 5.2.0-rc1
- revert/omit recent egl packaging changes - revert/omit recent egl packaging changes