Fix RHEL 7 build

This commit is contained in:
Kalev Lember 2016-10-19 10:08:00 +02:00
parent 477eec0fa3
commit 18a6890f9c

View File

@ -1,6 +1,6 @@
Name: libgdata
Version: 0.17.6
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Library for the GData protocol
License: LGPLv2+
@ -23,7 +23,9 @@ BuildRequires: libxml2-devel
BuildRequires: vala-devel
BuildRequires: vala
%if 0%{?fedora}
Obsoletes: compat-libgdata19 < 0.17.1
%endif
%description
libgdata is a GLib-based library for accessing online service APIs using the
@ -44,7 +46,7 @@ developing applications that use %{name}.
%build
%configure \
%if 0%{?rhel}
--disable-tests \
--disable-always-build-tests \
%endif
--disable-silent-rules \
--disable-static
@ -85,6 +87,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_datadir}/vala/
%changelog
* Wed Oct 19 2016 Kalev Lember <klember@redhat.com> - 0.17.6-3
- Fix RHEL 7 build
* Thu Sep 22 2016 Kalev Lember <klember@redhat.com> - 0.17.6-2
- BR vala instead of obsolete vala-tools subpackage