From 7f65b5ddea0057a66dbe49501755856511f32cf7 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 12 Oct 2016 16:52:43 +0200 Subject: [PATCH] Simplify spec file --- libgee.spec | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/libgee.spec b/libgee.spec index a93f448..63d9af1 100644 --- a/libgee.spec +++ b/libgee.spec @@ -3,17 +3,12 @@ Version: 0.18.1 Release: 1%{?dist} Summary: GObject collection library -Group: System Environment/Libraries License: LGPLv2+ URL: http://live.gnome.org/Libgee -#VCS: git:git://git.gnome.org/libgee Source0: http://download.gnome.org/sources/libgee/0.18/libgee-%{version}.tar.xz BuildRequires: glib2-devel BuildRequires: gobject-introspection-devel -# Bootstrap requirements -BuildRequires: autoconf automake libtool -BuildRequires: vala >= 0.23.2 %description libgee is a collection library providing GObject-based interfaces and @@ -56,7 +51,6 @@ library. It's planned to provide bindings for further languages. %package devel Summary: Development files for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -69,12 +63,7 @@ developing applications that use %{name}. %build -(if ! test -x configure; then - NOCONFIGURE=1 ./autogen.sh; - CONFIGFLAGS=--enable-gtk-doc; - fi; - %configure --disable-static $CONFIGFLAGS -) +%configure --disable-static make %{?_smp_mflags} @@ -83,7 +72,6 @@ make check %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'