Build installed tests
This commit is contained in:
parent
7c9dea8658
commit
988e862540
23
eog.spec
23
eog.spec
@ -9,7 +9,7 @@
|
||||
Summary: Eye of GNOME image viewer
|
||||
Name: eog
|
||||
Version: 3.14.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
URL: http://projects.gnome.org/eog/
|
||||
#VCS: git:git://git.gnome.org/eog
|
||||
Source: http://download.gnome.org/sources/eog/3.14/%{name}-%{version}.tar.xz
|
||||
@ -64,11 +64,22 @@ 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
|
||||
functionality to eog.
|
||||
|
||||
%package tests
|
||||
Summary: Tests for the %{name} package
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: dogtail
|
||||
Requires: python-behave
|
||||
|
||||
%description tests
|
||||
The %{name}-tests package contains tests that can be used to verify
|
||||
the functionality of the installed %{name} package.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure --enable-installed-tests
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -114,7 +125,15 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
||||
%{_libdir}/pkgconfig/eog.pc
|
||||
%{_datadir}/gtk-doc/
|
||||
|
||||
%files tests
|
||||
%dir %{_libexecdir}/eog
|
||||
%{_libexecdir}/eog/installed-tests/
|
||||
%{_datadir}/installed-tests/
|
||||
|
||||
%changelog
|
||||
* Wed Nov 12 2014 Vadim Rutkovsky <vrutkovs@redhat.com> - 3.14.2-2
|
||||
- Build installed tests
|
||||
|
||||
* Mon Nov 10 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.2-1
|
||||
- Update to 3.14.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user