Remove uhttpmock-devel from BuildRequires on RHEL 9
This reverts commit87d15532bc
and restores the build conditionals that went missing during the switch to Meson in commit83c9c1be30
. https://bugzilla.redhat.com/show_bug.cgi?id=1904990
This commit is contained in:
parent
2c600f1c17
commit
782b558c92
@ -1,6 +1,6 @@
|
|||||||
Name: libgdata
|
Name: libgdata
|
||||||
Version: 0.17.13
|
Version: 0.17.13
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Library for the GData protocol
|
Summary: Library for the GData protocol
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -13,7 +13,7 @@ BuildRequires: glib2-devel
|
|||||||
BuildRequires: gnome-online-accounts-devel
|
BuildRequires: gnome-online-accounts-devel
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
%if ! 0%{?rhel}
|
||||||
BuildRequires: uhttpmock-devel
|
BuildRequires: uhttpmock-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: json-glib-devel
|
BuildRequires: json-glib-devel
|
||||||
@ -46,6 +46,11 @@ developing applications that use %{name}.
|
|||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
%meson \
|
%meson \
|
||||||
|
%if 0%{?rhel}
|
||||||
|
-Dalways_build_tests=false \
|
||||||
|
%else
|
||||||
|
-Dalways_build_tests=true \
|
||||||
|
%endif
|
||||||
-Dinstalled_tests=false \
|
-Dinstalled_tests=false \
|
||||||
-Dgtk_doc=true \
|
-Dgtk_doc=true \
|
||||||
%{nil}
|
%{nil}
|
||||||
@ -83,6 +88,9 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|||||||
%{_datadir}/vala/
|
%{_datadir}/vala/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 12 2020 Debarshi Ray <rishi@fedoraproject.org> - 0.17.13-2
|
||||||
|
- Remove uhttpmock-devel from BuildRequires on RHEL 9
|
||||||
|
|
||||||
* Thu Sep 03 2020 Kalev Lember <klember@redhat.com> - 0.17.13-1
|
* Thu Sep 03 2020 Kalev Lember <klember@redhat.com> - 0.17.13-1
|
||||||
- Update to 0.17.13
|
- Update to 0.17.13
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user