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