Fix building from non-autogen'ed tarball

This commit is contained in:
Bastien Nocera 2017-01-24 16:27:46 +01:00
parent 73ef849c8c
commit 00f18cc204

View File

@ -8,6 +8,7 @@ License: LGPLv2+
URL: https://github.com/martinpitt/%{name}
Source0: https://github.com/martinpitt/%{name}/archive/%{version}.tar.gz
BuildRequires: autoconf automake libtool
BuildRequires: gtk-doc
BuildRequires: gobject-introspection-devel
BuildRequires: glib2-devel
@ -36,6 +37,7 @@ using %{name}.
%setup -q -n %{name}-%{version}
%build
NOCONFIGURE=1 ./autogen.sh
%configure --disable-static --enable-gtk-doc
make %{?_smp_mflags}