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
|
Summary: Eye of GNOME image viewer
|
||||||
Name: eog
|
Name: eog
|
||||||
Version: 3.14.2
|
Version: 3.14.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
URL: http://projects.gnome.org/eog/
|
URL: http://projects.gnome.org/eog/
|
||||||
#VCS: git:git://git.gnome.org/eog
|
#VCS: git:git://git.gnome.org/eog
|
||||||
Source: http://download.gnome.org/sources/eog/3.14/%{name}-%{version}.tar.xz
|
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
|
GNOME desktop. This package allows you to develop plugins that add new
|
||||||
functionality to eog.
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --enable-installed-tests
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -114,7 +125,15 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
|||||||
%{_libdir}/pkgconfig/eog.pc
|
%{_libdir}/pkgconfig/eog.pc
|
||||||
%{_datadir}/gtk-doc/
|
%{_datadir}/gtk-doc/
|
||||||
|
|
||||||
|
%files tests
|
||||||
|
%dir %{_libexecdir}/eog
|
||||||
|
%{_libexecdir}/eog/installed-tests/
|
||||||
|
%{_datadir}/installed-tests/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Nov 10 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.2-1
|
||||||
- Update to 3.14.2
|
- Update to 3.14.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user