Disable test suite on non-Fedora

This commit is contained in:
David King 2021-01-19 10:16:22 +00:00
parent abf6c4fae7
commit e3098ab085

View File

@ -2,7 +2,7 @@
Name: gtk-doc Name: gtk-doc
Version: 1.33.1 Version: 1.33.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: API documentation generation tool for GTK+ and GNOME Summary: API documentation generation tool for GTK+ and GNOME
License: GPLv2+ and GFDL License: GPLv2+ and GFDL
@ -25,7 +25,9 @@ BuildRequires: glib2-devel
BuildRequires: meson BuildRequires: meson
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-pygments BuildRequires: python3-pygments
%if 0%{?fedora}
BuildRequires: python3-parameterized BuildRequires: python3-parameterized
%endif
BuildRequires: python3-anytree BuildRequires: python3-anytree
BuildRequires: python3-lxml BuildRequires: python3-lxml
BuildRequires: yelp-tools BuildRequires: yelp-tools
@ -56,8 +58,10 @@ mv doc/README doc/README.docs
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/gtk-doc/ %py_byte_compile %{__python3} %{buildroot}%{_datadir}/gtk-doc/
%if 0%{?fedora}
%check %check
%meson_test %meson_test
%endif
%files %files
%license COPYING COPYING-DOCS %license COPYING COPYING-DOCS
@ -70,6 +74,9 @@ mv doc/README doc/README.docs
%{_libdir}/cmake/ %{_libdir}/cmake/
%changelog %changelog
* Tue Jan 19 2021 David King <amigadave@amigadave.com> - 1.33.1-3
- Disable test suite on non-Fedora
* Mon Jan 18 2021 David King <amigadave@amigadave.com> - 1.33.1-2 * Mon Jan 18 2021 David King <amigadave@amigadave.com> - 1.33.1-2
- Remove unused runtime dependency on python3-parameterized - Remove unused runtime dependency on python3-parameterized
- Update URL (#1905556) - Update URL (#1905556)