[gcab] trivial: Enable self tests in the reference spec file



commit d6775bb468676ef7e4d8b823a172c30787ca770d
Author: Richard Hughes <richard hughsie com>
Date:   Thu Dec 14 19:29:23 2017 +0000

    trivial: Enable self tests in the reference spec file

 contrib/gcab.spec.in |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/contrib/gcab.spec.in b/contrib/gcab.spec.in
index 866e31c..bc943fe 100644
--- a/contrib/gcab.spec.in
+++ b/contrib/gcab.spec.in
@@ -8,11 +8,13 @@ License:        LGPLv2+
 URL:            http://ftp.gnome.org/pub/GNOME/sources/gcab
 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gcab/%{version}/%{name}-%{version}.tar.xz
 
+BuildRequires:  gettext
+BuildRequires:  gtk-doc
 BuildRequires:  vala-tools
 BuildRequires:  glib2-devel
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  zlib-devel
-BuildRequires: meson
+BuildRequires:  meson
 
 Requires:       libgcab1%{?_isa} = %{version}-%{release}
 
@@ -43,6 +45,9 @@ Libraries, includes, etc. to compile with the gcab library.
 %meson
 %meson_build
 
+%check
+%meson_test
+
 %install
 %meson_install
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]