Disable installed tests on RHEL
We don't have dogtail there.
This commit is contained in:
parent
6e95148114
commit
04aa48023e
17
eog.spec
17
eog.spec
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: eog
|
Name: eog
|
||||||
Version: 40~beta
|
Version: 40~beta
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Eye of GNOME image viewer
|
Summary: Eye of GNOME image viewer
|
||||||
|
|
||||||
# The GFDL has an "or later version" clause embedded inside the license.
|
# The GFDL has an "or later version" clause embedded inside the license.
|
||||||
@ -62,6 +62,7 @@ The Eye of GNOME image viewer (eog) is the official image viewer for the
|
|||||||
GNOME desktop. This package allows you to develop plugins that add new
|
GNOME desktop. This package allows you to develop plugins that add new
|
||||||
functionality to eog.
|
functionality to eog.
|
||||||
|
|
||||||
|
%if !0%{?rhel}
|
||||||
%package tests
|
%package tests
|
||||||
Summary: Tests for the %{name} package
|
Summary: Tests for the %{name} package
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
@ -71,12 +72,19 @@ Requires: python3-dogtail
|
|||||||
%description tests
|
%description tests
|
||||||
The %{name}-tests package contains tests that can be used to verify
|
The %{name}-tests package contains tests that can be used to verify
|
||||||
the functionality of the installed %{name} package.
|
the functionality of the installed %{name} package.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{name}-%{tarball_version}
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson -Dgtk_doc=true -Dinstalled_tests=true \
|
%meson \
|
||||||
|
-Dgtk_doc=true \
|
||||||
|
%if 0%{?rhel}
|
||||||
|
-Dinstalled_tests=false \
|
||||||
|
%else
|
||||||
|
-Dinstalled_tests=true \
|
||||||
|
%endif
|
||||||
%if ! 0%{?flatpak}
|
%if ! 0%{?flatpak}
|
||||||
-Dlibportal=false
|
-Dlibportal=false
|
||||||
%endif
|
%endif
|
||||||
@ -109,12 +117,17 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.eog.deskto
|
|||||||
%{_libdir}/pkgconfig/eog.pc
|
%{_libdir}/pkgconfig/eog.pc
|
||||||
%{_datadir}/gtk-doc/
|
%{_datadir}/gtk-doc/
|
||||||
|
|
||||||
|
%if !0%{?rhel}
|
||||||
%files tests
|
%files tests
|
||||||
%dir %{_libexecdir}/eog
|
%dir %{_libexecdir}/eog
|
||||||
%{_libexecdir}/eog/installed-tests/
|
%{_libexecdir}/eog/installed-tests/
|
||||||
%{_datadir}/installed-tests/
|
%{_datadir}/installed-tests/
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 19 2021 Kalev Lember <klember@redhat.com> - 40~beta-2
|
||||||
|
- Disable installed tests on RHEL
|
||||||
|
|
||||||
* Thu Feb 18 2021 Kalev Lember <klember@redhat.com> - 40~beta-1
|
* Thu Feb 18 2021 Kalev Lember <klember@redhat.com> - 40~beta-1
|
||||||
- Update to 40.beta
|
- Update to 40.beta
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user